| /linux/include/linux/lockd/ |
| H A D | lockd.h | 44 struct nlm_host { struct 103 static inline struct sockaddr *nlm_addr(const struct nlm_host *host) in nlm_addr() 108 static inline struct sockaddr *nlm_srcaddr(const struct nlm_host *host) in nlm_srcaddr() 120 struct nlm_host *host; 131 struct nlm_host *b_host; 143 struct nlm_host * a_host; /* host handle */ 182 struct nlm_host * b_host; /* host handle for RPC clnt */ 213 struct nlm_rqst * nlm_alloc_call(struct nlm_host *host); 217 void nlmclnt_prepare_block(struct nlm_wait *block, struct nlm_host *host, 224 void nlmclnt_recovery(struct nlm_host *); [all …]
|
| H A D | share.h | 18 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 *,
|
| H A D | bind.h | 58 extern struct nlm_host *nlmclnt_init(const struct nlmclnt_initdata *nlm_init); 59 extern void nlmclnt_done(struct nlm_host *host); 60 extern struct rpc_clnt *nlmclnt_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/lockd/ |
| H A D | host.c | 111 static struct nlm_host *nlm_alloc_host(struct nlm_lookup_host_info *ni, in nlm_alloc_host() 114 struct nlm_host *host = NULL; in nlm_alloc_host() 177 static void nlm_destroy_host_locked(struct nlm_host *host) in nlm_destroy_host_locked() 215 struct nlm_host *nlmclnt_lookup_host(const struct sockaddr *sap, in nlmclnt_lookup_host() 237 struct nlm_host *host; in nlmclnt_lookup_host() 290 void nlmclnt_release_host(struct nlm_host *host) in nlmclnt_release_host() 327 struct nlm_host *nlmsvc_lookup_host(const struct svc_rqst *rqstp, in nlmsvc_lookup_host() 332 struct nlm_host *host = NULL; in nlmsvc_lookup_host() 412 void nlmsvc_release_host(struct nlm_host *host) in nlmsvc_release_host() 427 nlm_bind_host(struct nlm_host *host) in nlm_bind_host() [all …]
|
| H A D | svcsubs.c | 208 nlm_traverse_locks(struct nlm_host *host, struct nlm_file *file, in nlm_traverse_locks() 214 struct nlm_host *lockhost; in nlm_traverse_locks() 243 nlmsvc_always_match(void *dummy1, struct nlm_host *dummy2) in nlmsvc_always_match() 252 nlm_inspect_file(struct nlm_host *host, struct nlm_file *file, nlm_host_match_fn_t match) in nlm_inspect_file() 377 nlmsvc_mark_host(void *data, struct nlm_host *hint) in nlmsvc_mark_host() 379 struct nlm_host *host = data; in nlmsvc_mark_host() 388 nlmsvc_same_host(void *data, struct nlm_host *other) in nlmsvc_same_host() 390 struct nlm_host *host = data; in nlmsvc_same_host() 396 nlmsvc_is_client(void *data, struct nlm_host *dummy) in nlmsvc_is_client() 398 struct nlm_host *host = data; in nlmsvc_is_client() [all …]
|
| H A D | clntlock.c | 45 struct nlm_host *nlmclnt_init(const struct nlmclnt_initdata *nlm_init) in nlmclnt_init() 47 struct nlm_host *host; in nlmclnt_init() 79 void nlmclnt_done(struct nlm_host *host) in nlmclnt_done() 88 void nlmclnt_prepare_block(struct nlm_wait *block, struct nlm_host *host, struct file_lock *fl) in nlmclnt_prepare_block() 96 struct rpc_clnt *nlmclnt_rpc_clnt(struct nlm_host *host) in nlmclnt_rpc_clnt() 212 nlmclnt_recovery(struct nlm_host *host) in nlmclnt_recovery() 229 struct nlm_host *host = (struct nlm_host *) ptr; in reclaimer()
|
| H A D | clntproc.c | 34 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 D | svc4proc.c | 24 struct nlm_host **hostp, struct nlm_file **filp) in nlm4svc_retrieve_args() 26 struct nlm_host *host = NULL; in nlm4svc_retrieve_args() 98 struct nlm_host *host; in __nlm4svc_proc_test() 133 struct nlm_host *host; in __nlm4svc_proc_lock() 170 struct nlm_host *host; in __nlm4svc_proc_cancel() 210 struct nlm_host *host; in __nlm4svc_proc_unlock() 292 struct nlm_host *host; in nlm4svc_callback() 357 struct nlm_host *host; in nlm4svc_proc_share() 392 struct nlm_host *host; in nlm4svc_proc_unshare() 440 struct nlm_host *host; in nlm4svc_proc_free_all()
|
| H A D | svcproc.c | 53 struct nlm_host **hostp, struct nlm_file **filp) in nlmsvc_retrieve_args() 55 struct nlm_host *host = NULL; in nlmsvc_retrieve_args() 118 struct nlm_host *host; in __nlmsvc_proc_test() 154 struct nlm_host *host; in __nlmsvc_proc_lock() 191 struct nlm_host *host; in __nlmsvc_proc_cancel() 232 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() 425 struct nlm_host *host; in nlmsvc_proc_unshare() 473 struct nlm_host *host; in nlmsvc_proc_free_all()
|
| H A D | svcshare.c | 28 nlmsvc_share_file(struct nlm_host *host, struct nlm_file *file, in nlmsvc_share_file() 72 nlmsvc_unshare_file(struct nlm_host *host, struct nlm_file *file, in nlmsvc_unshare_file() 99 void nlmsvc_traverse_shares(struct nlm_host *host, struct nlm_file *file, in nlmsvc_traverse_shares()
|
| H A D | svclock.c | 224 nlmsvc_create_block(struct svc_rqst *rqstp, struct nlm_host *host, in nlmsvc_create_block() 319 void nlmsvc_traverse_blocks(struct nlm_host *host, in nlmsvc_traverse_blocks() 363 static struct nlm_lockowner *__nlmsvc_find_lockowner(struct nlm_host *host, pid_t pid) in __nlmsvc_find_lockowner() 374 static struct nlm_lockowner *nlmsvc_find_lockowner(struct nlm_host *host, pid_t pid) in nlmsvc_find_lockowner() 409 void nlmsvc_locks_init_private(struct file_lock *fl, struct nlm_host *host, in nlmsvc_locks_init_private() 480 struct nlm_host *host, struct nlm_lock *lock, int wait, in nlmsvc_lock() 613 struct nlm_host *host, struct nlm_lock *lock, in nlmsvc_testlock()
|
| H A D | mon.c | 92 const struct nlm_host *host) in nsm_mon_unmon() 148 int nsm_monitor(const struct nlm_host *host) in nsm_monitor() 189 void nsm_unmonitor(const struct nlm_host *host) in nsm_unmonitor()
|
| /linux/fs/nfs/ |
| H A D | sysfs.c | 287 if (server->nlm_host) in shutdown_store() 288 shutdown_client(server->nlm_host->h_rpcclnt); in shutdown_store()
|
| H A D | client.c | 582 if (server->nlm_host) in nfs_destroy_server() 583 nlmclnt_done(server->nlm_host); in nfs_destroy_server() 591 struct nlm_host *host; in nfs_start_lockd() 625 server->nlm_host = host; in nfs_start_lockd()
|
| H A D | proc.c | 668 return nlmclnt_proc(NFS_SERVER(inode)->nlm_host, cmd, fl, NULL); in nfs_proc_lock()
|
| H A D | nfs3proc.c | 1022 status = nlmclnt_proc(NFS_SERVER(inode)->nlm_host, cmd, fl, l_ctx); in nfs3_proc_lock()
|