Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/sunrpc/
Dsvc.c356 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()
Dsvc_xprt.c1084 for (i = 0; i < serv->sv_nrpools; i++) { in svc_dequeue_net()
1371 return (pidx > serv->sv_nrpools ? NULL : &serv->sv_pools[pidx-1]); in svc_pool_stats_start()
1385 if (pidx < serv->sv_nrpools-1) in svc_pool_stats_next()
/kernel/linux/linux-5.10/fs/nfsd/
Dnfssvc.c686 return nn->nfsd_serv->sv_nrpools; in nfsd_nrpools()
695 for (i = 0; i < nn->nfsd_serv->sv_nrpools && i < n; i++) in nfsd_get_nrthreads()
726 if (n > nn->nfsd_serv->sv_nrpools) in nfsd_set_nrthreads()
727 n = nn->nfsd_serv->sv_nrpools; in nfsd_set_nrthreads()
/kernel/linux/linux-5.10/include/linux/sunrpc/
Dsvc.h102 unsigned int sv_nrpools; /* number of thread pools */ member