Home
last modified time | relevance | path

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

12

/fs/
Dlocks.c82 static bool lease_breaking(struct file_lease *fl) in lease_breaking()
87 static int target_leasetype(struct file_lease *fl) in target_leasetype()
275 struct file_lock *fl = kmem_cache_zalloc(filelock_cache, GFP_KERNEL); in locks_alloc_lock() local
287 struct file_lease *fl = kmem_cache_zalloc(filelease_cache, GFP_KERNEL); in locks_alloc_lease() local
296 void locks_release_private(struct file_lock *fl) in locks_release_private()
350 void locks_free_lock(struct file_lock *fl) in locks_free_lock()
358 void locks_free_lease(struct file_lease *fl) in locks_free_lease()
379 void locks_init_lock(struct file_lock *fl) in locks_init_lock()
386 void locks_init_lease(struct file_lease *fl) in locks_init_lease()
396 void locks_copy_conflock(struct file_lock *new, struct file_lock *fl) in locks_copy_conflock()
[all …]
Dfcntl.c661 struct compat_flock fl; in get_compat_flock() local
671 struct compat_flock64 fl; in get_compat_flock64() local
681 struct compat_flock fl; in put_compat_flock() local
692 struct compat_flock64 fl; in put_compat_flock64() local
/fs/lockd/
Dclntproc.c129 static void nlmclnt_setlockargs(struct nlm_rqst *req, struct file_lock *fl) in nlmclnt_setlockargs()
162 int nlmclnt_proc(struct nlm_host *host, int cmd, struct file_lock *fl, void *data) in nlmclnt_proc()
432 nlmclnt_test(struct nlm_rqst *req, struct file_lock *fl) in nlmclnt_test()
465 static void nlmclnt_locks_copy_lock(struct file_lock *new, struct file_lock *fl) in nlmclnt_locks_copy_lock()
474 static void nlmclnt_locks_release_private(struct file_lock *fl) in nlmclnt_locks_release_private()
487 static void nlmclnt_locks_init_private(struct file_lock *fl, struct nlm_host *host) in nlmclnt_locks_init_private()
496 static int do_vfs_lock(struct file_lock *fl) in do_vfs_lock()
522 nlmclnt_lock(struct nlm_rqst *req, struct file_lock *fl) in nlmclnt_lock()
643 nlmclnt_reclaim(struct nlm_host *host, struct file_lock *fl, in nlmclnt_reclaim()
686 nlmclnt_unlock(struct nlm_rqst *req, struct file_lock *fl) in nlmclnt_unlock()
[all …]
Dclntlock.c88 void nlmclnt_prepare_block(struct nlm_wait *block, struct nlm_host *host, struct file_lock *fl) in nlmclnt_prepare_block()
163 const struct file_lock *fl = &lock->fl; in nlmclnt_grant() local
232 struct file_lock *fl, *next; in reclaimer() local
Dsvclock.c150 struct file_lock *fl; in nlmsvc_lookup_block() local
410 void nlmsvc_locks_init_private(struct file_lock *fl, struct nlm_host *host, in nlmsvc_locks_init_private()
726 struct file_lock *fl = &block->b_call->a_args.lock.fl; in nlmsvc_cancel_blocked() local
755 static int nlmsvc_grant_deferred(struct file_lock *fl, int result) in nlmsvc_grant_deferred()
794 nlmsvc_notify_blocked(struct file_lock *fl) in nlmsvc_notify_blocked()
981 struct file_lock *fl; in nlmsvc_grant_reply() local
Dxdr4.c36 void nlm4svc_set_file_lock_range(struct file_lock *fl, u64 off, u64 len) in nlm4svc_set_file_lock_range()
76 struct file_lock *fl = &lock->fl; in svcxdr_decode_lock() local
101 const struct file_lock *fl = &lock->fl; in svcxdr_encode_holder() local
Dsvcsubs.c179 static int nlm_unlock_files(struct nlm_file *file, const struct file_lock *fl) in nlm_unlock_files()
212 struct file_lock *fl; in nlm_traverse_locks() local
267 struct file_lock *fl; in nlm_file_inuse() local
Dxdr.c74 struct file_lock *fl = &lock->fl; in svcxdr_decode_lock() local
106 const struct file_lock *fl = &lock->fl; in svcxdr_encode_holder() 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.c24 int cmd, struct file_lock *fl) in ocfs2_do_flock()
82 static int ocfs2_do_funlock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_do_funlock()
98 int ocfs2_flock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_flock()
116 int ocfs2_lock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_lock()
/fs/afs/
Dflock.c451 static int afs_do_setlk(struct file *file, struct file_lock *fl) in afs_do_setlk()
701 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()
799 int afs_flock(struct file *file, int cmd, struct file_lock *fl) in afs_flock()
844 static void afs_fl_copy_lock(struct file_lock *new, struct file_lock *fl) in afs_fl_copy_lock()
862 static void afs_fl_release_private(struct file_lock *fl) in afs_fl_release_private()
/fs/dlm/
Dplock.c26 void *fl; member
123 int cmd, struct file_lock *fl) in dlm_posix_lock()
242 struct file_lock *fl; in dlm_plock_callback() local
289 struct file_lock *fl) in dlm_posix_unlock()
360 struct file_lock *fl) in dlm_posix_cancel()
423 struct file_lock *fl) in dlm_posix_get()
/fs/9p/
Dvfs_file.c104 static int v9fs_file_lock(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_lock()
118 static int v9fs_file_do_lock(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_do_lock()
223 static int v9fs_file_getlock(struct file *filp, struct file_lock *fl) in v9fs_file_getlock()
288 static int v9fs_file_lock_dotl(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_lock_dotl()
319 struct file_lock *fl) in v9fs_file_flock_dotl()
/fs/ceph/
Dlocks.c45 static void ceph_fl_release_lock(struct file_lock *fl) in ceph_fl_release_lock()
77 int cmd, u8 wait, struct file_lock *fl) in ceph_lock_message()
228 static int try_unlock_file(struct file *file, struct file_lock *fl) in try_unlock_file()
247 int ceph_lock(struct file *file, int cmd, struct file_lock *fl) in ceph_lock()
314 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()
626 static void _filelayout_free_lseg(struct nfs4_filelayout_segment *fl) in _filelayout_free_lseg()
643 struct nfs4_filelayout_segment *fl, in filelayout_decode_layout()
738 struct nfs4_filelayout_segment *fl = FILELAYOUT_LSEG(lseg); in filelayout_free_lseg() local
762 struct nfs4_filelayout_segment *fl; in filelayout_alloc_lseg() local
839 struct nfs4_filelayout_segment *fl; in fl_pnfs_update_layout() local
929 static u32 select_bucket_index(struct nfs4_filelayout_segment *fl, u32 j) in select_bucket_index()
944 struct nfs4_filelayout_segment *fl = FILELAYOUT_LSEG(lseg); in filelayout_mark_request_commit() local
1081 struct nfs4_filelayout_segment *fl = FILELAYOUT_LSEG(lseg); in filelayout_setup_ds_info() local
/fs/nfs/
Dfile.c731 do_getlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_getlk()
760 do_unlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_unlk()
796 do_setlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_setlk()
840 int nfs_lock(struct file *filp, int cmd, struct file_lock *fl) in nfs_lock()
878 int nfs_flock(struct file *filp, int cmd, struct file_lock *fl) in nfs_flock()
Dproc.c659 nfs_proc_lock(struct file *filp, int cmd, struct file_lock *fl) in nfs_proc_lock()
668 static int nfs_lock_check_bounds(const struct file_lock *fl) in nfs_lock_check_bounds()
/fs/nfsd/
Dnfs4layouts.c157 struct nfsd_file *fl; in nfsd4_close_layout() local
200 struct file_lease *fl; in nfsd4_layout_setlease() local
674 struct nfsd_file *fl; in nfsd4_cb_layout_done() local
747 nfsd4_layout_lm_break(struct file_lease *fl) in nfsd4_layout_lm_break()
Dflexfilelayout.c31 struct pnfs_ff_layout *fl; in nfsd4_ff_proc_layoutget() local
Dflexfilelayoutxdr.c22 const struct pnfs_ff_layout *fl = lgp->lg_content; in nfsd4_ff_encode_layoutget() local
/fs/gfs2/
Dfile.c1439 static int gfs2_lock(struct file *file, int cmd, struct file_lock *fl) in gfs2_lock()
1477 static int do_flock(struct file *file, int cmd, struct file_lock *fl) in do_flock()
1537 static void do_unflock(struct file *file, struct file_lock *fl) in do_unflock()
1560 static int gfs2_flock(struct file *file, int cmd, struct file_lock *fl) in gfs2_flock()
/fs/orangefs/
Dfile.c536 static int orangefs_lock(struct file *filp, int cmd, struct file_lock *fl) in orangefs_lock()
/fs/fuse/
Dfile.c2756 struct file_lock *fl) in convert_fuse_file_lock()
2788 const struct file_lock *fl, int opcode, pid_t pid, in fuse_lk_fill()
2811 static int fuse_getlk(struct file *file, struct file_lock *fl) in fuse_getlk()
2831 static int fuse_setlk(struct file *file, struct file_lock *fl, int flock) in fuse_setlk()
2857 static int fuse_file_lock(struct file *file, int cmd, struct file_lock *fl) in fuse_file_lock()
2880 static int fuse_file_flock(struct file *file, int cmd, struct file_lock *fl) in fuse_file_flock()

12