Home
last modified time | relevance | path

Searched defs:fl (Results 1 – 25 of 42) sorted by relevance

12

/fs/
Dlocks.c177 #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 …]
Dfcntl.c541 struct compat_flock fl; in get_compat_flock() local
551 struct compat_flock64 fl; in get_compat_flock64() local
561 struct compat_flock fl; in put_compat_flock() local
572 struct compat_flock64 fl; in put_compat_flock64() local
/fs/lockd/
Dclntproc.c126 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 …]
Dclntlock.c100 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
Dsvclock.c148 struct file_lock *fl; in nlmsvc_lookup_block() local
398 void nlmsvc_locks_init_private(struct file_lock *fl, struct nlm_host *host, in nlmsvc_locks_init_private()
716 static int nlmsvc_grant_deferred(struct file_lock *fl, int result) in nlmsvc_grant_deferred()
755 nlmsvc_notify_blocked(struct file_lock *fl) in nlmsvc_notify_blocked()
Dxdr4.c109 struct file_lock *fl = &lock->fl; in nlm4_decode_lock() local
150 struct file_lock *fl = &resp->lock.fl; in nlm4_encode_testres() local
Dxdr.c117 struct file_lock *fl = &lock->fl; in nlm_decode_lock() local
157 struct file_lock *fl = &resp->lock.fl; in nlm_encode_testres() local
Dsvcsubs.c167 struct file_lock *fl; in nlm_traverse_locks() local
229 struct file_lock *fl; in nlm_file_inuse() local
Dclnt4xdr.c68 const struct file_lock *fl = &lock->fl; in nlm4_compute_offsets() local
259 struct file_lock *fl = &lock->fl; in decode_nlm4_holder() local
Dclntxdr.c64 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/
Dlocks.c25 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/
Dflock.c452 static int afs_do_setlk(struct file *file, struct file_lock *fl) in afs_do_setlk()
702 static int afs_do_unlk(struct file *file, struct file_lock *fl) in afs_do_unlk()
722 static int afs_do_getlk(struct file *file, struct file_lock *fl) in afs_do_getlk()
764 int afs_lock(struct file *file, int cmd, struct file_lock *fl) in afs_lock()
803 int afs_flock(struct file *file, int cmd, struct file_lock *fl) in afs_flock()
848 static void afs_fl_copy_lock(struct file_lock *new, struct file_lock *fl) in afs_fl_copy_lock()
866 static void afs_fl_release_private(struct file_lock *fl) in afs_fl_release_private()
/fs/ceph/
Dlocks.c39 static void ceph_fl_release_lock(struct file_lock *fl) in ceph_fl_release_lock()
60 int cmd, u8 wait, struct file_lock *fl) in ceph_lock_message()
209 static int try_unlock_file(struct file *file, struct file_lock *fl) in try_unlock_file()
228 int ceph_lock(struct file *file, int cmd, struct file_lock *fl) in ceph_lock()
294 int ceph_flock(struct file *file, int cmd, struct file_lock *fl) in ceph_flock()
Dutil.c31 void ceph_file_layout_from_legacy(struct ceph_file_layout *fl, in ceph_file_layout_from_legacy()
43 void ceph_file_layout_to_legacy(struct ceph_file_layout *fl, in ceph_file_layout_to_legacy()
/fs/nfs/filelayout/
Dfilelayout.c539 struct nfs4_filelayout_segment *fl, in filelayout_check_deviceid()
600 struct nfs4_filelayout_segment *fl, in filelayout_check_layout()
634 static void _filelayout_free_lseg(struct nfs4_filelayout_segment *fl) in _filelayout_free_lseg()
651 struct nfs4_filelayout_segment *fl, in filelayout_decode_layout()
746 struct nfs4_filelayout_segment *fl = FILELAYOUT_LSEG(lseg); in filelayout_free_lseg() local
770 struct nfs4_filelayout_segment *fl; in filelayout_alloc_lseg() local
847 struct nfs4_filelayout_segment *fl; in fl_pnfs_update_layout() local
930 static u32 select_bucket_index(struct nfs4_filelayout_segment *fl, u32 j) in select_bucket_index()
945 struct nfs4_filelayout_segment *fl = FILELAYOUT_LSEG(lseg); in filelayout_mark_request_commit() local
1082 struct nfs4_filelayout_segment *fl = FILELAYOUT_LSEG(lseg); in filelayout_setup_ds_info() local
/fs/dlm/
Dplock.c23 void *fl; member
104 int cmd, struct file_lock *fl) in dlm_posix_lock()
199 struct file_lock *fl; in dlm_plock_callback() local
252 struct file_lock *fl) in dlm_posix_unlock()
326 struct file_lock *fl) in dlm_posix_get()
/fs/9p/
Dvfs_file.c116 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/
Dfile.c680 do_getlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_getlk()
709 do_unlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_unlk()
745 do_setlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_setlk()
789 int nfs_lock(struct file *filp, int cmd, struct file_lock *fl) in nfs_lock()
828 int nfs_flock(struct file *filp, int cmd, struct file_lock *fl) in nfs_flock()
Dproc.c658 nfs_proc_lock(struct file *filp, int cmd, struct file_lock *fl) in nfs_proc_lock()
667 static int nfs_lock_check_bounds(const struct file_lock *fl) in nfs_lock_check_bounds()
/fs/nfsd/
Dflexfilelayout.c30 struct pnfs_ff_layout *fl; in nfsd4_ff_proc_layoutget() local
Dflexfilelayoutxdr.c22 struct pnfs_ff_layout *fl = lgp->lg_content; in nfsd4_ff_encode_layoutget() local
Dnfs4layouts.c184 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/
Dfile.c1244 static int gfs2_lock(struct file *file, int cmd, struct file_lock *fl) in gfs2_lock()
1273 static int do_flock(struct file *file, int cmd, struct file_lock *fl) in do_flock()
1329 static void do_unflock(struct file *file, struct file_lock *fl) in do_unflock()
1352 static int gfs2_flock(struct file *file, int cmd, struct file_lock *fl) in gfs2_flock()
/fs/xfs/
Dxfs_quota.h142 #define xfs_qm_vop_chown_reserve(tp, ip, u, g, p, fl) (0) argument
144 #define xfs_qm_dqattach_locked(ip, fl) (0) argument
/fs/orangefs/
Dfile.c622 static int orangefs_lock(struct file *filp, int cmd, struct file_lock *fl) in orangefs_lock()

12