Home
last modified time | relevance | path

Searched defs:dio (Results 1 – 12 of 12) sorted by relevance

/linux/fs/
H A Ddirect-io.c116 struct dio { struct
122 dio_iodone_t *end_io; /* IO completion function */ argument
123 bool is_pinned; /* T if we have pins on the pages */
125 void *private; /* copy from map_bh.b_private */
128 spinlock_t bio_lock; /* protects BIO fields below */
129 int page_errors; /* err from iov_iter_extract_pages() */
153 static struct kmem_cache *dio_cache __ro_after_init; argument
166 static inline int dio_refill_pages(struct dio *dio, struct dio_submit *sdio) in dio_refill_pages()
207 static inline struct page *dio_get_page(struct dio *dio, in dio_get_page()
221 static void dio_pin_page(struct dio *dio, struct page *page) in dio_pin_page()
[all …]
/linux/fs/iomap/
H A Ddirect-io.c63 struct iomap_dio *dio, unsigned short nr_vecs, blk_opf_t opf) in iomap_dio_alloc_bio()
72 struct iomap_dio *dio, struct bio *bio, loff_t pos) in iomap_dio_submit_bio()
90 ssize_t iomap_dio_complete(struct iomap_dio *dio) in iomap_dio_complete()
150 struct iomap_dio *dio = container_of(work, struct iomap_dio, aio.work); in iomap_dio_complete_work() local
161 static inline void iomap_dio_set_error(struct iomap_dio *dio, int ret) in iomap_dio_set_error()
168 struct iomap_dio *dio = bio->bi_private; in iomap_dio_bio_end_io() local
242 static int iomap_dio_zero(const struct iomap_iter *iter, struct iomap_dio *dio, in iomap_dio_zero()
273 static inline blk_opf_t iomap_dio_bio_opflags(struct iomap_dio *dio, in iomap_dio_bio_opflags()
293 struct iomap_dio *dio) in iomap_dio_bio_iter()
475 struct iomap_dio *dio) in iomap_dio_hole_iter()
[all …]
/linux/fs/bcachefs/
H A Dfs-io-direct.c48 struct dio_read *dio = bio->bi_private; in bch2_direct_IO_read_endio() local
58 struct dio_read *dio = bio->bi_private; in bch2_direct_IO_read_split_endio() local
71 struct dio_read *dio; in bch2_direct_IO_read() local
279 static noinline bool bch2_dio_write_check_allocated(struct dio_write *dio) in bch2_dio_write_check_allocated()
300 static noinline int bch2_dio_write_copy_iov(struct dio_write *dio) in bch2_dio_write_copy_iov()
341 static noinline void bch2_dio_write_flush(struct dio_write *dio) in bch2_dio_write_flush()
370 static __always_inline long bch2_dio_write_done(struct dio_write *dio) in bch2_dio_write_done()
406 static __always_inline void bch2_dio_write_end(struct dio_write *dio) in bch2_dio_write_end()
436 static __always_inline long bch2_dio_write_loop(struct dio_write *dio) in bch2_dio_write_loop()
555 static noinline __cold void bch2_dio_write_continue(struct dio_write *dio) in bch2_dio_write_continue()
[all …]
/linux/block/
H A Dfops.c125 struct blkdev_dio *dio = bio->bi_private; in blkdev_bio_end_io() local
167 struct blkdev_dio *dio; in __blkdev_direct_IO() local
276 struct blkdev_dio *dio = container_of(bio, struct blkdev_dio, bio); in blkdev_bio_end_io_async() local
306 struct blkdev_dio *dio; in __blkdev_direct_IO_async() local
/linux/drivers/md/
H A Ddm-integrity.c1556 static void submit_flush_bio(struct dm_integrity_c *ic, struct dm_integrity_io *dio) in submit_flush_bio()
1588 static void do_endio_flush(struct dm_integrity_c *ic, struct dm_integrity_io *dio) in do_endio_flush()
1598 static void dec_in_flight(struct dm_integrity_io *dio) in dec_in_flight()
1625 struct dm_integrity_io *dio = dm_per_bio_data(bio, sizeof(struct dm_integrity_io)); in integrity_end_io() local
1690 static noinline void integrity_recheck(struct dm_integrity_io *dio, char *checksum) in integrity_recheck()
1771 struct dm_integrity_io *dio = container_of(w, struct dm_integrity_io, work); in integrity_metadata() local
1944 struct dm_integrity_io *dio = dm_per_bio_data(bio, sizeof(struct dm_integrity_io)); in dm_integrity_map() local
2026 static bool __journal_read_write(struct dm_integrity_io *dio, struct bio *bio, in __journal_read_write()
2180 static void dm_integrity_map_continue(struct dm_integrity_io *dio, bool from_map) in dm_integrity_map_continue()
2409 static int dm_integrity_map_inline(struct dm_integrity_io *dio, bool from_map) in dm_integrity_map_inline()
[all …]
/linux/drivers/scsi/bfa/
H A Dbfad_im.c33 bfa_cb_ioim_done(void *drv, struct bfad_ioim_s *dio, in bfa_cb_ioim_done()
103 bfa_cb_ioim_good_comp(void *drv, struct bfad_ioim_s *dio) in bfa_cb_ioim_good_comp()
131 bfa_cb_ioim_abort(void *drv, struct bfad_ioim_s *dio) in bfa_cb_ioim_abort()
/linux/fs/ocfs2/
H A Dnamei.c2151 bool dio) in __ocfs2_prepare_orphan_dir()
2209 bool dio) in ocfs2_prepare_orphan_dir()
2252 bool dio) in ocfs2_orphan_add()
2352 bool dio) in ocfs2_orphan_del()
/linux/drivers/comedi/drivers/
H A Dni_670x.c68 int dio; member
H A Dni_pcidio.c286 int dio; member
/linux/fs/btrfs/
H A Ddirect-io.c805 struct iomap_dio *dio; in btrfs_direct_write() local
/linux/fs/f2fs/
H A Dfile.c4604 struct iomap_dio *dio; in f2fs_dio_read_iter() local
4760 bool dio) in f2fs_preallocate_blocks()
4899 struct iomap_dio *dio; in f2fs_dio_write_iter() local
5006 bool dio; in f2fs_file_write_iter() local
/linux/drivers/block/
H A Dloop.c185 static void __loop_update_dio(struct loop_device *lo, bool dio) in __loop_update_dio()
733 int dio = (lo->lo_flags & LO_FLAGS_DIRECT_IO); in loop_attr_dio_show() local