Lines Matching refs:filp
337 static inline void init_sync_kiocb(struct kiocb *kiocb, struct file *filp) in init_sync_kiocb() argument
340 .ki_filp = filp, in init_sync_kiocb()
341 .ki_flags = iocb_flags(filp), in init_sync_kiocb()
377 int (*readpages)(struct file *filp, struct address_space *mapping,
1025 extern int fcntl_setlease(unsigned int fd, struct file *filp, long arg);
1026 extern int fcntl_getlease(struct file *filp);
1044 extern int vfs_cancel_lock(struct file *filp, struct file_lock *fl);
1053 struct file *filp, struct files_struct *files);
1080 static inline int fcntl_setlease(unsigned int fd, struct file *filp, long arg) in fcntl_setlease() argument
1085 static inline int fcntl_getlease(struct file *filp) in fcntl_getlease() argument
1110 static inline void locks_remove_posix(struct file *filp, fl_owner_t owner) in locks_remove_posix() argument
1115 static inline void locks_remove_file(struct file *filp) in locks_remove_file() argument
1120 static inline void posix_test_lock(struct file *filp, struct file_lock *fl) in posix_test_lock() argument
1125 static inline int posix_lock_file(struct file *filp, struct file_lock *fl, in posix_lock_file() argument
1142 static inline int vfs_test_lock(struct file *filp, struct file_lock *fl) in vfs_test_lock() argument
1147 static inline int vfs_lock_file(struct file *filp, unsigned int cmd, in vfs_lock_file() argument
1153 static inline int vfs_cancel_lock(struct file *filp, struct file_lock *fl) in vfs_cancel_lock() argument
1174 static inline int generic_setlease(struct file *filp, long arg, in generic_setlease() argument
1180 static inline int vfs_setlease(struct file *filp, long arg, in vfs_setlease() argument
1194 struct file *filp, struct files_struct *files) {} in show_fd_locks() argument
1202 static inline int posix_lock_file_wait(struct file *filp, struct file_lock *fl) in posix_lock_file_wait() argument
1204 return posix_lock_inode_wait(file_inode(filp), fl); in posix_lock_file_wait()
1207 static inline int flock_lock_file_wait(struct file *filp, struct file_lock *fl) in flock_lock_file_wait() argument
1209 return flock_lock_inode_wait(file_inode(filp), fl); in flock_lock_file_wait()
1233 extern void __f_setown(struct file *filp, struct pid *, enum pid_type, int force);
1234 extern void f_setown(struct file *filp, unsigned long arg, int force);
1235 extern void f_delown(struct file *filp);
1236 extern pid_t f_getown(struct file *filp);
2050 struct file *filp, in locks_verify_truncate() argument
2055 FLOCK_VERIFY_WRITE, inode, filp, in locks_verify_truncate()
2130 struct file *filp, loff_t offset, in locks_mandatory_area() argument
2151 static inline int locks_verify_truncate(struct inode *inode, struct file *filp, in locks_verify_truncate() argument
2197 struct file *filp);
2225 extern int ioctl_preallocate(struct file *filp, void __user *argp);
2604 extern int blkdev_fsync(struct file *filp, loff_t start, loff_t end,
2631 extern int generic_file_open(struct inode * inode, struct file * filp);
2632 extern int nonseekable_open(struct inode * inode, struct file * filp);
2742 extern int do_vfs_ioctl(struct file *filp, unsigned int fd, unsigned int cmd,
2829 static inline bool io_is_direct(struct file *filp) in io_is_direct() argument
2831 return (filp->f_flags & O_DIRECT) || IS_DAX(file_inode(filp)); in io_is_direct()