Home
last modified time | relevance | path

Searched refs:sv_nrpools (Results 1 – 4 of 4) sorted by relevance

/linux/net/sunrpc/
A Dsvc.c358 return &serv->sv_pools[pidx % serv->sv_nrpools]; in svc_pool_for_cpu()
466 serv->sv_nrpools = npools; in __svc_create()
468 kcalloc(serv->sv_nrpools, sizeof(struct svc_pool), in __svc_create()
475 for (i = 0; i < serv->sv_nrpools; i++) { in __svc_create()
668 return &serv->sv_pools[(*state)++ % serv->sv_nrpools]; in choose_pool()
684 for (i = 0; i < serv->sv_nrpools; i++) { in choose_victim()
685 pool = &serv->sv_pools[--(*state) % serv->sv_nrpools]; in choose_victim()
741 if (serv->sv_nrpools > 1) in svc_start_kthreads()
A Dsvc_xprt.c1105 for (i = 0; i < serv->sv_nrpools; i++) { in svc_dequeue_net()
1393 return (pidx > serv->sv_nrpools ? NULL : &serv->sv_pools[pidx-1]); in svc_pool_stats_start()
1407 if (pidx < serv->sv_nrpools-1) in svc_pool_stats_next()
/linux/fs/nfsd/
A Dnfssvc.c684 return nn->nfsd_serv->sv_nrpools; in nfsd_nrpools()
693 for (i = 0; i < nn->nfsd_serv->sv_nrpools && i < n; i++) in nfsd_get_nrthreads()
724 if (n > nn->nfsd_serv->sv_nrpools) in nfsd_set_nrthreads()
725 n = nn->nfsd_serv->sv_nrpools; in nfsd_set_nrthreads()
/linux/include/linux/sunrpc/
A Dsvc.h103 unsigned int sv_nrpools; /* number of thread pools */ member

Completed in 13 milliseconds