Lines Matching defs:fl
82 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()
415 void locks_copy_lock(struct file_lock *new, struct file_lock *fl) in locks_copy_lock()
432 static void locks_move_blocks(struct file_lock *new, struct file_lock *fl) in locks_move_blocks()
465 static void flock_make_lock(struct file *filp, struct file_lock *fl, int type) in flock_make_lock()
491 static int flock64_to_posix_lock(struct file *filp, struct file_lock *fl, in flock64_to_posix_lock()
541 static int flock_to_posix_lock(struct file *filp, struct file_lock *fl, in flock_to_posix_lock()
556 lease_break_callback(struct file_lease *fl) in lease_break_callback()
563 lease_setup(struct file_lease *fl, void **priv) in lease_setup()
588 static int lease_init(struct file *filp, int type, struct file_lease *fl) in lease_init()
605 struct file_lease *fl = locks_alloc_lease(); in lease_alloc() local
704 struct file_lock *fl; in __locks_wake_up_blocks() local
859 locks_insert_lock_ctx(struct file_lock_core *fl, struct list_head *before) in locks_insert_lock_ctx()
866 locks_unlink_lock_ctx(struct file_lock_core *fl) in locks_unlink_lock_ctx()
874 locks_delete_lock_ctx(struct file_lock_core *fl, struct list_head *dispose) in locks_delete_lock_ctx()
952 posix_test_lock(struct file *filp, struct file_lock *fl) in posix_test_lock()
1077 struct file_lock *fl; in flock_lock_inode() local
1149 struct file_lock *fl, *tmp; in posix_lock_inode() local
1399 int posix_lock_file(struct file *filp, struct file_lock *fl, in posix_lock_file()
1413 static int posix_lock_inode_wait(struct inode *inode, struct file_lock *fl) in posix_lock_inode_wait()
1430 static void lease_clear_pending(struct file_lease *fl, int arg) in lease_clear_pending()
1442 int lease_modify(struct file_lease *fl, int arg, struct list_head *dispose) in lease_modify()
1477 struct file_lease *fl, *tmp; in time_out_leases() local
1546 struct file_lease *new_fl, *fl, *tmp; in __break_lease() local
1702 struct file_lease *fl; in fcntl_getlease() local
1776 struct file_lease *fl, *my_fl = NULL, *lease; in generic_add_lease() local
1889 struct file_lease *fl, *victim = NULL; in generic_delete_lease() local
2032 struct file_lease *fl; in do_fcntl_add_lease() local
2079 static int flock_lock_inode_wait(struct inode *inode, struct file_lock *fl) in flock_lock_inode_wait()
2103 int locks_lock_inode_wait(struct inode *inode, struct file_lock *fl) in locks_lock_inode_wait()
2138 struct file_lock fl; in SYSCALL_DEFINE2() local
2198 int vfs_test_lock(struct file *filp, struct file_lock *fl) in vfs_test_lock()
2215 static pid_t locks_translate_pid(struct file_lock_core *fl, struct pid_namespace *ns) in locks_translate_pid()
2242 static int posix_lock_to_flock(struct flock *flock, struct file_lock *fl) in posix_lock_to_flock()
2264 static void posix_lock_to_flock64(struct flock64 *flock, struct file_lock *fl) in posix_lock_to_flock64()
2280 struct file_lock *fl; in fcntl_getlk() local
2354 int vfs_lock_file(struct file *filp, unsigned int cmd, struct file_lock *fl, struct file_lock *conf) in vfs_lock_file()
2365 struct file_lock *fl) in do_lock_file_wait()
2389 check_fmode_for_setlk(struct file_lock *fl) in check_fmode_for_setlk()
2488 struct file_lock *fl; in fcntl_getlk64() local
2648 struct file_lock fl; in locks_remove_flock() local
2670 struct file_lease *fl, *tmp; in locks_remove_lease() local
2721 int vfs_cancel_lock(struct file *filp, struct file_lock *fl) in vfs_cancel_lock()
2769 struct file_lock *fl = file_lock(flc); in lock_get_status() local
2906 struct file_lock_core *fl; in __show_fd_locks() local