Searched refs:sv_nrpools (Results 1 – 4 of 4) sorted by relevance
356 return &serv->sv_pools[pidx % serv->sv_nrpools]; in svc_pool_for_cpu()464 serv->sv_nrpools = npools; in __svc_create()466 kcalloc(serv->sv_nrpools, sizeof(struct svc_pool), in __svc_create()473 for (i = 0; i < serv->sv_nrpools; i++) { in __svc_create()662 return &serv->sv_pools[(*state)++ % serv->sv_nrpools]; in choose_pool()678 for (i = 0; i < serv->sv_nrpools; i++) { in choose_victim()679 pool = &serv->sv_pools[--(*state) % serv->sv_nrpools]; in choose_victim()735 if (serv->sv_nrpools > 1) in svc_start_kthreads()
1086 for (i = 0; i < serv->sv_nrpools; i++) { in svc_dequeue_net()1373 return (pidx > serv->sv_nrpools ? NULL : &serv->sv_pools[pidx-1]); in svc_pool_stats_start()1387 if (pidx < serv->sv_nrpools-1) in svc_pool_stats_next()
639 return nn->nfsd_serv->sv_nrpools; in nfsd_nrpools()648 for (i = 0; i < nn->nfsd_serv->sv_nrpools && i < n; i++) in nfsd_get_nrthreads()679 if (n > nn->nfsd_serv->sv_nrpools) in nfsd_set_nrthreads()680 n = nn->nfsd_serv->sv_nrpools; in nfsd_set_nrthreads()
102 unsigned int sv_nrpools; /* number of thread pools */ member