Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/lockd/
Dlockd.h43 struct nlm_host { struct
101 static inline struct sockaddr_in *nlm_addr_in(const struct nlm_host *host) in nlm_addr_in()
106 static inline struct sockaddr *nlm_addr(const struct nlm_host *host) in nlm_addr()
111 static inline struct sockaddr_in *nlm_srcaddr_in(const struct nlm_host *host) in nlm_srcaddr_in()
116 static inline struct sockaddr *nlm_srcaddr(const struct nlm_host *host) in nlm_srcaddr()
128 struct nlm_host *host;
142 struct nlm_host * a_host; /* host handle */
180 struct nlm_host * b_host; /* host handle for RPC clnt */
209 struct nlm_rqst * nlm_alloc_call(struct nlm_host *host);
213 struct nlm_wait * nlmclnt_prepare_block(struct nlm_host *host, struct file_lock *fl);
[all …]
Dshare.h18 struct nlm_host * s_host; /* client host */
25 __be32 nlmsvc_share_file(struct nlm_host *, struct nlm_file *,
27 __be32 nlmsvc_unshare_file(struct nlm_host *, struct nlm_file *,
29 void nlmsvc_traverse_shares(struct nlm_host *, struct nlm_file *,
Dbind.h55 extern struct nlm_host *nlmclnt_init(const struct nlmclnt_initdata *nlm_init);
56 extern void nlmclnt_done(struct nlm_host *host);
77 extern int nlmclnt_proc(struct nlm_host *host, int cmd, struct file_lock *fl, void *data);
/Linux-v4.19/fs/lockd/
Dsvcsubs.c162 nlm_traverse_locks(struct nlm_host *host, struct nlm_file *file, in nlm_traverse_locks()
168 struct nlm_host *lockhost; in nlm_traverse_locks()
182 lockhost = (struct nlm_host *) fl->fl_owner; in nlm_traverse_locks()
204 nlmsvc_always_match(void *dummy1, struct nlm_host *dummy2) in nlmsvc_always_match()
213 nlm_inspect_file(struct nlm_host *host, struct nlm_file *file, nlm_host_match_fn_t match) in nlm_inspect_file()
330 nlmsvc_mark_host(void *data, struct nlm_host *hint) in nlmsvc_mark_host()
332 struct nlm_host *host = data; in nlmsvc_mark_host()
341 nlmsvc_same_host(void *data, struct nlm_host *other) in nlmsvc_same_host()
343 struct nlm_host *host = data; in nlmsvc_same_host()
349 nlmsvc_is_client(void *data, struct nlm_host *dummy) in nlmsvc_is_client()
[all …]
Dhost.c110 static struct nlm_host *nlm_alloc_host(struct nlm_lookup_host_info *ni, in nlm_alloc_host()
113 struct nlm_host *host = NULL; in nlm_alloc_host()
176 static void nlm_destroy_host_locked(struct nlm_host *host) in nlm_destroy_host_locked()
211 struct nlm_host *nlmclnt_lookup_host(const struct sockaddr *sap, in nlmclnt_lookup_host()
231 struct nlm_host *host; in nlmclnt_lookup_host()
284 void nlmclnt_release_host(struct nlm_host *host) in nlmclnt_release_host()
322 struct nlm_host *nlmsvc_lookup_host(const struct svc_rqst *rqstp, in nlmsvc_lookup_host()
327 struct nlm_host *host = NULL; in nlmsvc_lookup_host()
407 void nlmsvc_release_host(struct nlm_host *host) in nlmsvc_release_host()
422 nlm_bind_host(struct nlm_host *host) in nlm_bind_host()
[all …]
Dclntlock.c37 struct nlm_host * b_host;
53 struct nlm_host *nlmclnt_init(const struct nlmclnt_initdata *nlm_init) in nlmclnt_init()
55 struct nlm_host *host; in nlmclnt_init()
87 void nlmclnt_done(struct nlm_host *host) in nlmclnt_done()
99 struct nlm_wait *nlmclnt_prepare_block(struct nlm_host *host, struct file_lock *fl) in nlmclnt_prepare_block()
213 nlmclnt_recovery(struct nlm_host *host) in nlmclnt_recovery()
230 struct nlm_host *host = (struct nlm_host *) ptr; in reclaimer()
Dclntproc.c30 static void nlmclnt_locks_init_private(struct file_lock *fl, struct nlm_host *host);
31 static int nlmclnt_cancel(struct nlm_host *, int , struct file_lock *);
65 static inline int nlm_pidbusy(struct nlm_host *host, uint32_t pid) in nlm_pidbusy()
75 static inline uint32_t __nlm_alloc_pid(struct nlm_host *host) in __nlm_alloc_pid()
84 static struct nlm_lockowner *__nlm_find_lockowner(struct nlm_host *host, fl_owner_t owner) in __nlm_find_lockowner()
95 static struct nlm_lockowner *nlm_find_lockowner(struct nlm_host *host, fl_owner_t owner) in nlm_find_lockowner()
156 int nlmclnt_proc(struct nlm_host *host, int cmd, struct file_lock *fl, void *data) in nlmclnt_proc()
200 struct nlm_rqst *nlm_alloc_call(struct nlm_host *host) in nlm_alloc_call()
261 struct nlm_host *host = req->a_host; in nlmclnt_call()
339 struct nlm_host *host = req->a_host; in __nlm_async_call()
[all …]
Dsvc4proc.c24 struct nlm_host **hostp, struct nlm_file **filp) in nlm4svc_retrieve_args()
26 struct nlm_host *host = NULL; in nlm4svc_retrieve_args()
79 struct nlm_host *host; in __nlm4svc_proc_test()
112 struct nlm_host *host; in __nlm4svc_proc_lock()
160 struct nlm_host *host; in __nlm4svc_proc_cancel()
199 struct nlm_host *host; in __nlm4svc_proc_unlock()
282 struct nlm_host *host; in nlm4svc_callback()
347 struct nlm_host *host; in nlm4svc_proc_share()
381 struct nlm_host *host; in nlm4svc_proc_unshare()
428 struct nlm_host *host; in nlm4svc_proc_free_all()
Dsvcproc.c53 struct nlm_host **hostp, struct nlm_file **filp) in nlmsvc_retrieve_args()
55 struct nlm_host *host = NULL; in nlmsvc_retrieve_args()
109 struct nlm_host *host; in __nlmsvc_proc_test()
143 struct nlm_host *host; in __nlmsvc_proc_lock()
191 struct nlm_host *host; in __nlmsvc_proc_cancel()
231 struct nlm_host *host; in __nlmsvc_proc_unlock()
323 struct nlm_host *host; in nlmsvc_callback()
390 struct nlm_host *host; in nlmsvc_proc_share()
424 struct nlm_host *host; in nlmsvc_proc_unshare()
471 struct nlm_host *host; in nlmsvc_proc_free_all()
Dsvcshare.c28 nlmsvc_share_file(struct nlm_host *host, struct nlm_file *file, in nlmsvc_share_file()
69 nlmsvc_unshare_file(struct nlm_host *host, struct nlm_file *file, in nlmsvc_unshare_file()
93 void nlmsvc_traverse_shares(struct nlm_host *host, struct nlm_file *file, in nlmsvc_traverse_shares()
Dmon.c91 const struct nlm_host *host) in nsm_mon_unmon()
147 int nsm_monitor(const struct nlm_host *host) in nsm_monitor()
188 void nsm_unmonitor(const struct nlm_host *host) in nsm_unmonitor()
Dsvclock.c216 nlmsvc_create_block(struct svc_rqst *rqstp, struct nlm_host *host, in nlmsvc_create_block()
311 void nlmsvc_traverse_blocks(struct nlm_host *host, in nlmsvc_traverse_blocks()
400 struct nlm_host *host, struct nlm_lock *lock, int wait, in nlmsvc_lock()
507 struct nlm_host *host, struct nlm_lock *lock, in nlmsvc_testlock()
/Linux-v4.19/include/linux/
Dnfs_fs_sb.h17 struct nlm_host;
138 struct nlm_host *nlm_host; /* NLM client handle */ member
/Linux-v4.19/fs/nfs/
Dclient.c540 if (server->nlm_host) in nfs_destroy_server()
541 nlmclnt_done(server->nlm_host); in nfs_destroy_server()
549 struct nlm_host *host; in nfs_start_lockd()
580 server->nlm_host = host; in nfs_start_lockd()
Dproc.c649 return nlmclnt_proc(NFS_SERVER(inode)->nlm_host, cmd, fl, NULL); in nfs_proc_lock()
Dnfs3proc.c908 status = nlmclnt_proc(NFS_SERVER(inode)->nlm_host, cmd, fl, l_ctx); in nfs3_proc_lock()