Lines Matching defs:fl

138 #define IS_POSIX(fl)	(fl->fl_flags & FL_POSIX)  argument
139 #define IS_FLOCK(fl) (fl->fl_flags & FL_FLOCK) argument
140 #define IS_LEASE(fl) (fl->fl_flags & (FL_LEASE|FL_DELEG|FL_LAYOUT)) argument
141 #define IS_OFDLCK(fl) (fl->fl_flags & FL_OFDLCK) argument
143 static bool lease_breaking(struct file_lock *fl) in lease_breaking()
148 static int target_leasetype(struct file_lock *fl) in target_leasetype()
247 static void locks_init_lock_heads(struct file_lock *fl) in locks_init_lock_heads()
258 struct file_lock *fl = kmem_cache_zalloc(filelock_cache, GFP_KERNEL); in locks_alloc_lock() local
267 void locks_release_private(struct file_lock *fl) in locks_release_private()
286 void locks_free_lock(struct file_lock *fl) in locks_free_lock()
301 struct file_lock *fl; in locks_dispose_list() local
310 void locks_init_lock(struct file_lock *fl) in locks_init_lock()
321 void locks_copy_conflock(struct file_lock *new, struct file_lock *fl) in locks_copy_conflock()
340 void locks_copy_lock(struct file_lock *new, struct file_lock *fl) in locks_copy_lock()
376 struct file_lock *fl; in flock_make_lock() local
396 static int assign_type(struct file_lock *fl, long type) in assign_type()
410 static int flock64_to_posix_lock(struct file *filp, struct file_lock *fl, in flock64_to_posix_lock()
460 static int flock_to_posix_lock(struct file *filp, struct file_lock *fl, in flock_to_posix_lock()
475 lease_break_callback(struct file_lock *fl) in lease_break_callback()
482 lease_setup(struct file_lock *fl, void **priv) in lease_setup()
507 static int lease_init(struct file *filp, long type, struct file_lock *fl) in lease_init()
527 struct file_lock *fl = locks_alloc_lock(); in lease_alloc() local
561 static void locks_insert_global_locks(struct file_lock *fl) in locks_insert_global_locks()
570 static void locks_delete_global_locks(struct file_lock *fl) in locks_delete_global_locks()
585 posix_owner_key(struct file_lock *fl) in posix_owner_key()
687 locks_insert_lock_ctx(struct file_lock *fl, struct list_head *before) in locks_insert_lock_ctx()
695 locks_unlink_lock_ctx(struct file_lock *fl) in locks_unlink_lock_ctx()
707 locks_delete_lock_ctx(struct file_lock *fl, struct list_head *dispose) in locks_delete_lock_ctx()
763 posix_test_lock(struct file *filp, struct file_lock *fl) in posix_test_lock()
829 struct file_lock *fl; in what_owner_is_waiting_for() local
872 struct file_lock *fl; in flock_lock_inode() local
939 struct file_lock *fl, *tmp; in __posix_lock_file() local
1162 int posix_lock_file(struct file *filp, struct file_lock *fl, in posix_lock_file()
1176 static int posix_lock_inode_wait(struct inode *inode, struct file_lock *fl) in posix_lock_inode_wait()
1206 struct file_lock *fl; in locks_mandatory_locked() local
1245 struct file_lock fl; in locks_mandatory_area() local
1293 static void lease_clear_pending(struct file_lock *fl, int arg) in lease_clear_pending()
1305 int lease_modify(struct file_lock *fl, int arg, struct list_head *dispose) in lease_modify()
1340 struct file_lock *fl, *tmp; in time_out_leases() local
1366 struct file_lock *fl; in any_leases_conflict() local
1394 struct file_lock *new_fl, *fl, *tmp; in __break_lease() local
1501 struct file_lock *fl; in lease_get_mtime() local
1548 struct file_lock *fl; in fcntl_getlease() local
1603 struct file_lock *fl, *my_fl = NULL, *lease; in generic_add_lease() local
1718 struct file_lock *fl, *victim = NULL; in generic_delete_lease() local
1816 struct file_lock *fl; in do_fcntl_add_lease() local
1863 static int flock_lock_inode_wait(struct inode *inode, struct file_lock *fl) in flock_lock_inode_wait()
1888 int locks_lock_inode_wait(struct inode *inode, struct file_lock *fl) in locks_lock_inode_wait()
1980 int vfs_test_lock(struct file *filp, struct file_lock *fl) in vfs_test_lock()
1989 static int posix_lock_to_flock(struct flock *flock, struct file_lock *fl) in posix_lock_to_flock()
2011 static void posix_lock_to_flock64(struct flock64 *flock, struct file_lock *fl) in posix_lock_to_flock64()
2104 int vfs_lock_file(struct file *filp, unsigned int cmd, struct file_lock *fl, struct file_lock *conf) in vfs_lock_file()
2114 struct file_lock *fl) in do_lock_file_wait()
2139 check_fmode_for_setlk(struct file_lock *fl) in check_fmode_for_setlk()
2431 struct file_lock fl = { in locks_remove_flock() local
2457 struct file_lock *fl, *tmp; in locks_remove_lease() local
2520 int vfs_cancel_lock(struct file *filp, struct file_lock *fl) in vfs_cancel_lock()
2538 static void lock_get_status(struct seq_file *f, struct file_lock *fl, in lock_get_status()
2617 struct file_lock *fl, *bfl; in locks_show() local
2633 struct file_lock *fl; in __show_fd_locks() local