/fs/ |
D | locks.c | 177 #define IS_POSIX(fl) (fl->fl_flags & FL_POSIX) argument 178 #define IS_FLOCK(fl) (fl->fl_flags & FL_FLOCK) argument 179 #define IS_LEASE(fl) (fl->fl_flags & (FL_LEASE|FL_DELEG|FL_LAYOUT)) argument 180 #define IS_OFDLCK(fl) (fl->fl_flags & FL_OFDLCK) argument 181 #define IS_REMOTELCK(fl) (fl->fl_pid <= 0) argument 183 static bool lease_breaking(struct file_lock *fl) in lease_breaking() 188 static int target_leasetype(struct file_lock *fl) in target_leasetype() 283 struct file_lock *fl; in locks_dump_ctx_list() local 311 struct file_lock *fl; in locks_check_ctx_file_list() local 334 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/lockd/ |
D | clntproc.c | 126 static void nlmclnt_setlockargs(struct nlm_rqst *req, struct file_lock *fl) in nlmclnt_setlockargs() 158 int nlmclnt_proc(struct nlm_host *host, int cmd, struct file_lock *fl, void *data) in nlmclnt_proc() 428 nlmclnt_test(struct nlm_rqst *req, struct file_lock *fl) in nlmclnt_test() 457 static void nlmclnt_locks_copy_lock(struct file_lock *new, struct file_lock *fl) in nlmclnt_locks_copy_lock() 466 static void nlmclnt_locks_release_private(struct file_lock *fl) in nlmclnt_locks_release_private() 479 static void nlmclnt_locks_init_private(struct file_lock *fl, struct nlm_host *host) in nlmclnt_locks_init_private() 487 static int do_vfs_lock(struct file_lock *fl) in do_vfs_lock() 513 nlmclnt_lock(struct nlm_rqst *req, struct file_lock *fl) in nlmclnt_lock() 620 nlmclnt_reclaim(struct nlm_host *host, struct file_lock *fl, in nlmclnt_reclaim() 661 nlmclnt_unlock(struct nlm_rqst *req, struct file_lock *fl) in nlmclnt_unlock() [all …]
|
D | clntlock.c | 100 struct nlm_wait *nlmclnt_prepare_block(struct nlm_host *host, struct file_lock *fl) in nlmclnt_prepare_block() 166 const struct file_lock *fl = &lock->fl; in nlmclnt_grant() local 234 struct file_lock *fl, *next; in reclaimer() local
|
D | svclock.c | 148 struct file_lock *fl; in nlmsvc_lookup_block() local 398 static void nlmsvc_locks_copy_lock(struct file_lock *new, struct file_lock *fl) in nlmsvc_locks_copy_lock() 404 static void nlmsvc_locks_release_private(struct file_lock *fl) in nlmsvc_locks_release_private() 414 void nlmsvc_locks_init_private(struct file_lock *fl, struct nlm_host *host, in nlmsvc_locks_init_private() 734 static int nlmsvc_grant_deferred(struct file_lock *fl, int result) in nlmsvc_grant_deferred() 773 nlmsvc_notify_blocked(struct file_lock *fl) in nlmsvc_notify_blocked()
|
D | xdr4.c | 109 struct file_lock *fl = &lock->fl; in nlm4_decode_lock() local 150 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 157 struct file_lock *fl = &resp->lock.fl; in nlm_encode_testres() local
|
D | svcsubs.c | 167 struct file_lock *fl; in nlm_traverse_locks() local 229 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 259 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 254 struct file_lock *fl = &lock->fl; in decode_nlm_holder() local
|
/fs/ocfs2/ |
D | locks.c | 25 int cmd, struct file_lock *fl) in ocfs2_do_flock() 83 static int ocfs2_do_funlock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_do_funlock() 99 int ocfs2_flock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_flock() 119 int ocfs2_lock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_lock()
|
/fs/afs/ |
D | flock.c | 463 static int afs_do_setlk(struct file *file, struct file_lock *fl) in afs_do_setlk() 713 static int afs_do_unlk(struct file *file, struct file_lock *fl) in afs_do_unlk() 733 static int afs_do_getlk(struct file *file, struct file_lock *fl) in afs_do_getlk() 775 int afs_lock(struct file *file, int cmd, struct file_lock *fl) in afs_lock() 814 int afs_flock(struct file *file, int cmd, struct file_lock *fl) in afs_flock() 859 static void afs_fl_copy_lock(struct file_lock *new, struct file_lock *fl) in afs_fl_copy_lock() 877 static void afs_fl_release_private(struct file_lock *fl) in afs_fl_release_private()
|
/fs/dlm/ |
D | plock.c | 31 void *fl; member 78 struct file *file, struct file_lock *fl) in do_unlock_close() 102 int cmd, struct file_lock *fl) in dlm_posix_lock() 188 struct file_lock *fl; in dlm_plock_callback() local 242 struct file_lock *fl) in dlm_posix_unlock() 316 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/ceph/ |
D | locks.c | 41 static void ceph_fl_release_lock(struct file_lock *fl) in ceph_fl_release_lock() 64 int cmd, u8 wait, struct file_lock *fl) in ceph_lock_message() 217 int ceph_lock(struct file *file, int cmd, struct file_lock *fl) in ceph_lock() 277 int ceph_flock(struct file *file, int cmd, struct file_lock *fl) in ceph_flock()
|
/fs/9p/ |
D | vfs_file.c | 116 static int v9fs_file_lock(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_lock() 135 static int v9fs_file_do_lock(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_do_lock() 241 static int v9fs_file_getlock(struct file *filp, struct file_lock *fl) in v9fs_file_getlock() 306 static int v9fs_file_lock_dotl(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_lock_dotl() 342 struct file_lock *fl) in v9fs_file_flock_dotl()
|
/fs/nfs/ |
D | file.c | 657 do_getlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_getlk() 686 do_unlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_unlk() 722 do_setlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_setlk() 766 int nfs_lock(struct file *filp, int cmd, struct file_lock *fl) in nfs_lock() 805 int nfs_flock(struct file *filp, int cmd, struct file_lock *fl) in nfs_flock()
|
D | proc.c | 648 nfs_proc_lock(struct file *filp, int cmd, struct file_lock *fl) in nfs_proc_lock() 657 static int nfs_lock_check_bounds(const struct file_lock *fl) in nfs_lock_check_bounds()
|
/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 | 184 struct file_lock *fl; in nfsd4_layout_setlease() local 725 nfsd4_layout_lm_break(struct file_lock *fl) in nfsd4_layout_lm_break()
|
/fs/gfs2/ |
D | file.c | 1194 static int gfs2_lock(struct file *file, int cmd, struct file_lock *fl) in gfs2_lock() 1223 static int do_flock(struct file *file, int cmd, struct file_lock *fl) in do_flock() 1279 static void do_unflock(struct file *file, struct file_lock *fl) in do_unflock() 1302 static int gfs2_flock(struct file *file, int cmd, struct file_lock *fl) in gfs2_flock()
|
/fs/xfs/ |
D | xfs_quota.h | 141 #define xfs_qm_vop_chown_reserve(tp, ip, u, g, p, fl) (0) argument 143 #define xfs_qm_dqattach_locked(ip, fl) (0) argument
|
/fs/orangefs/ |
D | file.c | 602 static int orangefs_lock(struct file *filp, int cmd, struct file_lock *fl) in orangefs_lock()
|
/fs/fuse/ |
D | file.c | 2308 struct file_lock *fl) in convert_fuse_file_lock() 2340 const struct file_lock *fl, int opcode, pid_t pid, in fuse_lk_fill() 2363 static int fuse_getlk(struct file *file, struct file_lock *fl) in fuse_getlk() 2383 static int fuse_setlk(struct file *file, struct file_lock *fl, int flock) in fuse_setlk() 2413 static int fuse_file_lock(struct file *file, int cmd, struct file_lock *fl) in fuse_file_lock() 2436 static int fuse_file_flock(struct file *file, int cmd, struct file_lock *fl) in fuse_file_flock()
|