Lines Matching defs:fl

132 #define IS_POSIX(fl)	(fl->fl_flags & FL_POSIX)  argument
133 #define IS_FLOCK(fl) (fl->fl_flags & FL_FLOCK) argument
134 #define IS_LEASE(fl) (fl->fl_flags & FL_LEASE) argument
136 static bool lease_breaking(struct file_lock *fl) in lease_breaking()
141 static int target_leasetype(struct file_lock *fl) in target_leasetype()
177 static void locks_init_lock_heads(struct file_lock *fl) in locks_init_lock_heads()
187 struct file_lock *fl = kmem_cache_zalloc(filelock_cache, GFP_KERNEL); in locks_alloc_lock() local
196 void locks_release_private(struct file_lock *fl) in locks_release_private()
213 void locks_free_lock(struct file_lock *fl) in locks_free_lock()
224 void locks_init_lock(struct file_lock *fl) in locks_init_lock()
232 static void locks_copy_private(struct file_lock *new, struct file_lock *fl) in locks_copy_private()
246 void __locks_copy_lock(struct file_lock *new, const struct file_lock *fl) in __locks_copy_lock()
260 void locks_copy_lock(struct file_lock *new, struct file_lock *fl) in locks_copy_lock()
292 struct file_lock *fl; in flock_make_lock() local
311 static int assign_type(struct file_lock *fl, long type) in assign_type()
328 static int flock_to_posix_lock(struct file *filp, struct file_lock *fl, in flock_to_posix_lock()
378 static int flock64_to_posix_lock(struct file *filp, struct file_lock *fl, in flock64_to_posix_lock()
425 static void lease_break_callback(struct file_lock *fl) in lease_break_callback()
430 static void lease_release_private_callback(struct file_lock *fl) in lease_release_private_callback()
448 static int lease_init(struct file *filp, long type, struct file_lock *fl) in lease_init()
468 struct file_lock *fl = locks_alloc_lock(); in lease_alloc() local
558 static void locks_insert_lock(struct file_lock **pos, struct file_lock *fl) in locks_insert_lock()
577 struct file_lock *fl = *thisfl_p; in locks_delete_lock() local
645 posix_test_lock(struct file *filp, struct file_lock *fl) in posix_test_lock()
697 struct file_lock *fl; in what_owner_is_waiting_for() local
746 struct file_lock *fl = *before; in flock_lock_file() local
778 struct file_lock *fl = *before; in flock_lock_file() local
808 struct file_lock *fl; in __posix_lock_file() local
1022 int posix_lock_file(struct file *filp, struct file_lock *fl, in posix_lock_file()
1038 int posix_lock_file_wait(struct file *filp, struct file_lock *fl) in posix_lock_file_wait()
1067 struct file_lock *fl; in locks_mandatory_locked() local
1100 struct file_lock fl; in locks_mandatory_area() local
1137 static void lease_clear_pending(struct file_lock *fl, int arg) in lease_clear_pending()
1151 struct file_lock *fl = *before; in lease_modify() local
1176 struct file_lock *fl; in time_out_leases() local
1203 struct file_lock *fl; in __break_lease() local
1334 struct file_lock *fl; in fcntl_getlease() local
1352 struct file_lock *fl, **before, **my_before = NULL, *lease; in generic_add_lease() local
1417 struct file_lock *fl, **before; in generic_delete_lease() local
1521 struct file_lock fl, *flp = &fl; in do_fcntl_delete_lease() local
1530 struct file_lock *fl, *ret; in do_fcntl_add_lease() local
1596 int flock_lock_file_wait(struct file *filp, struct file_lock *fl) in flock_lock_file_wait()
1689 int vfs_test_lock(struct file *filp, struct file_lock *fl) in vfs_test_lock()
1698 static int posix_lock_to_flock(struct flock *flock, struct file_lock *fl) in posix_lock_to_flock()
1720 static void posix_lock_to_flock64(struct flock64 *flock, struct file_lock *fl) in posix_lock_to_flock64()
1801 int vfs_lock_file(struct file *filp, unsigned int cmd, struct file_lock *fl, struct file_lock *conf) in vfs_lock_file()
1811 struct file_lock *fl) in do_lock_file_wait()
2070 struct file_lock *fl; in locks_remove_flock() local
2077 struct file_lock fl = { in locks_remove_flock() local
2140 int vfs_cancel_lock(struct file *filp, struct file_lock *fl) in vfs_cancel_lock()
2153 static void lock_get_status(struct seq_file *f, struct file_lock *fl, in lock_get_status()
2226 struct file_lock *fl, *bfl; in locks_show() local
2301 struct file_lock *fl; in lock_may_read() local
2341 struct file_lock *fl; in lock_may_write() local