nrservs           164 fs/nfs/callback.c 	int nrservs = nfs_callback_nr_threads;
nrservs           169 fs/nfs/callback.c 	if (nrservs < NFS4_MIN_NR_CALLBACK_THREADS)
nrservs           170 fs/nfs/callback.c 		nrservs = NFS4_MIN_NR_CALLBACK_THREADS;
nrservs           172 fs/nfs/callback.c 	if (serv->sv_nrthreads-1 == nrservs)
nrservs           175 fs/nfs/callback.c 	ret = serv->sv_ops->svo_setup(serv, NULL, nrservs);
nrservs            78 fs/nfsd/nfsd.h int		nfsd_svc(int nrservs, struct net *net, const struct cred *cred);
nrservs           309 fs/nfsd/nfssvc.c static int nfsd_startup_generic(int nrservs)
nrservs           375 fs/nfsd/nfssvc.c static int nfsd_startup_net(int nrservs, struct net *net, const struct cred *cred)
nrservs           383 fs/nfsd/nfssvc.c 	ret = nfsd_startup_generic(nrservs);
nrservs           725 fs/nfsd/nfssvc.c nfsd_svc(int nrservs, struct net *net, const struct cred *cred)
nrservs           734 fs/nfsd/nfssvc.c 	nrservs = max(nrservs, 0);
nrservs           735 fs/nfsd/nfssvc.c 	nrservs = min(nrservs, NFSD_MAXSERVS);
nrservs           738 fs/nfsd/nfssvc.c 	if (nrservs == 0 && nn->nfsd_serv == NULL)
nrservs           747 fs/nfsd/nfssvc.c 	error = nfsd_startup_net(nrservs, net, cred);
nrservs           751 fs/nfsd/nfssvc.c 			NULL, nrservs);
nrservs           708 net/sunrpc/svc.c svc_start_kthreads(struct svc_serv *serv, struct svc_pool *pool, int nrservs)
nrservs           717 net/sunrpc/svc.c 		nrservs--;
nrservs           740 net/sunrpc/svc.c 	} while (nrservs > 0);
nrservs           748 net/sunrpc/svc.c svc_signal_kthreads(struct svc_serv *serv, struct svc_pool *pool, int nrservs)
nrservs           759 net/sunrpc/svc.c 		nrservs++;
nrservs           760 net/sunrpc/svc.c 	} while (nrservs < 0);
nrservs           780 net/sunrpc/svc.c svc_set_num_threads(struct svc_serv *serv, struct svc_pool *pool, int nrservs)
nrservs           784 net/sunrpc/svc.c 		nrservs -= (serv->sv_nrthreads-1);
nrservs           787 net/sunrpc/svc.c 		nrservs -= pool->sp_nrthreads;
nrservs           791 net/sunrpc/svc.c 	if (nrservs > 0)
nrservs           792 net/sunrpc/svc.c 		return svc_start_kthreads(serv, pool, nrservs);
nrservs           793 net/sunrpc/svc.c 	if (nrservs < 0)
nrservs           794 net/sunrpc/svc.c 		return svc_signal_kthreads(serv, pool, nrservs);
nrservs           801 net/sunrpc/svc.c svc_stop_kthreads(struct svc_serv *serv, struct svc_pool *pool, int nrservs)
nrservs           812 net/sunrpc/svc.c 		nrservs++;
nrservs           813 net/sunrpc/svc.c 	} while (nrservs < 0);
nrservs           818 net/sunrpc/svc.c svc_set_num_threads_sync(struct svc_serv *serv, struct svc_pool *pool, int nrservs)
nrservs           822 net/sunrpc/svc.c 		nrservs -= (serv->sv_nrthreads-1);
nrservs           825 net/sunrpc/svc.c 		nrservs -= pool->sp_nrthreads;
nrservs           829 net/sunrpc/svc.c 	if (nrservs > 0)
nrservs           830 net/sunrpc/svc.c 		return svc_start_kthreads(serv, pool, nrservs);
nrservs           831 net/sunrpc/svc.c 	if (nrservs < 0)
nrservs           832 net/sunrpc/svc.c 		return svc_stop_kthreads(serv, pool, nrservs);