Lines Matching refs:kiocb

58 struct kiocb;
92 typedef int (dio_iodone_t)(struct kiocb *iocb, loff_t offset,
373 struct kiocb { struct
376 void (*ki_complete)(struct kiocb *iocb, long ret); argument
399 static inline bool is_sync_kiocb(struct kiocb *kiocb) in is_sync_kiocb() argument
401 return kiocb->ki_complete == NULL; in is_sync_kiocb()
428 ssize_t (*direct_IO)(struct kiocb *, struct iov_iter *iter);
445 int (*swap_rw)(struct kiocb *iocb, struct iov_iter *iter);
1918 ssize_t (*read_iter) (struct kiocb *, struct iov_iter *);
1919 ssize_t (*write_iter) (struct kiocb *, struct iov_iter *);
1920 int (*iopoll)(struct kiocb *kiocb, struct io_comp_batch *,
2008 static inline ssize_t call_read_iter(struct file *file, struct kiocb *kio, in call_read_iter()
2014 static inline ssize_t call_write_iter(struct file *file, struct kiocb *kio, in call_write_iter()
2169 static inline void init_sync_kiocb(struct kiocb *kiocb, struct file *filp) in init_sync_kiocb() argument
2171 *kiocb = (struct kiocb) { in init_sync_kiocb()
2178 static inline void kiocb_clone(struct kiocb *kiocb, struct kiocb *kiocb_src, in kiocb_clone() argument
2181 *kiocb = (struct kiocb) { in kiocb_clone()
2356 int kiocb_modified(struct kiocb *iocb);
2631 static inline bool iocb_is_dsync(const struct kiocb *iocb) in iocb_is_dsync()
2642 static inline ssize_t generic_write_sync(struct kiocb *iocb, ssize_t count) in generic_write_sync()
2735 static inline void kiocb_start_write(struct kiocb *iocb) in kiocb_start_write()
2753 static inline void kiocb_end_write(struct kiocb *iocb) in kiocb_end_write()
2953 extern ssize_t generic_write_checks(struct kiocb *, struct iov_iter *);
2954 int generic_write_checks_count(struct kiocb *iocb, loff_t *count);
2958 ssize_t filemap_read(struct kiocb *iocb, struct iov_iter *to,
2960 extern ssize_t generic_file_read_iter(struct kiocb *, struct iov_iter *);
2961 extern ssize_t __generic_file_write_iter(struct kiocb *, struct iov_iter *);
2962 extern ssize_t generic_file_write_iter(struct kiocb *, struct iov_iter *);
2963 extern ssize_t generic_file_direct_write(struct kiocb *, struct iov_iter *);
2964 ssize_t generic_perform_write(struct kiocb *, struct iov_iter *);
2965 ssize_t direct_write_fallback(struct kiocb *iocb, struct iov_iter *iter,
2972 ssize_t vfs_iocb_iter_read(struct file *file, struct kiocb *iocb,
2974 ssize_t vfs_iocb_iter_write(struct file *file, struct kiocb *iocb,
3019 ssize_t __blockdev_direct_IO(struct kiocb *iocb, struct inode *inode,
3025 static inline ssize_t blockdev_direct_IO(struct kiocb *iocb, in blockdev_direct_IO()
3146 extern ssize_t noop_direct_IO(struct kiocb *iocb, struct iov_iter *iter);
3240 static inline int kiocb_set_rw_flags(struct kiocb *ki, rwf_t flags) in kiocb_set_rw_flags()