Home
last modified time | relevance | path

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

1234567

/linux-6.6.21/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 …]
/linux-6.6.21/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 …]
/linux-6.6.21/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 …]
/linux-6.6.21/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
Dsvclock.c151 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()
713 struct file_lock *fl = &block->b_call->a_args.lock.fl; in nlmsvc_cancel_blocked() local
742 static int nlmsvc_grant_deferred(struct file_lock *fl, int result) in nlmsvc_grant_deferred()
781 nlmsvc_notify_blocked(struct file_lock *fl) in nlmsvc_notify_blocked()
968 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
/linux-6.6.21/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()
/linux-6.6.21/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
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/drivers/misc/
Dfastrpc.c195 struct fastrpc_user *fl; member
217 struct fastrpc_user *fl; member
246 struct fastrpc_user *fl; member
365 static int fastrpc_map_lookup(struct fastrpc_user *fl, int fd, in fastrpc_map_lookup()
402 static int __fastrpc_buf_alloc(struct fastrpc_user *fl, struct device *dev, in __fastrpc_buf_alloc()
435 static int fastrpc_buf_alloc(struct fastrpc_user *fl, struct device *dev, in fastrpc_buf_alloc()
453 static int fastrpc_remote_heap_alloc(struct fastrpc_user *fl, struct device *dev, in fastrpc_remote_heap_alloc()
755 static int fastrpc_map_create(struct fastrpc_user *fl, int fd, in fastrpc_map_create()
1065 struct fastrpc_user *fl = ctx->fl; in fastrpc_put_args() local
1110 struct fastrpc_user *fl = ctx->fl; in fastrpc_invoke_send() local
[all …]
/linux-6.6.21/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
/linux-6.6.21/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()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c247 static inline unsigned int fl_cap(const struct sge_fl *fl) in fl_cap()
262 const struct sge_fl *fl) in fl_starving()
473 static void free_rx_bufs(struct adapter *adapter, struct sge_fl *fl, int n) in free_rx_bufs()
503 static void unmap_rx_buf(struct adapter *adapter, struct sge_fl *fl) in unmap_rx_buf()
525 static inline void ring_fl_db(struct adapter *adapter, struct sge_fl *fl) in ring_fl_db()
604 static unsigned int refill_fl(struct adapter *adapter, struct sge_fl *fl, in refill_fl()
725 static inline void __refill_fl(struct adapter *adapter, struct sge_fl *fl) in __refill_fl()
1708 static void restore_rx_bufs(const struct pkt_gl *gl, struct sge_fl *fl, in restore_rx_bufs()
2082 struct sge_fl *fl = s->egr_map[id]; in sge_rx_timer_cb() local
2204 struct sge_fl *fl, rspq_handler_t hnd) in t4vf_sge_alloc_rxq()
[all …]
/linux-6.6.21/net/xfrm/
Dxfrm_policy.c198 __xfrm4_selector_match(const struct xfrm_selector *sel, const struct flowi *fl) in __xfrm4_selector_match()
211 __xfrm6_selector_match(const struct xfrm_selector *sel, const struct flowi *fl) in __xfrm6_selector_match()
223 bool xfrm_selector_match(const struct xfrm_selector *sel, const struct flowi *fl, in xfrm_selector_match()
1969 const struct flowi *fl, in xfrm_policy_match()
2094 const struct flowi *fl, in __xfrm_policy_eval_candidates()
2133 const struct flowi *fl, in xfrm_policy_eval_candidates()
2155 const struct flowi *fl, in xfrm_policy_lookup_bytype()
2223 const struct flowi *fl, in xfrm_policy_lookup()
2239 const struct flowi *fl, in xfrm_sk_policy_lookup()
2444 xfrm_tmpl_resolve_one(struct xfrm_policy *policy, const struct flowi *fl, in xfrm_tmpl_resolve_one()
[all …]
/linux-6.6.21/fs/nfs/
Dfile.c720 do_getlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_getlk()
749 do_unlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_unlk()
785 do_setlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_setlk()
829 int nfs_lock(struct file *filp, int cmd, struct file_lock *fl) in nfs_lock()
867 int nfs_flock(struct file *filp, int cmd, struct file_lock *fl) in nfs_flock()
/linux-6.6.21/net/l3mdev/
Dl3mdev.c247 int l3mdev_fib_rule_match(struct net *net, struct flowi *fl, in l3mdev_fib_rule_match()
271 void l3mdev_update_flow(struct net *net, struct flowi *fl) in l3mdev_update_flow()
/linux-6.6.21/drivers/gpu/drm/i915/selftests/
Di915_vma.c260 #define VALID(sz, fl) { .size = (sz), .flags = (fl), .assert = assert_pin_valid, .string = #sz ", "… in igt_vma_pin1() argument
261 #define __INVALID(sz, fl, check, eval) { .size = (sz), .flags = (fl), .assert = (check), .string = … in igt_vma_pin1() argument
262 #define INVALID(sz, fl) __INVALID(sz, fl, assert_pin_einval, EINVAL) in igt_vma_pin1() argument
263 #define NOSPACE(sz, fl) __INVALID(sz, fl, assert_pin_enospc, ENOSPC) in igt_vma_pin1() argument
/linux-6.6.21/arch/mips/kernel/
Drtlx.c244 size_t lx_write, fl = 0L; in rtlx_read() local
289 size_t fl; in rtlx_write() local
/linux-6.6.21/drivers/net/wireguard/
Dsocket.c23 struct flowi4 fl = { in send4() local
101 struct flowi6 fl = { in send6() local

1234567