/linux-6.3-rc2/include/linux/lockd/ |
A D | lockd.h | 43 struct nlm_host { struct 129 struct nlm_host *host; 143 struct nlm_host * a_host; /* host handle */ 220 void nlmclnt_recovery(struct nlm_host *); 236 void nlmclnt_release_host(struct nlm_host *); 240 void nlmsvc_release_host(struct nlm_host *); 241 struct rpc_clnt * nlm_bind_host(struct nlm_host *); 242 void nlm_rebind_host(struct nlm_host *); 243 struct nlm_host * nlm_get_host(struct nlm_host *); 252 int nsm_monitor(const struct nlm_host *host); [all …]
|
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 *,
|
A D | bind.h | 57 extern struct nlm_host *nlmclnt_init(const struct nlmclnt_initdata *nlm_init); 58 extern void nlmclnt_done(struct nlm_host *host); 79 extern int nlmclnt_proc(struct nlm_host *host, int cmd, struct file_lock *fl, void *data);
|
/linux-6.3-rc2/fs/lockd/ |
A D | svcsubs.c | 214 struct nlm_host *lockhost; in nlm_traverse_locks() 243 nlmsvc_always_match(void *dummy1, struct nlm_host *dummy2) in nlmsvc_always_match() 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() 418 struct nlm_host hint; in nlmsvc_mark_resources() 429 nlmsvc_free_host_resources(struct nlm_host *host) in nlmsvc_free_host_resources() [all …]
|
A D | host.c | 114 struct nlm_host *host = NULL; in nlm_alloc_host() 238 struct nlm_host *host; in nlmclnt_lookup_host() 333 struct nlm_host *host = NULL; in nlmsvc_lookup_host() 428 nlm_bind_host(struct nlm_host *host) in nlm_bind_host() 501 nlm_rebind_host(struct nlm_host *host) in nlm_rebind_host() 515 struct nlm_host * nlm_get_host(struct nlm_host *host) in nlm_get_host() 529 struct nlm_host *host; in next_host_state() 560 struct nlm_host *host; in nlm_host_rebooted() 586 struct nlm_host *host; in nlm_complain_hosts() 617 struct nlm_host *host; in nlm_shutdown_hosts_net() [all …]
|
A D | clntlock.c | 38 struct nlm_host * b_host; 54 struct nlm_host *nlmclnt_init(const struct nlmclnt_initdata *nlm_init) in nlmclnt_init() 56 struct nlm_host *host; in nlmclnt_init() 88 void nlmclnt_done(struct nlm_host *host) in nlmclnt_done() 100 struct nlm_wait *nlmclnt_prepare_block(struct nlm_host *host, struct file_lock *fl) in nlmclnt_prepare_block() 214 nlmclnt_recovery(struct nlm_host *host) in nlmclnt_recovery() 231 struct nlm_host *host = (struct nlm_host *) ptr; in reclaimer()
|
A D | clntproc.c | 32 static void nlmclnt_locks_init_private(struct file_lock *fl, struct nlm_host *host); 33 static int nlmclnt_cancel(struct nlm_host *, int , struct file_lock *); 68 static inline int nlm_pidbusy(struct nlm_host *host, uint32_t pid) in nlm_pidbusy() 78 static inline uint32_t __nlm_alloc_pid(struct nlm_host *host) in __nlm_alloc_pid() 159 int nlmclnt_proc(struct nlm_host *host, int cmd, struct file_lock *fl, void *data) in nlmclnt_proc() 203 struct nlm_rqst *nlm_alloc_call(struct nlm_host *host) in nlm_alloc_call() 264 struct nlm_host *host = req->a_host; in nlmclnt_call() 342 struct nlm_host *host = req->a_host; in __nlm_async_call() 517 struct nlm_host *host = req->a_host; in nlmclnt_lock() 621 nlmclnt_reclaim(struct nlm_host *host, struct file_lock *fl, in nlmclnt_reclaim() [all …]
|
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() 97 struct nlm_host *host; in __nlm4svc_proc_test() 133 struct nlm_host *host; in __nlm4svc_proc_lock() 182 struct nlm_host *host; in __nlm4svc_proc_cancel() 222 struct nlm_host *host; in __nlm4svc_proc_unlock() 304 struct nlm_host *host; in nlm4svc_callback() 369 struct nlm_host *host; in nlm4svc_proc_share() 404 struct nlm_host *host; in nlm4svc_proc_unshare() 452 struct nlm_host *host; in nlm4svc_proc_free_all()
|
A D | svcshare.c | 28 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()
|
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() 156 struct nlm_host *host; in __nlmsvc_proc_lock() 205 struct nlm_host *host; in __nlmsvc_proc_cancel() 246 struct nlm_host *host; in __nlmsvc_proc_unlock() 337 struct nlm_host *host; in nlmsvc_callback() 404 struct nlm_host *host; in nlmsvc_proc_share() 439 struct nlm_host *host; in nlmsvc_proc_unshare() 487 struct nlm_host *host; in nlmsvc_proc_free_all()
|
A D | svclock.c | 217 nlmsvc_create_block(struct svc_rqst *rqstp, struct nlm_host *host, in nlmsvc_create_block() 312 void nlmsvc_traverse_blocks(struct nlm_host *host, in nlmsvc_traverse_blocks() 353 static struct nlm_lockowner *__nlmsvc_find_lockowner(struct nlm_host *host, pid_t pid) in __nlmsvc_find_lockowner() 364 static struct nlm_lockowner *nlmsvc_find_lockowner(struct nlm_host *host, pid_t pid) in nlmsvc_find_lockowner() 399 void nlmsvc_locks_init_private(struct file_lock *fl, struct nlm_host *host, in nlmsvc_locks_init_private() 470 struct nlm_host *host, struct nlm_lock *lock, int wait, in nlmsvc_lock() 587 struct nlm_host *host, struct nlm_lock *lock, in nlmsvc_testlock()
|
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-6.3-rc2/include/linux/ |
A D | nfs_fs_sb.h | 17 struct nlm_host; 138 struct nlm_host *nlm_host; /* NLM client handle */ member
|
/linux-6.3-rc2/fs/nfs/ |
A D | client.c | 550 if (server->nlm_host) in nfs_destroy_server() 551 nlmclnt_done(server->nlm_host); in nfs_destroy_server() 559 struct nlm_host *host; in nfs_start_lockd() 593 server->nlm_host = host; in nfs_start_lockd()
|
A D | proc.c | 662 return nlmclnt_proc(NFS_SERVER(inode)->nlm_host, cmd, fl, NULL); in nfs_proc_lock()
|
A D | nfs3proc.c | 973 status = nlmclnt_proc(NFS_SERVER(inode)->nlm_host, cmd, fl, l_ctx); in nfs3_proc_lock()
|