Home
last modified time | relevance | path

Searched refs:serv (Results 1 – 3 of 3) sorted by relevance

/fs/nfs/
Dcallback.c35 struct svc_serv *serv; member
42 static int nfs4_callback_up_net(struct svc_serv *serv, struct net *net) in nfs4_callback_up_net() argument
48 ret = svc_create_xprt(serv, "tcp", net, PF_INET, in nfs4_callback_up_net()
57 ret = svc_create_xprt(serv, "tcp", net, PF_INET6, in nfs4_callback_up_net()
108 struct svc_serv *serv = rqstp->rq_server; in nfs41_callback_svc() local
120 prepare_to_wait(&serv->sv_cb_waitq, &wq, TASK_INTERRUPTIBLE); in nfs41_callback_svc()
121 spin_lock_bh(&serv->sv_cb_lock); in nfs41_callback_svc()
122 if (!list_empty(&serv->sv_cb_list)) { in nfs41_callback_svc()
123 req = list_first_entry(&serv->sv_cb_list, in nfs41_callback_svc()
126 spin_unlock_bh(&serv->sv_cb_lock); in nfs41_callback_svc()
[all …]
/fs/lockd/
Dsvc.c190 static int create_lockd_listener(struct svc_serv *serv, const char *name, in create_lockd_listener() argument
197 xprt = svc_find_xprt(serv, name, net, family, 0); in create_lockd_listener()
199 return svc_create_xprt(serv, name, net, family, port, in create_lockd_listener()
205 static int create_lockd_family(struct svc_serv *serv, struct net *net, in create_lockd_family() argument
210 err = create_lockd_listener(serv, "udp", net, family, nlm_udpport, in create_lockd_family()
215 return create_lockd_listener(serv, "tcp", net, family, nlm_tcpport, in create_lockd_family()
229 static int make_socks(struct svc_serv *serv, struct net *net, in make_socks() argument
235 err = create_lockd_family(serv, net, PF_INET, cred); in make_socks()
239 err = create_lockd_family(serv, net, PF_INET6, cred); in make_socks()
250 svc_shutdown_net(serv, net); in make_socks()
[all …]
/fs/nfsd/
Dnfssvc.c505 static void nfsd_last_thread(struct svc_serv *serv, struct net *net) in nfsd_last_thread() argument
525 svc_rpcb_cleanup(serv, net); in nfsd_last_thread()
616 struct svc_serv *serv; in nfsd_shutdown_threads() local
619 serv = nn->nfsd_serv; in nfsd_shutdown_threads()
620 if (serv == NULL) { in nfsd_shutdown_threads()
625 svc_get(serv); in nfsd_shutdown_threads()
627 serv->sv_ops->svo_setup(serv, NULL, 0); in nfsd_shutdown_threads()