Searched refs:nrservs (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/net/sunrpc/ |
D | svc.c | 708 svc_start_kthreads(struct svc_serv *serv, struct svc_pool *pool, int nrservs) in svc_start_kthreads() argument 717 nrservs--; in svc_start_kthreads() 740 } while (nrservs > 0); in svc_start_kthreads() 748 svc_signal_kthreads(struct svc_serv *serv, struct svc_pool *pool, int nrservs) in svc_signal_kthreads() argument 759 nrservs++; in svc_signal_kthreads() 760 } while (nrservs < 0); in svc_signal_kthreads() 780 svc_set_num_threads(struct svc_serv *serv, struct svc_pool *pool, int nrservs) in svc_set_num_threads() argument 784 nrservs -= (serv->sv_nrthreads-1); in svc_set_num_threads() 787 nrservs -= pool->sp_nrthreads; in svc_set_num_threads() 791 if (nrservs > 0) in svc_set_num_threads() [all …]
|
/kernel/linux/linux-5.10/fs/nfsd/ |
D | nfssvc.c | 315 static int nfsd_startup_generic(int nrservs) in nfsd_startup_generic() argument 381 static int nfsd_startup_net(int nrservs, struct net *net, const struct cred *cred) in nfsd_startup_net() argument 389 ret = nfsd_startup_generic(nrservs); in nfsd_startup_net() 773 nfsd_svc(int nrservs, struct net *net, const struct cred *cred) in nfsd_svc() argument 782 nrservs = max(nrservs, 0); in nfsd_svc() 783 nrservs = min(nrservs, NFSD_MAXSERVS); in nfsd_svc() 786 if (nrservs == 0 && nn->nfsd_serv == NULL) in nfsd_svc() 798 error = nfsd_startup_net(nrservs, net, cred); in nfsd_svc() 802 NULL, nrservs); in nfsd_svc()
|
D | nfsd.h | 79 int nfsd_svc(int nrservs, struct net *net, const struct cred *cred);
|
/kernel/linux/linux-5.10/fs/nfs/ |
D | callback.c | 164 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()
|