Home
last modified time | relevance | path

Searched refs:nlm_host (Results 1 – 11 of 11) sorted by relevance

/linux/fs/lockd/
H A Dlockd.h82 struct nlm_host { struct
141 static inline struct sockaddr *nlm_addr(const struct nlm_host *host) in nlm_addr()
146 static inline struct sockaddr *nlm_srcaddr(const struct nlm_host *host) in nlm_srcaddr()
158 struct nlm_host *host;
169 struct nlm_host *b_host;
181 struct nlm_host * a_host; /* host handle */
222 struct nlm_host * b_host; /* host handle for RPC clnt */
254 struct nlm_rqst * nlm_alloc_call(struct nlm_host *host);
258 void nlmclnt_prepare_block(struct nlm_wait *block, struct nlm_host *host,
265 void nlmclnt_recovery(struct nlm_host *);
[all …]
H A Dsvcsubs.c274 nlm_traverse_locks(struct nlm_host *host, struct nlm_file *file, in nlm_traverse_locks()
280 struct nlm_host *lockhost; in nlm_traverse_locks()
309 nlmsvc_always_match(void *dummy1, struct nlm_host *dummy2) in nlmsvc_always_match()
318 nlm_inspect_file(struct nlm_host *host, struct nlm_file *file, nlm_host_match_fn_t match) in nlm_inspect_file()
450 nlmsvc_mark_host(void *data, struct nlm_host *hint) in nlmsvc_mark_host()
452 struct nlm_host *host = data; in nlmsvc_mark_host()
461 nlmsvc_same_host(void *data, struct nlm_host *other) in nlmsvc_same_host()
463 struct nlm_host *host = data; in nlmsvc_same_host()
469 nlmsvc_is_client(void *data, struct nlm_host *dummy) in nlmsvc_is_client()
471 struct nlm_host *host = data; in nlmsvc_is_client()
[all …]
H A Dshare.h24 struct nlm_host * s_host; /* client host */
32 __be32 nlmsvc_share_file(struct nlm_host *host, struct nlm_file *file,
34 __be32 nlmsvc_unshare_file(struct nlm_host *host, struct nlm_file *file,
36 void nlmsvc_traverse_shares(struct nlm_host *, struct nlm_file *,
H A Dclntproc.c34 static void nlmclnt_locks_init_private(struct file_lock *fl, struct nlm_host *host);
35 static int nlmclnt_cancel(struct nlm_host *, int , struct file_lock *);
70 static inline int nlm_pidbusy(struct nlm_host *host, uint32_t pid) in nlm_pidbusy()
80 static inline uint32_t __nlm_alloc_pid(struct nlm_host *host) in __nlm_alloc_pid()
89 static struct nlm_lockowner *__nlmclnt_find_lockowner(struct nlm_host *host, fl_owner_t owner) in __nlmclnt_find_lockowner()
100 static struct nlm_lockowner *nlmclnt_find_lockowner(struct nlm_host *host, fl_owner_t owner) in nlmclnt_find_lockowner()
162 int nlmclnt_proc(struct nlm_host *host, int cmd, struct file_lock *fl, void *data) in nlmclnt_proc()
206 struct nlm_rqst *nlm_alloc_call(struct nlm_host *host) in nlm_alloc_call()
267 struct nlm_host *host = req->a_host; in nlmclnt_call()
345 struct nlm_host *host = req->a_host; in __nlm_async_call()
[all …]
H A Dsvcproc.c131 static struct nlm_host *
134 struct nlm_host *host; in nlm3svc_lookup_host()
149 nlm3svc_lookup_file(struct svc_rqst *rqstp, struct nlm_host *host, in nlm3svc_lookup_file()
271 struct nlm_host *host; in nlmsvc_proc_test()
325 struct nlm_host *host = NULL; in nlmsvc_do_lock()
421 struct nlm_host *host = NULL; in nlmsvc_proc_cancel()
478 struct nlm_host *host = NULL; in nlmsvc_proc_unlock()
577 nlmsvc_callback(struct svc_rqst *rqstp, struct nlm_host *host, u32 proc, in nlmsvc_callback()
607 struct nlm_host *host = NULL; in __nlmsvc_proc_test_msg()
652 struct nlm_host *host; in nlmsvc_proc_test_msg()
[all …]
H A Dsvc4proc.c126 static struct nlm_host *
129 struct nlm_host *host; in nlm4svc_lookup_host()
144 nlm4svc_lookup_file(struct svc_rqst *rqstp, struct nlm_host *host, in nlm4svc_lookup_file()
255 struct nlm_host *host; in nlm4svc_proc_test()
304 struct nlm_host *host = NULL; in nlm4svc_do_lock()
414 struct nlm_host *host = NULL; in nlm4svc_proc_cancel()
476 struct nlm_host *host = NULL; in nlm4svc_proc_unlock()
567 nlm4svc_callback(struct svc_rqst *rqstp, struct nlm_host *host, u32 proc, in nlm4svc_callback()
597 struct nlm_host *host = NULL; in __nlm4svc_proc_test_msg()
640 struct nlm_host *host; in nlm4svc_proc_test_msg()
[all …]
H A Dsvcshare.c58 nlmsvc_share_file(struct nlm_host *host, struct nlm_file *file, in nlmsvc_share_file()
107 nlmsvc_unshare_file(struct nlm_host *host, struct nlm_file *file, in nlmsvc_unshare_file()
137 void nlmsvc_traverse_shares(struct nlm_host *host, struct nlm_file *file, in nlmsvc_traverse_shares()
H A Dsvclock.c191 nlmsvc_create_block(struct svc_rqst *rqstp, struct nlm_host *host, in nlmsvc_create_block()
286 void nlmsvc_traverse_blocks(struct nlm_host *host, in nlmsvc_traverse_blocks()
330 static struct nlm_lockowner *__nlmsvc_find_lockowner(struct nlm_host *host, pid_t pid) in __nlmsvc_find_lockowner()
341 static struct nlm_lockowner *nlmsvc_find_lockowner(struct nlm_host *host, pid_t pid) in nlmsvc_find_lockowner()
376 void nlmsvc_locks_init_private(struct file_lock *fl, struct nlm_host *host, in nlmsvc_locks_init_private()
447 struct nlm_host *host, struct lockd_lock *lock, int wait, in nlmsvc_lock()
580 struct nlm_host *host, struct lockd_lock *lock, in nlmsvc_testlock()
/linux/include/linux/lockd/
H A Dbind.h57 extern struct nlm_host *nlmclnt_init(const struct nlmclnt_initdata *nlm_init);
58 extern void nlmclnt_done(struct nlm_host *host);
59 extern struct rpc_clnt *nlmclnt_rpc_clnt(struct nlm_host *host);
60 extern void nlmclnt_shutdown_rpc_clnt(struct nlm_host *host);
81 extern int nlmclnt_proc(struct nlm_host *host, int cmd, struct file_lock *fl, void *data);
/linux/fs/nfs/
H A Dsysfs.c290 if (server->nlm_host) in shutdown_store()
291 nlmclnt_shutdown_rpc_clnt(server->nlm_host); in shutdown_store()
H A Dclient.c594 if (server->nlm_host) in nfs_destroy_server()
595 nlmclnt_done(server->nlm_host); in nfs_destroy_server()
603 struct nlm_host *host; in nfs_start_lockd()
637 server->nlm_host = host; in nfs_start_lockd()