Lines Matching refs:filp

338 static inline void init_sync_kiocb(struct kiocb *kiocb, struct file *filp)  in init_sync_kiocb()  argument
341 .ki_filp = filp, in init_sync_kiocb()
342 .ki_flags = iocb_flags(filp), in init_sync_kiocb()
378 int (*readpages)(struct file *filp, struct address_space *mapping,
1041 extern int fcntl_setlease(unsigned int fd, struct file *filp, long arg);
1042 extern int fcntl_getlease(struct file *filp);
1059 extern int vfs_cancel_lock(struct file *filp, struct file_lock *fl);
1068 struct file *filp, struct files_struct *files);
1095 static inline int fcntl_setlease(unsigned int fd, struct file *filp, long arg) in fcntl_setlease() argument
1100 static inline int fcntl_getlease(struct file *filp) in fcntl_getlease() argument
1125 static inline void locks_remove_posix(struct file *filp, fl_owner_t owner) in locks_remove_posix() argument
1130 static inline void locks_remove_file(struct file *filp) in locks_remove_file() argument
1135 static inline void posix_test_lock(struct file *filp, struct file_lock *fl) in posix_test_lock() argument
1140 static inline int posix_lock_file(struct file *filp, struct file_lock *fl, in posix_lock_file() argument
1151 static inline int vfs_test_lock(struct file *filp, struct file_lock *fl) in vfs_test_lock() argument
1156 static inline int vfs_lock_file(struct file *filp, unsigned int cmd, in vfs_lock_file() argument
1162 static inline int vfs_cancel_lock(struct file *filp, struct file_lock *fl) in vfs_cancel_lock() argument
1182 static inline int generic_setlease(struct file *filp, long arg, in generic_setlease() argument
1188 static inline int vfs_setlease(struct file *filp, long arg, in vfs_setlease() argument
1202 struct file *filp, struct files_struct *files) {} in show_fd_locks() argument
1220 static inline int locks_lock_file_wait(struct file *filp, struct file_lock *fl) in locks_lock_file_wait() argument
1222 return locks_lock_inode_wait(file_inode(filp), fl); in locks_lock_file_wait()
1246 extern void __f_setown(struct file *filp, struct pid *, enum pid_type, int force);
1247 extern void f_setown(struct file *filp, unsigned long arg, int force);
1248 extern void f_delown(struct file *filp);
1249 extern pid_t f_getown(struct file *filp);
2075 struct file *filp, in locks_verify_truncate() argument
2080 FLOCK_VERIFY_WRITE, inode, filp, in locks_verify_truncate()
2155 struct file *filp, loff_t offset, in locks_mandatory_area() argument
2176 static inline int locks_verify_truncate(struct inode *inode, struct file *filp, in locks_verify_truncate() argument
2222 struct file *filp);
2250 extern int ioctl_preallocate(struct file *filp, void __user *argp);
2646 extern int blkdev_fsync(struct file *filp, loff_t start, loff_t end,
2673 extern int generic_file_open(struct inode * inode, struct file * filp);
2674 extern int nonseekable_open(struct inode * inode, struct file * filp);
2777 extern int do_vfs_ioctl(struct file *filp, unsigned int fd, unsigned int cmd,
2864 static inline bool io_is_direct(struct file *filp) in io_is_direct() argument
2866 return (filp->f_flags & O_DIRECT) || IS_DAX(file_inode(filp)); in io_is_direct()