| /fs/ |
| D | locks.c | 136 #define IS_POSIX(fl) (fl->fl_flags & FL_POSIX) argument 137 #define IS_FLOCK(fl) (fl->fl_flags & FL_FLOCK) argument 138 #define IS_LEASE(fl) (fl->fl_flags & (FL_LEASE|FL_DELEG|FL_LAYOUT)) argument 139 #define IS_OFDLCK(fl) (fl->fl_flags & FL_OFDLCK) argument 146 static bool lease_breaking(struct file_lock *fl) in lease_breaking() 151 static int target_leasetype(struct file_lock *fl) in target_leasetype() 249 struct file_lock *fl; in locks_dump_ctx_list() local 284 static void locks_init_lock_heads(struct file_lock *fl) in locks_init_lock_heads() 295 struct file_lock *fl = kmem_cache_zalloc(filelock_cache, GFP_KERNEL); in locks_alloc_lock() local 304 void locks_release_private(struct file_lock *fl) in locks_release_private() [all …]
|
| /fs/afs/ |
| D | flock.c | 83 static void afs_grant_locks(struct afs_vnode *vnode, struct file_lock *fl) in afs_grant_locks() 110 struct file_lock *fl; in afs_lock_work() local 253 static int afs_do_setlk(struct file *file, struct file_lock *fl) in afs_do_setlk() 441 static int afs_do_unlk(struct file *file, struct file_lock *fl) in afs_do_unlk() 476 static int afs_do_getlk(struct file *file, struct file_lock *fl) in afs_do_getlk() 516 int afs_lock(struct file *file, int cmd, struct file_lock *fl) in afs_lock() 539 int afs_flock(struct file *file, int cmd, struct file_lock *fl) in afs_flock() 569 static void afs_fl_copy_lock(struct file_lock *new, struct file_lock *fl) in afs_fl_copy_lock() 580 static void afs_fl_release_private(struct file_lock *fl) in afs_fl_release_private()
|
| /fs/lockd/ |
| D | clntproc.c | 124 static void nlmclnt_setlockargs(struct nlm_rqst *req, struct file_lock *fl) in nlmclnt_setlockargs() 155 int nlmclnt_proc(struct nlm_host *host, int cmd, struct file_lock *fl) in nlmclnt_proc() 416 nlmclnt_test(struct nlm_rqst *req, struct file_lock *fl) in nlmclnt_test() 445 static void nlmclnt_locks_copy_lock(struct file_lock *new, struct file_lock *fl) in nlmclnt_locks_copy_lock() 454 static void nlmclnt_locks_release_private(struct file_lock *fl) in nlmclnt_locks_release_private() 467 static void nlmclnt_locks_init_private(struct file_lock *fl, struct nlm_host *host) in nlmclnt_locks_init_private() 475 static int do_vfs_lock(struct file_lock *fl) in do_vfs_lock() 501 nlmclnt_lock(struct nlm_rqst *req, struct file_lock *fl) in nlmclnt_lock() 608 nlmclnt_reclaim(struct nlm_host *host, struct file_lock *fl, in nlmclnt_reclaim() 649 nlmclnt_unlock(struct nlm_rqst *req, struct file_lock *fl) in nlmclnt_unlock() [all …]
|
| D | clntlock.c | 98 struct nlm_wait *nlmclnt_prepare_block(struct nlm_host *host, struct file_lock *fl) in nlmclnt_prepare_block() 164 const struct file_lock *fl = &lock->fl; in nlmclnt_grant() local 232 struct file_lock *fl, *next; in reclaimer() local
|
| D | svclock.c | 147 struct file_lock *fl; in nlmsvc_lookup_block() local 637 static int nlmsvc_grant_deferred(struct file_lock *fl, int result) in nlmsvc_grant_deferred() 676 nlmsvc_notify_blocked(struct file_lock *fl) in nlmsvc_notify_blocked() 705 nlmsvc_owner_key(struct file_lock *fl) in nlmsvc_owner_key()
|
| D | xdr4.c | 108 struct file_lock *fl = &lock->fl; in nlm4_decode_lock() local 151 struct file_lock *fl = &resp->lock.fl; in nlm4_encode_testres() local
|
| D | svcsubs.c | 166 struct file_lock *fl; in nlm_traverse_locks() local 228 struct file_lock *fl; in nlm_file_inuse() local
|
| D | xdr.c | 116 struct file_lock *fl = &lock->fl; in nlm_decode_lock() local 158 struct file_lock *fl = &resp->lock.fl; in nlm_encode_testres() local
|
| D | clnt4xdr.c | 67 const struct file_lock *fl = &lock->fl; in nlm4_compute_offsets() local 281 struct file_lock *fl = &lock->fl; in decode_nlm4_holder() local
|
| D | clntxdr.c | 63 const struct file_lock *fl = &lock->fl; in nlm_compute_offsets() local 276 struct file_lock *fl = &lock->fl; in decode_nlm_holder() local
|
| /fs/ocfs2/ |
| D | locks.c | 39 int cmd, struct file_lock *fl) in ocfs2_do_flock() 97 static int ocfs2_do_funlock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_do_funlock() 113 int ocfs2_flock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_flock() 133 int ocfs2_lock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_lock()
|
| /fs/dlm/ |
| D | plock.c | 34 void *fl; member 81 struct file *file, struct file_lock *fl) in do_unlock_close() 105 int cmd, struct file_lock *fl) in dlm_posix_lock() 191 struct file_lock *fl; in dlm_plock_callback() local 245 struct file_lock *fl) in dlm_posix_unlock() 319 struct file_lock *fl) in dlm_posix_get()
|
| /fs/9p/ |
| D | vfs_file.c | 131 static int v9fs_file_lock(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_lock() 150 static int v9fs_file_do_lock(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_do_lock() 242 static int v9fs_file_getlock(struct file *filp, struct file_lock *fl) in v9fs_file_getlock() 305 static int v9fs_file_lock_dotl(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_lock_dotl() 341 struct file_lock *fl) in v9fs_file_flock_dotl()
|
| /fs/nfs/filelayout/ |
| D | filelayout.c | 573 struct nfs4_filelayout_segment *fl, in filelayout_check_layout() 641 static void _filelayout_free_lseg(struct nfs4_filelayout_segment *fl) in _filelayout_free_lseg() 658 struct nfs4_filelayout_segment *fl, in filelayout_decode_layout() 754 struct nfs4_filelayout_segment *fl = FILELAYOUT_LSEG(lseg); in filelayout_free_lseg() local 775 struct nfs4_filelayout_segment *fl = FILELAYOUT_LSEG(lseg); in filelayout_alloc_commit_info() local 832 struct nfs4_filelayout_segment *fl; in filelayout_alloc_lseg() local 965 static u32 select_bucket_index(struct nfs4_filelayout_segment *fl, u32 j) in select_bucket_index() 980 struct nfs4_filelayout_segment *fl = FILELAYOUT_LSEG(lseg); in filelayout_mark_request_commit() local
|
| /fs/ceph/ |
| D | locks.c | 36 int cmd, u8 wait, struct file_lock *fl) in ceph_lock_message() 157 int ceph_lock(struct file *file, int cmd, struct file_lock *fl) in ceph_lock() 204 int ceph_flock(struct file *file, int cmd, struct file_lock *fl) in ceph_flock()
|
| /fs/nfs/ |
| D | file.c | 662 do_getlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_getlk() 691 do_unlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_unlk() 727 do_setlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_setlk() 768 int nfs_lock(struct file *filp, int cmd, struct file_lock *fl) in nfs_lock() 807 int nfs_flock(struct file *filp, int cmd, struct file_lock *fl) in nfs_flock()
|
| D | proc.c | 637 nfs_proc_lock(struct file *filp, int cmd, struct file_lock *fl) in nfs_proc_lock() 646 static int nfs_lock_check_bounds(const struct file_lock *fl) in nfs_lock_check_bounds()
|
| /fs/xfs/ |
| D | xfs_quota.h | 134 #define xfs_qm_vop_chown_reserve(tp, ip, u, g, p, fl) (0) argument 135 #define xfs_qm_dqattach(ip, fl) (0) argument 136 #define xfs_qm_dqattach_locked(ip, fl) (0) argument
|
| /fs/gfs2/ |
| D | file.c | 986 static int gfs2_lock(struct file *file, int cmd, struct file_lock *fl) in gfs2_lock() 1015 static int do_flock(struct file *file, int cmd, struct file_lock *fl) in do_flock() 1072 static void do_unflock(struct file *file, struct file_lock *fl) in do_unflock() 1095 static int gfs2_flock(struct file *file, int cmd, struct file_lock *fl) in gfs2_flock()
|
| /fs/nfsd/ |
| D | flexfilelayout.c | 29 struct pnfs_ff_layout *fl; in nfsd4_ff_proc_layoutget() local
|
| D | flexfilelayoutxdr.c | 21 struct pnfs_ff_layout *fl = lgp->lg_content; in nfsd4_ff_encode_layoutget() local
|
| D | nfs4layouts.c | 190 struct file_lock *fl; in nfsd4_layout_setlease() local 730 nfsd4_layout_lm_break(struct file_lock *fl) in nfsd4_layout_lm_break()
|
| /fs/fuse/ |
| D | file.c | 2092 struct file_lock *fl) in convert_fuse_file_lock() 2117 const struct file_lock *fl, int opcode, pid_t pid, in fuse_lk_fill() 2140 static int fuse_getlk(struct file *file, struct file_lock *fl) in fuse_getlk() 2160 static int fuse_setlk(struct file *file, struct file_lock *fl, int flock) in fuse_setlk() 2189 static int fuse_file_lock(struct file *file, int cmd, struct file_lock *fl) in fuse_file_lock() 2212 static int fuse_file_flock(struct file *file, int cmd, struct file_lock *fl) in fuse_file_flock()
|
| /fs/orangefs/ |
| D | file.c | 720 static int orangefs_lock(struct file *filp, int cmd, struct file_lock *fl) in orangefs_lock()
|
| /fs/ext4/ |
| D | move_extent.c | 138 unsigned fl = AOP_FLAG_NOFS; in mext_page_double_lock() local
|