Lines Matching defs:fl
73 #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()
271 struct file_lock *fl = kmem_cache_zalloc(filelock_cache, GFP_KERNEL); in locks_alloc_lock() local
280 void locks_release_private(struct file_lock *fl) in locks_release_private()
316 struct file_lock *fl; in locks_owner_has_blockers() local
333 void locks_free_lock(struct file_lock *fl) in locks_free_lock()
343 struct file_lock *fl; in locks_dispose_list() local
352 void locks_init_lock(struct file_lock *fl) in locks_init_lock()
362 void locks_copy_conflock(struct file_lock *new, struct file_lock *fl) in locks_copy_conflock()
381 void locks_copy_lock(struct file_lock *new, struct file_lock *fl) in locks_copy_lock()
398 static void locks_move_blocks(struct file_lock *new, struct file_lock *fl) in locks_move_blocks()
429 static void flock_make_lock(struct file *filp, struct file_lock *fl, int type) in flock_make_lock()
441 static int assign_type(struct file_lock *fl, long type) in assign_type()
455 static int flock64_to_posix_lock(struct file *filp, struct file_lock *fl, in flock64_to_posix_lock()
505 static int flock_to_posix_lock(struct file *filp, struct file_lock *fl, in flock_to_posix_lock()
520 lease_break_callback(struct file_lock *fl) in lease_break_callback()
527 lease_setup(struct file_lock *fl, void **priv) in lease_setup()
552 static int lease_init(struct file *filp, long type, struct file_lock *fl) in lease_init()
572 struct file_lock *fl = locks_alloc_lock(); in lease_alloc() local
603 static void locks_insert_global_locks(struct file_lock *fl) in locks_insert_global_locks()
616 static void locks_delete_global_locks(struct file_lock *fl) in locks_delete_global_locks()
637 posix_owner_key(struct file_lock *fl) in posix_owner_key()
760 struct file_lock *fl; in __locks_insert_block() local
815 locks_insert_lock_ctx(struct file_lock *fl, struct list_head *before) in locks_insert_lock_ctx()
822 locks_unlink_lock_ctx(struct file_lock *fl) in locks_unlink_lock_ctx()
830 locks_delete_lock_ctx(struct file_lock *fl, struct list_head *dispose) in locks_delete_lock_ctx()
887 posix_test_lock(struct file *filp, struct file_lock *fl) in posix_test_lock()
964 struct file_lock *fl; in what_owner_is_waiting_for() local
1010 struct file_lock *fl; in flock_lock_inode() local
1082 struct file_lock *fl, *tmp; in posix_lock_inode() local
1331 int posix_lock_file(struct file *filp, struct file_lock *fl, in posix_lock_file()
1345 static int posix_lock_inode_wait(struct inode *inode, struct file_lock *fl) in posix_lock_inode_wait()
1362 static void lease_clear_pending(struct file_lock *fl, int arg) in lease_clear_pending()
1374 int lease_modify(struct file_lock *fl, int arg, struct list_head *dispose) in lease_modify()
1409 struct file_lock *fl, *tmp; in time_out_leases() local
1448 struct file_lock *fl; in any_leases_conflict() local
1476 struct file_lock *new_fl, *fl, *tmp; in __break_lease() local
1590 struct file_lock *fl; in lease_get_mtime() local
1632 struct file_lock *fl; in fcntl_getlease() local
1706 struct file_lock *fl, *my_fl = NULL, *lease; in generic_add_lease() local
1822 struct file_lock *fl, *victim = NULL; in generic_delete_lease() local
1958 struct file_lock *fl; in do_fcntl_add_lease() local
2005 static int flock_lock_inode_wait(struct inode *inode, struct file_lock *fl) in flock_lock_inode_wait()
2029 int locks_lock_inode_wait(struct inode *inode, struct file_lock *fl) in locks_lock_inode_wait()
2064 struct file_lock fl; in SYSCALL_DEFINE2() local
2124 int vfs_test_lock(struct file *filp, struct file_lock *fl) in vfs_test_lock()
2141 static pid_t locks_translate_pid(struct file_lock *fl, struct pid_namespace *ns) in locks_translate_pid()
2165 static int posix_lock_to_flock(struct flock *flock, struct file_lock *fl) in posix_lock_to_flock()
2187 static void posix_lock_to_flock64(struct flock64 *flock, struct file_lock *fl) in posix_lock_to_flock64()
2203 struct file_lock *fl; in fcntl_getlk() local
2274 int vfs_lock_file(struct file *filp, unsigned int cmd, struct file_lock *fl, struct file_lock *conf) in vfs_lock_file()
2285 struct file_lock *fl) in do_lock_file_wait()
2309 check_fmode_for_setlk(struct file_lock *fl) in check_fmode_for_setlk()
2409 struct file_lock *fl; in fcntl_getlk64() local
2569 struct file_lock fl; in locks_remove_flock() local
2591 struct file_lock *fl, *tmp; in locks_remove_lease() local
2642 int vfs_cancel_lock(struct file *filp, struct file_lock *fl) in vfs_cancel_lock()
2683 static void lock_get_status(struct seq_file *f, struct file_lock *fl, in lock_get_status()
2821 struct file_lock *fl; in __show_fd_locks() local