/linux-5.19.10/fs/ |
D | direct-io.c | 118 struct dio { struct 168 static inline int dio_refill_pages(struct dio *dio, struct dio_submit *sdio) in dio_refill_pages() argument 172 ret = iov_iter_get_pages(sdio->iter, dio->pages, LONG_MAX, DIO_PAGES, in dio_refill_pages() 175 if (ret < 0 && sdio->blocks_available && (dio->op == REQ_OP_WRITE)) { in dio_refill_pages() 182 if (dio->page_errors == 0) in dio_refill_pages() 183 dio->page_errors = ret; in dio_refill_pages() 185 dio->pages[0] = page; in dio_refill_pages() 210 static inline struct page *dio_get_page(struct dio *dio, in dio_get_page() argument 216 ret = dio_refill_pages(dio, sdio); in dio_get_page() 221 return dio->pages[sdio->head]; in dio_get_page() [all …]
|
/linux-5.19.10/fs/iomap/ |
D | direct-io.c | 55 struct iomap_dio *dio, unsigned short nr_vecs, unsigned int opf) in iomap_dio_alloc_bio() argument 57 if (dio->dops && dio->dops->bio_set) in iomap_dio_alloc_bio() 59 GFP_KERNEL, dio->dops->bio_set); in iomap_dio_alloc_bio() 64 struct iomap_dio *dio, struct bio *bio, loff_t pos) in iomap_dio_submit_bio() argument 66 atomic_inc(&dio->ref); in iomap_dio_submit_bio() 69 if ((dio->iocb->ki_flags & IOCB_HIPRI) && !is_sync_kiocb(dio->iocb)) { in iomap_dio_submit_bio() 70 bio_set_polled(bio, dio->iocb); in iomap_dio_submit_bio() 71 dio->submit.poll_bio = bio; in iomap_dio_submit_bio() 74 if (dio->dops && dio->dops->submit_io) in iomap_dio_submit_bio() 75 dio->dops->submit_io(iter, bio, pos); in iomap_dio_submit_bio() [all …]
|
/linux-5.19.10/block/ |
D | fops.c | 126 struct blkdev_dio *dio = bio->bi_private; in blkdev_bio_end_io() local 127 bool should_dirty = dio->flags & DIO_SHOULD_DIRTY; in blkdev_bio_end_io() 129 if (bio->bi_status && !dio->bio.bi_status) in blkdev_bio_end_io() 130 dio->bio.bi_status = bio->bi_status; in blkdev_bio_end_io() 132 if (atomic_dec_and_test(&dio->ref)) { in blkdev_bio_end_io() 133 if (!(dio->flags & DIO_IS_SYNC)) { in blkdev_bio_end_io() 134 struct kiocb *iocb = dio->iocb; in blkdev_bio_end_io() 139 if (likely(!dio->bio.bi_status)) { in blkdev_bio_end_io() 140 ret = dio->size; in blkdev_bio_end_io() 143 ret = blk_status_to_errno(dio->bio.bi_status); in blkdev_bio_end_io() [all …]
|
/linux-5.19.10/drivers/md/ |
D | dm-integrity.c | 384 static void dm_integrity_map_continue(struct dm_integrity_io *dio, bool from_map); 1568 static void submit_flush_bio(struct dm_integrity_c *ic, struct dm_integrity_io *dio) in submit_flush_bio() argument 1574 bio = dm_bio_from_per_bio_data(dio, sizeof(struct dm_integrity_io)); in submit_flush_bio() 1597 static void do_endio_flush(struct dm_integrity_c *ic, struct dm_integrity_io *dio) in do_endio_flush() argument 1599 struct bio *bio = dm_bio_from_per_bio_data(dio, sizeof(struct dm_integrity_io)); in do_endio_flush() 1601 if (unlikely(dio->fua) && likely(!bio->bi_status) && likely(!dm_integrity_failed(ic))) in do_endio_flush() 1602 submit_flush_bio(ic, dio); in do_endio_flush() 1607 static void dec_in_flight(struct dm_integrity_io *dio) in dec_in_flight() argument 1609 if (atomic_dec_and_test(&dio->in_flight)) { in dec_in_flight() 1610 struct dm_integrity_c *ic = dio->ic; in dec_in_flight() [all …]
|
/linux-5.19.10/drivers/dio/ |
D | Makefile | 6 obj-y := dio.o dio-driver.o dio-sysfs.o
|
/linux-5.19.10/drivers/scsi/bfa/ |
D | bfa_fcpim.h | 166 struct bfad_ioim_s *dio; /* driver IO handle */ member 359 struct bfad_ioim_s *dio, 380 void bfa_cb_ioim_done(void *bfad, struct bfad_ioim_s *dio, 388 void bfa_cb_ioim_good_comp(void *bfad, struct bfad_ioim_s *dio); 393 void bfa_cb_ioim_abort(void *bfad, struct bfad_ioim_s *dio);
|
D | bfad_im.c | 33 bfa_cb_ioim_done(void *drv, struct bfad_ioim_s *dio, in bfa_cb_ioim_done() argument 37 struct scsi_cmnd *cmnd = (struct scsi_cmnd *)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() argument 105 struct scsi_cmnd *cmnd = (struct scsi_cmnd *)dio; in bfa_cb_ioim_good_comp() 131 bfa_cb_ioim_abort(void *drv, struct bfad_ioim_s *dio) in bfa_cb_ioim_abort() argument 133 struct scsi_cmnd *cmnd = (struct scsi_cmnd *)dio; in bfa_cb_ioim_abort() 208 if (hal_io->dio != (struct bfad_ioim_s *) cmnd) { in bfad_im_abort_handler()
|
D | bfa_fcpim.c | 447 idx = bfa_ioim_get_index(scsi_bufflen((struct scsi_cmnd *)ioim->dio)); in bfa_ioim_profile_comp() 2127 bfa_cb_ioim_good_comp(ioim->bfa->bfad, ioim->dio); in __bfa_cb_ioim_good_comp() 2170 bfa_cb_ioim_done(ioim->bfa->bfad, ioim->dio, m->io_status, in __bfa_cb_ioim_comp() 2396 bfa_cb_ioim_done(ioim->bfa->bfad, ioim->dio, BFI_IOIM_STS_ABORTED, in __bfa_cb_ioim_failed() 2411 bfa_cb_ioim_done(ioim->bfa->bfad, ioim->dio, BFI_IOIM_STS_PATHTOV, in __bfa_cb_ioim_pathtov() 2425 bfa_cb_ioim_abort(ioim->bfa->bfad, ioim->dio); in __bfa_cb_ioim_abort() 2454 struct scsi_cmnd *cmnd = (struct scsi_cmnd *) ioim->dio; in bfa_ioim_send_ioreq() 2930 bfa_ioim_alloc(struct bfa_s *bfa, struct bfad_ioim_s *dio, in bfa_ioim_alloc() argument 2948 ioim->dio = dio; in bfa_ioim_alloc() 3318 cmnd = (struct scsi_cmnd *) ioim->dio; in bfa_tskim_gather_ios() [all …]
|
/linux-5.19.10/fs/ocfs2/ |
D | namei.h | 25 bool dio);
|
D | namei.c | 69 bool dio); 78 bool dio); 2130 bool dio) in __ocfs2_prepare_orphan_dir() argument 2134 int namelen = dio ? in __ocfs2_prepare_orphan_dir() 2138 if (dio) { in __ocfs2_prepare_orphan_dir() 2186 bool dio) in ocfs2_prepare_orphan_dir() argument 2200 blkno, name, lookup, dio); in ocfs2_prepare_orphan_dir() 2229 bool dio) in ocfs2_orphan_add() argument 2235 int namelen = dio ? in ocfs2_orphan_add() 2289 if (dio) { in ocfs2_orphan_add() [all …]
|
/linux-5.19.10/Documentation/ABI/testing/ |
D | sysfs-block-loop | 44 What: /sys/block/loopX/loop/dio
|
/linux-5.19.10/fs/f2fs/ |
D | file.c | 4239 struct iomap_dio *dio; in f2fs_dio_read_iter() local 4262 dio = __iomap_dio_rw(iocb, to, &f2fs_iomap_ops, in f2fs_dio_read_iter() 4264 if (IS_ERR_OR_NULL(dio)) { in f2fs_dio_read_iter() 4265 ret = PTR_ERR_OR_ZERO(dio); in f2fs_dio_read_iter() 4269 ret = iomap_dio_complete(dio); in f2fs_dio_read_iter() 4350 bool dio) in f2fs_preallocate_blocks() argument 4361 if (dio && f2fs_lfs_mode(sbi)) in f2fs_preallocate_blocks() 4367 if (dio && i_size_read(inode) && in f2fs_preallocate_blocks() 4396 if (dio) { in f2fs_preallocate_blocks() 4461 struct iomap_dio *dio; in f2fs_dio_write_iter() local [all …]
|
/linux-5.19.10/drivers/comedi/drivers/ |
D | ni_670x.c | 68 int dio; member
|
D | ni_pcidio.c | 286 int dio; member
|
/linux-5.19.10/drivers/ |
D | Makefile | 97 obj-$(CONFIG_DIO) += dio/
|
/linux-5.19.10/include/linux/ |
D | iomap.h | 362 ssize_t iomap_dio_complete(struct iomap_dio *dio);
|
/linux-5.19.10/drivers/block/ |
D | loop.c | 168 static void __loop_update_dio(struct loop_device *lo, bool dio) in __loop_update_dio() argument 191 if (dio) { in __loop_update_dio() 717 int dio = (lo->lo_flags & LO_FLAGS_DIRECT_IO); in loop_attr_dio_show() local 719 return sysfs_emit(buf, "%s\n", dio ? "1" : "0"); in loop_attr_dio_show() 727 LOOP_ATTR_RO(dio);
|
/linux-5.19.10/drivers/gpio/ |
D | Makefile | 21 obj-$(CONFIG_GPIO_104_DIO_48E) += gpio-104-dio-48e.o
|
/linux-5.19.10/drivers/comedi/ |
D | Kconfig | 1002 tristate "NI 65xx static dio PCI card support" 1004 Enable support for National Instruments 65xx static dio boards.
|
/linux-5.19.10/ |
D | MAINTAINERS | 286 F: drivers/gpio/gpio-104-dio-48e.c
|