Lines Matching refs:kiocb
53 struct kiocb;
92 typedef int (dio_iodone_t)(struct kiocb *iocb, loff_t offset,
318 struct kiocb { struct
325 void (*ki_complete)(struct kiocb *iocb, long ret, long ret2); argument
335 static inline bool is_sync_kiocb(struct kiocb *kiocb) in is_sync_kiocb() argument
337 return kiocb->ki_complete == NULL; in is_sync_kiocb()
391 ssize_t (*direct_IO)(struct kiocb *, struct iov_iter *iter);
1837 ssize_t (*read_iter) (struct kiocb *, struct iov_iter *);
1838 ssize_t (*write_iter) (struct kiocb *, struct iov_iter *);
1839 int (*iopoll)(struct kiocb *kiocb, bool spin);
1906 static inline ssize_t call_read_iter(struct file *file, struct kiocb *kio, in call_read_iter()
1912 static inline ssize_t call_write_iter(struct file *file, struct kiocb *kio, in call_write_iter()
2081 typeof(((struct kiocb *)0)->ki_hint) max_hint = -1; in ki_hint_validate()
2088 static inline void init_sync_kiocb(struct kiocb *kiocb, struct file *filp) in init_sync_kiocb() argument
2090 *kiocb = (struct kiocb) { in init_sync_kiocb()
2877 static inline ssize_t generic_write_sync(struct kiocb *iocb, ssize_t count) in generic_write_sync()
3119 extern ssize_t generic_write_checks(struct kiocb *, struct iov_iter *);
3127 extern ssize_t generic_file_read_iter(struct kiocb *, struct iov_iter *);
3128 extern ssize_t __generic_file_write_iter(struct kiocb *, struct iov_iter *);
3129 extern ssize_t generic_file_write_iter(struct kiocb *, struct iov_iter *);
3130 extern ssize_t generic_file_direct_write(struct kiocb *, struct iov_iter *);
3139 extern ssize_t blkdev_read_iter(struct kiocb *iocb, struct iov_iter *to);
3140 extern ssize_t blkdev_write_iter(struct kiocb *iocb, struct iov_iter *from);
3187 ssize_t __blockdev_direct_IO(struct kiocb *iocb, struct inode *inode,
3193 static inline ssize_t blockdev_direct_IO(struct kiocb *iocb, in blockdev_direct_IO()
3332 extern ssize_t noop_direct_IO(struct kiocb *iocb, struct iov_iter *iter);
3425 static inline int kiocb_set_rw_flags(struct kiocb *ki, rwf_t flags) in kiocb_set_rw_flags()