Searched refs:sv_nrpools (Results 1 – 4 of 4) sorted by relevance
376 if (serv->sv_nrpools <= 1) in svc_pool_for_cpu()388 return &serv->sv_pools[pidx % serv->sv_nrpools]; in svc_pool_for_cpu()496 serv->sv_nrpools = npools; in __svc_create()498 kcalloc(serv->sv_nrpools, sizeof(struct svc_pool), in __svc_create()505 for (i = 0; i < serv->sv_nrpools; i++) { in __svc_create()581 svc_pool_map_put(serv->sv_nrpools); in svc_destroy()697 return &serv->sv_pools[(*state)++ % serv->sv_nrpools]; in choose_pool()713 for (i = 0; i < serv->sv_nrpools; i++) { in choose_victim()714 pool = &serv->sv_pools[--(*state) % serv->sv_nrpools]; in choose_victim()768 if (serv->sv_nrpools > 1) in svc_start_kthreads()
1114 for (i = 0; i < serv->sv_nrpools; i++) { in svc_dequeue_net()1408 return (pidx > serv->sv_nrpools ? NULL : &serv->sv_pools[pidx-1]); in svc_pool_stats_start()1422 if (pidx < serv->sv_nrpools-1) in svc_pool_stats_next()
687 return nn->nfsd_serv->sv_nrpools; in nfsd_nrpools()696 for (i = 0; i < nn->nfsd_serv->sv_nrpools && i < n; i++) in nfsd_get_nrthreads()738 if (n > nn->nfsd_serv->sv_nrpools) in nfsd_set_nrthreads()739 n = nn->nfsd_serv->sv_nrpools; in nfsd_set_nrthreads()
85 unsigned int sv_nrpools; /* number of thread pools */ member