Searched refs:sv_pools (Results 1 – 4 of 4) sorted by relevance
377 return serv->sv_pools; in svc_pool_for_cpu()388 return &serv->sv_pools[pidx % serv->sv_nrpools]; in svc_pool_for_cpu()497 serv->sv_pools = in __svc_create()500 if (!serv->sv_pools) { in __svc_create()506 struct svc_pool *pool = &serv->sv_pools[i]; in __svc_create()583 kfree(serv->sv_pools); in svc_destroy()697 return &serv->sv_pools[(*state)++ % serv->sv_nrpools]; in choose_pool()714 pool = &serv->sv_pools[--(*state) % serv->sv_nrpools]; in choose_victim()
580 pool = &serv->sv_pools[0]; in svc_wake_up()1115 pool = &serv->sv_pools[i]; in svc_dequeue_net()1408 return (pidx > serv->sv_nrpools ? NULL : &serv->sv_pools[pidx-1]); in svc_pool_stats_start()1419 pool = &serv->sv_pools[0]; in svc_pool_stats_next()1421 unsigned int pidx = (pool - &serv->sv_pools[0]); in svc_pool_stats_next()1423 pool = &serv->sv_pools[pidx+1]; in svc_pool_stats_next()
697 nthreads[i] = nn->nfsd_serv->sv_pools[i].sp_nrthreads; in nfsd_get_nrthreads()771 &nn->nfsd_serv->sv_pools[i], in nfsd_set_nrthreads()
86 struct svc_pool * sv_pools; /* array of thread pools */ member