Lines Matching defs:filp
237 locks_check_ctx_file_list(struct file *filp, struct list_head *list, char *list_type) in locks_check_ctx_file_list()
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()
565 struct file *filp = fl->c.flc_file; in lease_setup() local
588 static int lease_init(struct file *filp, int type, struct file_lease *fl) in lease_init()
603 static struct file_lease *lease_alloc(struct file *filp, int type) in lease_alloc()
952 posix_test_lock(struct file *filp, struct file_lock *fl) in posix_test_lock()
1399 int posix_lock_file(struct file *filp, struct file_lock *fl, in posix_lock_file()
1451 struct file *filp = fl->c.flc_file; in lease_modify() local
1700 int fcntl_getlease(struct file *filp) in fcntl_getlease()
1739 check_conflicting_open(struct file *filp, const int arg, int flags) in check_conflicting_open()
1774 generic_add_lease(struct file *filp, int arg, struct file_lease **flp, void **priv) in generic_add_lease()
1886 static int generic_delete_lease(struct file *filp, void *owner) in generic_delete_lease()
1929 int generic_setlease(struct file *filp, int arg, struct file_lease **flp, in generic_setlease()
1984 kernel_setlease(struct file *filp, int arg, struct file_lease **lease, void **priv) in kernel_setlease()
2013 vfs_setlease(struct file *filp, int arg, struct file_lease **lease, void **priv) in vfs_setlease()
2030 static int do_fcntl_add_lease(unsigned int fd, struct file *filp, int arg) in do_fcntl_add_lease()
2065 int fcntl_setlease(unsigned int fd, struct file *filp, int arg) in fcntl_setlease()
2198 int vfs_test_lock(struct file *filp, struct file_lock *fl) in vfs_test_lock()
2278 int fcntl_getlk(struct file *filp, unsigned int cmd, struct flock *flock) in fcntl_getlk()
2354 int vfs_lock_file(struct file *filp, unsigned int cmd, struct file_lock *fl, struct file_lock *conf) in vfs_lock_file()
2364 static int do_lock_file_wait(struct file *filp, unsigned int cmd, in do_lock_file_wait()
2406 int fcntl_setlk(unsigned int fd, struct file *filp, unsigned int cmd, in fcntl_setlk()
2486 int fcntl_getlk64(struct file *filp, unsigned int cmd, struct flock64 *flock) in fcntl_getlk64()
2529 int fcntl_setlk64(unsigned int fd, struct file *filp, unsigned int cmd, in fcntl_setlk64()
2609 void locks_remove_posix(struct file *filp, fl_owner_t owner) in locks_remove_posix()
2646 locks_remove_flock(struct file *filp, struct file_lock_context *flctx) in locks_remove_flock()
2668 locks_remove_lease(struct file *filp, struct file_lock_context *ctx) in locks_remove_lease()
2690 void locks_remove_file(struct file *filp) in locks_remove_file()
2721 int vfs_cancel_lock(struct file *filp, struct file_lock *fl) in vfs_cancel_lock()
2904 struct file *filp, struct files_struct *files) in __show_fd_locks()
2922 struct file *filp, struct files_struct *files) in show_fd_locks()