Lines Matching refs:kiocb
56 struct kiocb;
96 typedef int (dio_iodone_t)(struct kiocb *iocb, loff_t offset,
326 struct kiocb { struct
333 void (*ki_complete)(struct kiocb *iocb, long ret); argument
342 static inline bool is_sync_kiocb(struct kiocb *kiocb) in is_sync_kiocb() argument
344 return kiocb->ki_complete == NULL; in is_sync_kiocb()
399 ssize_t (*direct_IO)(struct kiocb *, struct iov_iter *iter);
2074 ssize_t (*read_iter) (struct kiocb *, struct iov_iter *);
2075 ssize_t (*write_iter) (struct kiocb *, struct iov_iter *);
2076 int (*iopoll)(struct kiocb *kiocb, struct io_comp_batch *,
2153 static inline ssize_t call_read_iter(struct file *file, struct kiocb *kio, in call_read_iter()
2159 static inline ssize_t call_write_iter(struct file *file, struct kiocb *kio, in call_write_iter()
2317 typeof(((struct kiocb *)0)->ki_hint) max_hint = -1; in ki_hint_validate()
2324 static inline void init_sync_kiocb(struct kiocb *kiocb, struct file *filp) in init_sync_kiocb() argument
2326 *kiocb = (struct kiocb) { in init_sync_kiocb()
2334 static inline void kiocb_clone(struct kiocb *kiocb, struct kiocb *kiocb_src, in kiocb_clone() argument
2337 *kiocb = (struct kiocb) { in kiocb_clone()
2952 static inline ssize_t generic_write_sync(struct kiocb *iocb, ssize_t count) in generic_write_sync()
3202 extern ssize_t generic_write_checks(struct kiocb *, struct iov_iter *);
3206 ssize_t filemap_read(struct kiocb *iocb, struct iov_iter *to,
3208 extern ssize_t generic_file_read_iter(struct kiocb *, struct iov_iter *);
3209 extern ssize_t __generic_file_write_iter(struct kiocb *, struct iov_iter *);
3210 extern ssize_t generic_file_write_iter(struct kiocb *, struct iov_iter *);
3211 extern ssize_t generic_file_direct_write(struct kiocb *, struct iov_iter *);
3218 ssize_t vfs_iocb_iter_read(struct file *file, struct kiocb *iocb,
3220 ssize_t vfs_iocb_iter_write(struct file *file, struct kiocb *iocb,
3262 ssize_t __blockdev_direct_IO(struct kiocb *iocb, struct inode *inode,
3268 static inline ssize_t blockdev_direct_IO(struct kiocb *iocb, in blockdev_direct_IO()
3397 extern ssize_t noop_direct_IO(struct kiocb *iocb, struct iov_iter *iter);
3487 static inline int kiocb_set_rw_flags(struct kiocb *ki, rwf_t flags) in kiocb_set_rw_flags()