Home
last modified time | relevance | path

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

/linux-4.19.296/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
47 ret = svc_create_xprt(serv, "tcp", net, PF_INET, in nfs4_callback_up_net()
55 ret = svc_create_xprt(serv, "tcp", net, PF_INET6, in nfs4_callback_up_net()
105 struct svc_serv *serv = rqstp->rq_server; in nfs41_callback_svc() local
117 prepare_to_wait(&serv->sv_cb_waitq, &wq, TASK_INTERRUPTIBLE); in nfs41_callback_svc()
118 spin_lock_bh(&serv->sv_cb_lock); in nfs41_callback_svc()
119 if (!list_empty(&serv->sv_cb_list)) { in nfs41_callback_svc()
120 req = list_first_entry(&serv->sv_cb_list, in nfs41_callback_svc()
123 spin_unlock_bh(&serv->sv_cb_lock); in nfs41_callback_svc()
[all …]
/linux-4.19.296/fs/lockd/
Dsvc.c189 static int create_lockd_listener(struct svc_serv *serv, const char *name, in create_lockd_listener() argument
195 xprt = svc_find_xprt(serv, name, net, family, 0); in create_lockd_listener()
197 return svc_create_xprt(serv, name, net, family, port, in create_lockd_listener()
203 static int create_lockd_family(struct svc_serv *serv, struct net *net, in create_lockd_family() argument
208 err = create_lockd_listener(serv, "udp", net, family, nlm_udpport); in create_lockd_family()
212 return create_lockd_listener(serv, "tcp", net, family, nlm_tcpport); in create_lockd_family()
225 static int make_socks(struct svc_serv *serv, struct net *net) in make_socks() argument
230 err = create_lockd_family(serv, net, PF_INET); in make_socks()
234 err = create_lockd_family(serv, net, PF_INET6); in make_socks()
245 svc_shutdown_net(serv, net); in make_socks()
[all …]
/linux-4.19.296/include/linux/sunrpc/
Dsvc.h122 static inline void svc_get(struct svc_serv *serv) in svc_get() argument
124 serv->sv_nrthreads++; in svc_get()
472 int svc_rpcb_setup(struct svc_serv *serv, struct net *net);
473 void svc_rpcb_cleanup(struct svc_serv *serv, struct net *net);
474 int svc_bind(struct svc_serv *serv, struct net *net);
477 struct svc_rqst *svc_rqst_alloc(struct svc_serv *serv,
479 struct svc_rqst *svc_prepare_thread(struct svc_serv *serv,
489 int svc_pool_stats_open(struct svc_serv *serv, struct file *file);
500 struct svc_pool * svc_pool_for_cpu(struct svc_serv *serv, int cpu);
Dsvcsock.h59 void svc_sock_update_bufs(struct svc_serv *serv);
61 int svc_addsock(struct svc_serv *serv, const int fd,
65 struct svc_xprt *svc_sock_create(struct svc_serv *serv, int prot);
Dsvc_xprt.h132 struct svc_xprt *svc_find_xprt(struct svc_serv *serv, const char *xcl_name,
135 int svc_xprt_names(struct svc_serv *serv, char *buf, const int buflen);
136 void svc_add_new_perm_xprt(struct svc_serv *serv, struct svc_xprt *xprt);
Dxprt.h151 int (*bc_up)(struct svc_serv *serv, struct net *net);
/linux-4.19.296/include/net/caif/
Dcfctrl.h44 enum cfctrl_srv serv, u8 phyid,
102 struct cfsrvl serv; member
/linux-4.19.296/fs/nfsd/
Dnfssvc.c395 static void nfsd_last_thread(struct svc_serv *serv, struct net *net) in nfsd_last_thread() argument
415 svc_rpcb_cleanup(serv, net); in nfsd_last_thread()