Searched refs:dio (Results 1 – 11 of 11) sorted by relevance
/linux-4.19.296/fs/ |
D | direct-io.c | 115 struct dio { struct 166 static inline int dio_refill_pages(struct dio *dio, struct dio_submit *sdio) in dio_refill_pages() argument 170 ret = iov_iter_get_pages(sdio->iter, dio->pages, LONG_MAX, DIO_PAGES, in dio_refill_pages() 173 if (ret < 0 && sdio->blocks_available && (dio->op == REQ_OP_WRITE)) { in dio_refill_pages() 180 if (dio->page_errors == 0) in dio_refill_pages() 181 dio->page_errors = ret; in dio_refill_pages() 183 dio->pages[0] = page; in dio_refill_pages() 208 static inline struct page *dio_get_page(struct dio *dio, in dio_get_page() argument 214 ret = dio_refill_pages(dio, sdio); in dio_get_page() 219 return dio->pages[sdio->head]; in dio_get_page() [all …]
|
D | iomap.c | 1481 static ssize_t iomap_dio_complete(struct iomap_dio *dio) in iomap_dio_complete() argument 1483 struct kiocb *iocb = dio->iocb; in iomap_dio_complete() 1488 if (dio->end_io) { in iomap_dio_complete() 1489 ret = dio->end_io(iocb, in iomap_dio_complete() 1490 dio->error ? dio->error : dio->size, in iomap_dio_complete() 1491 dio->flags); in iomap_dio_complete() 1493 ret = dio->error; in iomap_dio_complete() 1497 ret = dio->size; in iomap_dio_complete() 1499 if (offset + ret > dio->i_size && in iomap_dio_complete() 1500 !(dio->flags & IOMAP_DIO_WRITE)) in iomap_dio_complete() [all …]
|
D | block_dev.c | 296 struct blkdev_dio *dio = bio->bi_private; in blkdev_bio_end_io() local 297 bool should_dirty = dio->should_dirty; in blkdev_bio_end_io() 299 if (bio->bi_status && !dio->bio.bi_status) in blkdev_bio_end_io() 300 dio->bio.bi_status = bio->bi_status; in blkdev_bio_end_io() 302 if (!dio->multi_bio || atomic_dec_and_test(&dio->ref)) { in blkdev_bio_end_io() 303 if (!dio->is_sync) { in blkdev_bio_end_io() 304 struct kiocb *iocb = dio->iocb; in blkdev_bio_end_io() 307 if (likely(!dio->bio.bi_status)) { in blkdev_bio_end_io() 308 ret = dio->size; in blkdev_bio_end_io() 311 ret = blk_status_to_errno(dio->bio.bi_status); in blkdev_bio_end_io() [all …]
|
/linux-4.19.296/fs/ocfs2/ |
D | namei.h | 41 bool dio);
|
D | namei.c | 84 bool dio); 93 bool dio); 2137 bool dio) in __ocfs2_prepare_orphan_dir() argument 2141 int namelen = dio ? in __ocfs2_prepare_orphan_dir() 2145 if (dio) { in __ocfs2_prepare_orphan_dir() 2193 bool dio) in ocfs2_prepare_orphan_dir() argument 2207 blkno, name, lookup, dio); in ocfs2_prepare_orphan_dir() 2236 bool dio) in ocfs2_orphan_add() argument 2242 int namelen = dio ? in ocfs2_orphan_add() 2296 if (dio) { in ocfs2_orphan_add() [all …]
|
/linux-4.19.296/drivers/iio/adc/ |
D | stx104.c | 71 u8 dio; member 398 stx104gpio->base = &priv->reg->dio; in stx104_probe()
|
/linux-4.19.296/drivers/ |
D | Makefile | 97 obj-$(CONFIG_DIO) += dio/
|
/linux-4.19.296/fs/btrfs/ |
D | file-item.c | 151 u64 logical_offset, u32 *dst, int dio) in __btrfs_lookup_bio_sums() argument 209 if (dio) in __btrfs_lookup_bio_sums() 217 if (!dio) in __btrfs_lookup_bio_sums()
|
D | ordered-data.c | 173 int type, int dio, int compress_type) in __btrfs_add_ordered_extent() argument 197 if (dio) in __btrfs_add_ordered_extent()
|
/linux-4.19.296/drivers/gpio/ |
D | Makefile | 20 obj-$(CONFIG_GPIO_104_DIO_48E) += gpio-104-dio-48e.o
|
/linux-4.19.296/ |
D | MAINTAINERS | 256 F: drivers/gpio/gpio-104-dio-48e.c
|