Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/lockd/
Dlockd.h41 struct nlm_host { struct
98 static inline struct sockaddr_in *nlm_addr_in(const struct nlm_host *host) in nlm_addr_in()
103 static inline struct sockaddr *nlm_addr(const struct nlm_host *host) in nlm_addr()
108 static inline struct sockaddr_in *nlm_srcaddr_in(const struct nlm_host *host) in nlm_srcaddr_in()
113 static inline struct sockaddr *nlm_srcaddr(const struct nlm_host *host) in nlm_srcaddr()
125 struct nlm_host *host;
139 struct nlm_host * a_host; /* host handle */
176 struct nlm_host * b_host; /* host handle for RPC clnt */
205 struct nlm_rqst * nlm_alloc_call(struct nlm_host *host);
209 struct nlm_wait * nlmclnt_prepare_block(struct nlm_host *host, struct file_lock *fl);
[all …]
Dshare.h17 struct nlm_host * s_host; /* client host */
24 __be32 nlmsvc_share_file(struct nlm_host *, struct nlm_file *,
26 __be32 nlmsvc_unshare_file(struct nlm_host *, struct nlm_file *,
28 void nlmsvc_traverse_shares(struct nlm_host *, struct nlm_file *,
Dbind.h52 extern struct nlm_host *nlmclnt_init(const struct nlmclnt_initdata *nlm_init);
53 extern void nlmclnt_done(struct nlm_host *host);
55 extern int nlmclnt_proc(struct nlm_host *host, int cmd,
/linux-4.4.14/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.c109 static struct nlm_host *nlm_alloc_host(struct nlm_lookup_host_info *ni, in nlm_alloc_host()
112 struct nlm_host *host = NULL; in nlm_alloc_host()
175 static void nlm_destroy_host_locked(struct nlm_host *host) in nlm_destroy_host_locked()
210 struct nlm_host *nlmclnt_lookup_host(const struct sockaddr *sap, in nlmclnt_lookup_host()
230 struct nlm_host *host; in nlmclnt_lookup_host()
283 void nlmclnt_release_host(struct nlm_host *host) in nlmclnt_release_host()
321 struct nlm_host *nlmsvc_lookup_host(const struct svc_rqst *rqstp, in nlmsvc_lookup_host()
326 struct nlm_host *host = NULL; in nlmsvc_lookup_host()
404 void nlmsvc_release_host(struct nlm_host *host) in nlmsvc_release_host()
419 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()
86 void nlmclnt_done(struct nlm_host *host) in nlmclnt_done()
98 struct nlm_wait *nlmclnt_prepare_block(struct nlm_host *host, struct file_lock *fl) in nlmclnt_prepare_block()
212 nlmclnt_recovery(struct nlm_host *host) in nlmclnt_recovery()
229 struct nlm_host *host = (struct nlm_host *) ptr; in reclaimer()
Dsvc4proc.c23 struct nlm_host **hostp, struct nlm_file **filp) in nlm4svc_retrieve_args()
25 struct nlm_host *host = NULL; in nlm4svc_retrieve_args()
78 struct nlm_host *host; in nlm4svc_proc_test()
105 struct nlm_host *host; in nlm4svc_proc_lock()
147 struct nlm_host *host; in nlm4svc_proc_cancel()
180 struct nlm_host *host; in nlm4svc_proc_unlock()
249 struct nlm_host *host; in nlm4svc_callback()
318 struct nlm_host *host; in nlm4svc_proc_share()
351 struct nlm_host *host; in nlm4svc_proc_unshare()
397 struct nlm_host *host; in nlm4svc_proc_free_all()
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()
155 int nlmclnt_proc(struct nlm_host *host, int cmd, struct file_lock *fl) in nlmclnt_proc()
194 struct nlm_rqst *nlm_alloc_call(struct nlm_host *host) in nlm_alloc_call()
251 struct nlm_host *host = req->a_host; in nlmclnt_call()
329 struct nlm_host *host = req->a_host; in __nlm_async_call()
[all …]
Dsvcproc.c52 struct nlm_host **hostp, struct nlm_file **filp) in nlmsvc_retrieve_args()
54 struct nlm_host *host = NULL; in nlmsvc_retrieve_args()
108 struct nlm_host *host; in nlmsvc_proc_test()
136 struct nlm_host *host; in nlmsvc_proc_lock()
178 struct nlm_host *host; in nlmsvc_proc_cancel()
212 struct nlm_host *host; in nlmsvc_proc_unlock()
290 struct nlm_host *host; in nlmsvc_callback()
361 struct nlm_host *host; in nlmsvc_proc_share()
394 struct nlm_host *host; in nlmsvc_proc_unshare()
440 struct nlm_host *host; in nlmsvc_proc_free_all()
Dsvcshare.c27 nlmsvc_share_file(struct nlm_host *host, struct nlm_file *file, in nlmsvc_share_file()
68 nlmsvc_unshare_file(struct nlm_host *host, struct nlm_file *file, in nlmsvc_unshare_file()
92 void nlmsvc_traverse_shares(struct nlm_host *host, struct nlm_file *file, in nlmsvc_traverse_shares()
Dmon.c90 const struct nlm_host *host) in nsm_mon_unmon()
145 int nsm_monitor(const struct nlm_host *host) in nsm_monitor()
186 void nsm_unmonitor(const struct nlm_host *host) in nsm_unmonitor()
Dsvclock.c215 nlmsvc_create_block(struct svc_rqst *rqstp, struct nlm_host *host, in nlmsvc_create_block()
310 void nlmsvc_traverse_blocks(struct nlm_host *host, in nlmsvc_traverse_blocks()
399 struct nlm_host *host, struct nlm_lock *lock, int wait, in nlmsvc_lock()
506 struct nlm_host *host, struct nlm_lock *lock, in nlmsvc_testlock()
/linux-4.4.14/include/linux/
Dnfs_fs_sb.h15 struct nlm_host;
130 struct nlm_host *nlm_host; /* NLM client handle */ member
/linux-4.4.14/fs/nfs/
Dclient.c518 if (server->nlm_host) in nfs_destroy_server()
519 nlmclnt_done(server->nlm_host); in nfs_destroy_server()
527 struct nlm_host *host; in nfs_start_lockd()
557 server->nlm_host = host; in nfs_start_lockd()
Dproc.c641 return nlmclnt_proc(NFS_SERVER(inode)->nlm_host, cmd, fl); in nfs_proc_lock()
Dnfs3proc.c873 return nlmclnt_proc(NFS_SERVER(inode)->nlm_host, cmd, fl); in nfs3_proc_lock()