Home
last modified time | relevance | path

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

/Linux-v5.15/net/sunrpc/
Dsvc.c714 svc_start_kthreads(struct svc_serv *serv, struct svc_pool *pool, int nrservs) in svc_start_kthreads() argument
723 nrservs--; in svc_start_kthreads()
746 } while (nrservs > 0); in svc_start_kthreads()
754 svc_signal_kthreads(struct svc_serv *serv, struct svc_pool *pool, int nrservs) in svc_signal_kthreads() argument
765 nrservs++; in svc_signal_kthreads()
766 } while (nrservs < 0); in svc_signal_kthreads()
786 svc_set_num_threads(struct svc_serv *serv, struct svc_pool *pool, int nrservs) in svc_set_num_threads() argument
790 nrservs -= (serv->sv_nrthreads-1); in svc_set_num_threads()
793 nrservs -= pool->sp_nrthreads; in svc_set_num_threads()
797 if (nrservs > 0) in svc_set_num_threads()
[all …]
/Linux-v5.15/fs/nfs/
Dcallback.c164 int nrservs = nfs_callback_nr_threads; in nfs_callback_start_svc() local
169 if (nrservs < NFS4_MIN_NR_CALLBACK_THREADS) in nfs_callback_start_svc()
170 nrservs = NFS4_MIN_NR_CALLBACK_THREADS; in nfs_callback_start_svc()
172 if (serv->sv_nrthreads-1 == nrservs) in nfs_callback_start_svc()
175 ret = serv->sv_ops->svo_setup(serv, NULL, nrservs); in nfs_callback_start_svc()
/Linux-v5.15/fs/nfsd/
Dnfssvc.c771 nfsd_svc(int nrservs, struct net *net, const struct cred *cred) in nfsd_svc() argument
780 nrservs = max(nrservs, 0); in nfsd_svc()
781 nrservs = min(nrservs, NFSD_MAXSERVS); in nfsd_svc()
784 if (nrservs == 0 && nn->nfsd_serv == NULL) in nfsd_svc()
800 NULL, nrservs); in nfsd_svc()
Dnfsd.h87 int nfsd_svc(int nrservs, struct net *net, const struct cred *cred);