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()589 struct svc_pool *pool = &serv->sv_pools[i]; in svc_destroy()595 kfree(serv->sv_pools); in svc_destroy()725 return pool ? pool : &serv->sv_pools[(*state)++ % serv->sv_nrpools]; in svc_pool_next()738 pool = &serv->sv_pools[--(*state) % serv->sv_nrpools]; in svc_pool_victim()
582 struct svc_pool *pool = &serv->sv_pools[0]; in svc_wake_up()1093 pool = &serv->sv_pools[i]; in svc_dequeue_net()1388 return (pidx > serv->sv_nrpools ? NULL : &serv->sv_pools[pidx-1]); in svc_pool_stats_start()1399 pool = &serv->sv_pools[0]; in svc_pool_stats_next()1401 unsigned int pidx = (pool - &serv->sv_pools[0]); in svc_pool_stats_next()1403 pool = &serv->sv_pools[pidx+1]; in svc_pool_stats_next()
87 struct svc_pool * sv_pools; /* array of thread pools */ member
721 nthreads[i] = nn->nfsd_serv->sv_pools[i].sp_nrthreads; in nfsd_get_nrthreads()772 &nn->nfsd_serv->sv_pools[i], in nfsd_set_nrthreads()