Home
last modified time | relevance | path

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

12345678910>>...13

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/fs/
Dlocks.c73 #define IS_POSIX(fl) (fl->fl_flags & FL_POSIX) argument
74 #define IS_FLOCK(fl) (fl->fl_flags & FL_FLOCK) argument
75 #define IS_LEASE(fl) (fl->fl_flags & (FL_LEASE|FL_DELEG|FL_LAYOUT)) argument
76 #define IS_OFDLCK(fl) (fl->fl_flags & FL_OFDLCK) argument
77 #define IS_REMOTELCK(fl) (fl->fl_pid <= 0) argument
79 static bool lease_breaking(struct file_lock *fl) in lease_breaking()
84 static int target_leasetype(struct file_lock *fl) in target_leasetype()
208 struct file_lock *fl; in locks_dump_ctx_list() local
236 struct file_lock *fl; in locks_check_ctx_file_list() local
259 static void locks_init_lock_heads(struct file_lock *fl) in locks_init_lock_heads()
[all …]
/kernel/linux/linux-5.10/net/ipv6/
Dip6_flowlabel.c60 #define for_each_fl_rcu(hash, fl) \ argument
64 #define for_each_fl_continue_rcu(fl) \ argument
76 struct ip6_flowlabel *fl; in __fl_lookup() local
87 struct ip6_flowlabel *fl; in fl_lookup() local
97 static bool fl_shared_exclusive(struct ip6_flowlabel *fl) in fl_shared_exclusive()
106 struct ip6_flowlabel *fl = container_of(head, struct ip6_flowlabel, rcu); in fl_free_rcu() local
115 static void fl_free(struct ip6_flowlabel *fl) in fl_free()
126 static void fl_release(struct ip6_flowlabel *fl) in fl_release()
157 struct ip6_flowlabel *fl; in ip6_fl_gc() local
194 struct ip6_flowlabel *fl; in ip6_fl_purge() local
[all …]
/kernel/linux/linux-6.6/net/ipv6/
Dip6_flowlabel.c60 #define for_each_fl_rcu(hash, fl) \ argument
64 #define for_each_fl_continue_rcu(fl) \ argument
76 struct ip6_flowlabel *fl; in __fl_lookup() local
87 struct ip6_flowlabel *fl; in fl_lookup() local
97 static bool fl_shared_exclusive(struct ip6_flowlabel *fl) in fl_shared_exclusive()
106 struct ip6_flowlabel *fl = container_of(head, struct ip6_flowlabel, rcu); in fl_free_rcu() local
115 static void fl_free(struct ip6_flowlabel *fl) in fl_free()
126 static void fl_release(struct ip6_flowlabel *fl) in fl_release()
157 struct ip6_flowlabel *fl; in ip6_fl_gc() local
194 struct ip6_flowlabel *fl; in ip6_fl_purge() local
[all …]
/kernel/linux/linux-6.6/include/linux/
Dthread_info.h149 #define set_syscall_work(fl) \ argument
151 #define test_syscall_work(fl) \ argument
153 #define clear_syscall_work(fl) \ argument
156 #define set_task_syscall_work(t, fl) \ argument
158 #define test_task_syscall_work(t, fl) \ argument
160 #define clear_task_syscall_work(t, fl) \ argument
165 #define set_syscall_work(fl) \ argument
167 #define test_syscall_work(fl) \ argument
169 #define clear_syscall_work(fl) \ argument
172 #define set_task_syscall_work(t, fl) \ argument
[all …]
Dfilelock.h231 static inline void locks_init_lock(struct file_lock *fl) in locks_init_lock()
236 static inline void locks_copy_conflock(struct file_lock *new, struct file_lock *fl) in locks_copy_conflock()
241 static inline void locks_copy_lock(struct file_lock *new, struct file_lock *fl) in locks_copy_lock()
256 static inline void posix_test_lock(struct file *filp, struct file_lock *fl) in posix_test_lock()
261 static inline int posix_lock_file(struct file *filp, struct file_lock *fl, in posix_lock_file()
272 static inline int vfs_test_lock(struct file *filp, struct file_lock *fl) in vfs_test_lock()
278 struct file_lock *fl, struct file_lock *conf) in vfs_lock_file()
283 static inline int vfs_cancel_lock(struct file *filp, struct file_lock *fl) in vfs_cancel_lock()
293 static inline int locks_lock_inode_wait(struct inode *inode, struct file_lock *fl) in locks_lock_inode_wait()
321 static inline int lease_modify(struct file_lock *fl, int arg, in lease_modify()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/fs/lockd/
Dclntproc.c129 static void nlmclnt_setlockargs(struct nlm_rqst *req, struct file_lock *fl) in nlmclnt_setlockargs()
161 int nlmclnt_proc(struct nlm_host *host, int cmd, struct file_lock *fl, void *data) in nlmclnt_proc()
431 nlmclnt_test(struct nlm_rqst *req, struct file_lock *fl) in nlmclnt_test()
463 static void nlmclnt_locks_copy_lock(struct file_lock *new, struct file_lock *fl) in nlmclnt_locks_copy_lock()
472 static void nlmclnt_locks_release_private(struct file_lock *fl) in nlmclnt_locks_release_private()
485 static void nlmclnt_locks_init_private(struct file_lock *fl, struct nlm_host *host) in nlmclnt_locks_init_private()
493 static int do_vfs_lock(struct file_lock *fl) in do_vfs_lock()
519 nlmclnt_lock(struct nlm_rqst *req, struct file_lock *fl) in nlmclnt_lock()
640 nlmclnt_reclaim(struct nlm_host *host, struct file_lock *fl, in nlmclnt_reclaim()
681 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
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/tools/testing/selftests/filelock/
Dofdlocks.c11 static int lock_set(int fd, struct flock *fl) in lock_set()
23 static int lock_get(int fd, struct flock *fl) in lock_get()
38 struct flock fl, fl2; in main() local
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
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()
/kernel/linux/linux-6.6/fs/dlm/
Dplock.c26 void *fl; member
123 int cmd, struct file_lock *fl) in dlm_posix_lock()
246 struct file_lock *fl; in dlm_plock_callback() local
293 struct file_lock *fl) in dlm_posix_unlock()
367 struct file_lock *fl) in dlm_posix_cancel()
430 struct file_lock *fl) in dlm_posix_get()
/kernel/linux/linux-6.6/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()
226 static int try_unlock_file(struct file *file, struct file_lock *fl) in try_unlock_file()
245 int ceph_lock(struct file *file, int cmd, struct file_lock *fl) in ceph_lock()
311 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.6/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
937 static u32 select_bucket_index(struct nfs4_filelayout_segment *fl, u32 j) in select_bucket_index()
952 struct nfs4_filelayout_segment *fl = FILELAYOUT_LSEG(lseg); in filelayout_mark_request_commit() local
1089 struct nfs4_filelayout_segment *fl = FILELAYOUT_LSEG(lseg); in filelayout_setup_ds_info() local
/kernel/linux/linux-6.6/drivers/misc/
Dfastrpc.c195 struct fastrpc_user *fl; member
217 struct fastrpc_user *fl; member
246 struct fastrpc_user *fl; member
364 static int fastrpc_map_lookup(struct fastrpc_user *fl, int fd, in fastrpc_map_lookup()
401 static int __fastrpc_buf_alloc(struct fastrpc_user *fl, struct device *dev, in __fastrpc_buf_alloc()
434 static int fastrpc_buf_alloc(struct fastrpc_user *fl, struct device *dev, in fastrpc_buf_alloc()
452 static int fastrpc_remote_heap_alloc(struct fastrpc_user *fl, struct device *dev, in fastrpc_remote_heap_alloc()
754 static int fastrpc_map_create(struct fastrpc_user *fl, int fd, in fastrpc_map_create()
1064 struct fastrpc_user *fl = ctx->fl; in fastrpc_put_args() local
1109 struct fastrpc_user *fl = ctx->fl; in fastrpc_invoke_send() local
[all …]
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/misc/
Dfastrpc.c142 struct fastrpc_user *fl; member
164 struct fastrpc_user *fl; member
191 struct fastrpc_user *fl; member
274 static int fastrpc_map_find(struct fastrpc_user *fl, int fd, in fastrpc_map_find()
300 static int fastrpc_buf_alloc(struct fastrpc_user *fl, struct device *dev, in fastrpc_buf_alloc()
626 static int fastrpc_map_create(struct fastrpc_user *fl, int fd, in fastrpc_map_create()
924 struct fastrpc_user *fl = ctx->fl; in fastrpc_invoke_send() local
951 static int fastrpc_internal_invoke(struct fastrpc_user *fl, u32 kernel, in fastrpc_internal_invoke()
1024 static int fastrpc_init_create_process(struct fastrpc_user *fl, in fastrpc_init_create_process()
1161 static int fastrpc_release_current_dsp_process(struct fastrpc_user *fl) in fastrpc_release_current_dsp_process()
[all …]

12345678910>>...13