Home
last modified time | relevance | path

Searched refs:nlm_file (Results 1 – 7 of 7) sorted by relevance

/linux/fs/lockd/
H A Dsvcsubs.c46 static inline void nlm_debug_print_file(char *msg, struct nlm_file *file) in nlm_debug_print_file()
59 static inline void nlm_debug_print_file(char *msg, struct nlm_file *file) in nlm_debug_print_file()
91 struct nlm_file *file, int mode) in nlm_do_fopen()
147 nlm_lookup_file(struct svc_rqst *rqstp, struct nlm_file **result, in nlm_lookup_file()
150 struct nlm_file *file; in nlm_lookup_file()
205 static void nlm_release_files(struct nlm_file *file) in nlm_release_files()
233 nlm_delete_file(struct nlm_file *file) in nlm_delete_file()
245 static int nlm_unlock_files(struct nlm_file *file, const struct file_lock *fl) in nlm_unlock_files()
274 nlm_traverse_locks(struct nlm_host *host, struct nlm_file *file, in nlm_traverse_locks()
318 nlm_inspect_file(struct nlm_host *host, struct nlm_file *file, nlm_host_match_fn_t match) in nlm_inspect_file()
[all …]
H A Dlockd.h196 struct nlm_file { struct
226 struct nlm_file * b_file; /* file in question */ argument
323 __be32 nlmsvc_lock(struct svc_rqst *, struct nlm_file *,
326 __be32 nlmsvc_unlock(struct net *net, struct nlm_file *, struct lockd_lock *);
327 __be32 nlmsvc_testlock(struct svc_rqst *rqstp, struct nlm_file *file,
330 __be32 nlmsvc_cancel_blocked(struct net *net, struct nlm_file *, struct lockd_lock *);
332 void nlmsvc_traverse_blocks(struct nlm_host *, struct nlm_file *,
342 __be32 nlm_lookup_file(struct svc_rqst *, struct nlm_file **,
344 void nlm_release_file(struct nlm_file *);
351 static inline struct file *nlmsvc_file_file(const struct nlm_file *file) in nlmsvc_file_file()
[all …]
H A Dshare.h25 struct nlm_file * s_file; /* shared file */
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 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 Dsvcproc.c150 struct lockd_lock *lock, struct nlm_file **filp, in nlm3svc_lookup_file()
156 struct nlm_file *file = NULL; in nlm3svc_lookup_file()
270 struct nlm_file *file = NULL; in nlmsvc_proc_test()
324 struct nlm_file *file = NULL; in nlmsvc_do_lock()
422 struct nlm_file *file = NULL; in nlmsvc_proc_cancel()
479 struct nlm_file *file = NULL; in nlmsvc_proc_unlock()
606 struct nlm_file *file = NULL; in __nlmsvc_proc_test_msg()
670 struct nlm_file *file = NULL; in __nlmsvc_proc_lock_msg()
735 struct nlm_file *file = NULL; in __nlmsvc_proc_cancel_msg()
802 struct nlm_file *file = NULL; in __nlmsvc_proc_unlock_msg()
[all …]
H A Dsvc4proc.c145 struct lockd_lock *lock, struct nlm_file **filp, in nlm4svc_lookup_file()
151 struct nlm_file *file = NULL; in nlm4svc_lookup_file()
254 struct nlm_file *file = NULL; in nlm4svc_proc_test()
303 struct nlm_file *file = NULL; in nlm4svc_do_lock()
415 struct nlm_file *file = NULL; in nlm4svc_proc_cancel()
477 struct nlm_file *file = NULL; in nlm4svc_proc_unlock()
596 struct nlm_file *file = NULL; in __nlm4svc_proc_test_msg()
655 struct nlm_file *file = NULL; in __nlm4svc_proc_lock_msg()
718 struct nlm_file *file = NULL; in __nlm4svc_proc_cancel_msg()
781 struct nlm_file *file = NULL; in __nlm4svc_proc_unlock_msg()
[all …]
H A Dsvclock.c111 nlmsvc_lookup_block(struct nlm_file *file, struct lockd_lock *lock) in nlmsvc_lookup_block()
192 struct nlm_file *file, struct lockd_lock *lock, in nlmsvc_create_block()
262 struct nlm_file *file = block->b_file; in nlmsvc_free_block()
287 struct nlm_file *file, in nlmsvc_traverse_blocks()
446 nlmsvc_lock(struct svc_rqst *rqstp, struct nlm_file *file, in nlmsvc_lock()
579 nlmsvc_testlock(struct svc_rqst *rqstp, struct nlm_file *file, in nlmsvc_testlock()
640 nlmsvc_unlock(struct net *net, struct nlm_file *file, struct lockd_lock *lock) in nlmsvc_unlock()
678 nlmsvc_cancel_blocked(struct net *net, struct nlm_file *file, struct lockd_lock *lock) in nlmsvc_cancel_blocked()
818 struct nlm_file *file = block->b_file; in nlmsvc_grant_blocked()