/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 140 #define IS_REMOTELCK(fl) (fl->fl_pid <= 0) argument 147 static bool lease_breaking(struct file_lock *fl) in lease_breaking() 152 static int target_leasetype(struct file_lock *fl) in target_leasetype() 250 struct file_lock *fl; in locks_dump_ctx_list() local 278 struct file_lock *fl; in locks_check_ctx_file_list() local 301 static void locks_init_lock_heads(struct file_lock *fl) in locks_init_lock_heads() [all …]
|
D | fcntl.c | 533 struct compat_flock fl; in get_compat_flock() local 543 struct compat_flock64 fl; in get_compat_flock64() local 553 struct compat_flock fl; in put_compat_flock() local 564 struct compat_flock64 fl; in put_compat_flock64() local
|
/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() 156 int nlmclnt_proc(struct nlm_host *host, int cmd, struct file_lock *fl, void *data) in nlmclnt_proc() 426 nlmclnt_test(struct nlm_rqst *req, struct file_lock *fl) in nlmclnt_test() 455 static void nlmclnt_locks_copy_lock(struct file_lock *new, struct file_lock *fl) in nlmclnt_locks_copy_lock() 464 static void nlmclnt_locks_release_private(struct file_lock *fl) in nlmclnt_locks_release_private() 477 static void nlmclnt_locks_init_private(struct file_lock *fl, struct nlm_host *host) in nlmclnt_locks_init_private() 485 static int do_vfs_lock(struct file_lock *fl) in do_vfs_lock() 511 nlmclnt_lock(struct nlm_rqst *req, struct file_lock *fl) in nlmclnt_lock() 618 nlmclnt_reclaim(struct nlm_host *host, struct file_lock *fl, in nlmclnt_reclaim() 659 nlmclnt_unlock(struct nlm_rqst *req, struct file_lock *fl) in nlmclnt_unlock() [all …]
|
D | clntlock.c | 99 struct nlm_wait *nlmclnt_prepare_block(struct nlm_host *host, struct file_lock *fl) in nlmclnt_prepare_block() 165 const struct file_lock *fl = &lock->fl; in nlmclnt_grant() local 233 struct file_lock *fl, *next; in reclaimer() local
|
D | svclock.c | 148 struct file_lock *fl; in nlmsvc_lookup_block() local 638 static int nlmsvc_grant_deferred(struct file_lock *fl, int result) in nlmsvc_grant_deferred() 677 nlmsvc_notify_blocked(struct file_lock *fl) in nlmsvc_notify_blocked() 706 nlmsvc_owner_key(struct file_lock *fl) in nlmsvc_owner_key()
|
D | xdr4.c | 109 struct file_lock *fl = &lock->fl; in nlm4_decode_lock() local 152 struct file_lock *fl = &resp->lock.fl; in nlm4_encode_testres() local
|
D | xdr.c | 117 struct file_lock *fl = &lock->fl; in nlm_decode_lock() local 159 struct file_lock *fl = &resp->lock.fl; in nlm_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 | clnt4xdr.c | 68 const struct file_lock *fl = &lock->fl; in nlm4_compute_offsets() local 272 struct file_lock *fl = &lock->fl; in decode_nlm4_holder() local
|
D | clntxdr.c | 64 const struct file_lock *fl = &lock->fl; in nlm_compute_offsets() local 267 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/nfs/filelayout/ |
D | filelayout.c | 538 struct nfs4_filelayout_segment *fl, in filelayout_check_deviceid() 599 struct nfs4_filelayout_segment *fl, in filelayout_check_layout() 633 static void _filelayout_free_lseg(struct nfs4_filelayout_segment *fl) in _filelayout_free_lseg() 650 struct nfs4_filelayout_segment *fl, in filelayout_decode_layout() 745 struct nfs4_filelayout_segment *fl = FILELAYOUT_LSEG(lseg); in filelayout_free_lseg() local 767 struct nfs4_filelayout_segment *fl = FILELAYOUT_LSEG(lseg); in filelayout_alloc_commit_info() local 824 struct nfs4_filelayout_segment *fl; in filelayout_alloc_lseg() local 893 struct nfs4_filelayout_segment *fl; in fl_pnfs_update_layout() local 989 static u32 select_bucket_index(struct nfs4_filelayout_segment *fl, u32 j) in select_bucket_index() 1004 struct nfs4_filelayout_segment *fl = FILELAYOUT_LSEG(lseg); in filelayout_mark_request_commit() local
|
/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() 256 static int v9fs_file_getlock(struct file *filp, struct file_lock *fl) in v9fs_file_getlock() 321 static int v9fs_file_lock_dotl(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_lock_dotl() 357 struct file_lock *fl) in v9fs_file_flock_dotl()
|
/fs/ceph/ |
D | locks.c | 37 int cmd, u8 wait, struct file_lock *fl) in ceph_lock_message() 180 int ceph_lock(struct file *file, int cmd, struct file_lock *fl) in ceph_lock() 227 int ceph_flock(struct file *file, int cmd, struct file_lock *fl) in ceph_flock()
|
/fs/nfs/ |
D | file.c | 661 do_getlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_getlk() 690 do_unlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_unlk() 726 do_setlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_setlk() 770 int nfs_lock(struct file *filp, int cmd, struct file_lock *fl) in nfs_lock() 809 int nfs_flock(struct file *filp, int cmd, struct file_lock *fl) in nfs_flock()
|
D | proc.c | 641 nfs_proc_lock(struct file *filp, int cmd, struct file_lock *fl) in nfs_proc_lock() 650 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 | 993 static int gfs2_lock(struct file *file, int cmd, struct file_lock *fl) in gfs2_lock() 1022 static int do_flock(struct file *file, int cmd, struct file_lock *fl) in do_flock() 1078 static void do_unflock(struct file *file, struct file_lock *fl) in do_unflock() 1101 static int gfs2_flock(struct file *file, int cmd, struct file_lock *fl) in gfs2_flock()
|
/fs/nfsd/ |
D | flexfilelayout.c | 30 struct pnfs_ff_layout *fl; in nfsd4_ff_proc_layoutget() local
|
D | flexfilelayoutxdr.c | 22 struct pnfs_ff_layout *fl = lgp->lg_content; in nfsd4_ff_encode_layoutget() local
|
D | nfs4layouts.c | 191 struct file_lock *fl; in nfsd4_layout_setlease() local 733 nfsd4_layout_lm_break(struct file_lock *fl) in nfsd4_layout_lm_break()
|
/fs/fuse/ |
D | file.c | 2106 struct file_lock *fl) in convert_fuse_file_lock() 2138 const struct file_lock *fl, int opcode, pid_t pid, in fuse_lk_fill() 2161 static int fuse_getlk(struct file *file, struct file_lock *fl) in fuse_getlk() 2181 static int fuse_setlk(struct file *file, struct file_lock *fl, int flock) in fuse_setlk() 2211 static int fuse_file_lock(struct file *file, int cmd, struct file_lock *fl) in fuse_file_lock() 2234 static int fuse_file_flock(struct file *file, int cmd, struct file_lock *fl) in fuse_file_flock()
|
/fs/orangefs/ |
D | file.c | 719 static int orangefs_lock(struct file *filp, int cmd, struct file_lock *fl) in orangefs_lock()
|