Searched refs:dio (Results 1 – 6 of 6) sorted by relevance
/fs/ |
D | direct-io.c | 117 struct dio { struct 167 static inline int dio_refill_pages(struct dio *dio, struct dio_submit *sdio) in dio_refill_pages() argument 169 struct page **pages = dio->pages; in dio_refill_pages() 170 const enum req_op dio_op = dio->opf & REQ_OP_MASK; in dio_refill_pages() 182 if (dio->page_errors == 0) in dio_refill_pages() 183 dio->page_errors = ret; in dio_refill_pages() 184 dio->pages[0] = ZERO_PAGE(0); 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 …]
|
/fs/iomap/ |
D | direct-io.c | 56 struct iomap_dio *dio, unsigned short nr_vecs, blk_opf_t opf) in iomap_dio_alloc_bio() argument 58 if (dio->dops && dio->dops->bio_set) in iomap_dio_alloc_bio() 60 GFP_KERNEL, dio->dops->bio_set); in iomap_dio_alloc_bio() 65 struct iomap_dio *dio, struct bio *bio, loff_t pos) in iomap_dio_submit_bio() argument 67 struct kiocb *iocb = dio->iocb; in iomap_dio_submit_bio() 69 atomic_inc(&dio->ref); in iomap_dio_submit_bio() 77 if (dio->dops && dio->dops->submit_io) in iomap_dio_submit_bio() 78 dio->dops->submit_io(iter, bio, pos); in iomap_dio_submit_bio() 83 ssize_t iomap_dio_complete(struct iomap_dio *dio) in iomap_dio_complete() argument 85 const struct iomap_dio_ops *dops = dio->dops; in iomap_dio_complete() [all …]
|
/fs/ocfs2/ |
D | namei.c | 69 bool dio); 78 bool dio); 2139 bool dio) in __ocfs2_prepare_orphan_dir() argument 2143 int namelen = dio ? in __ocfs2_prepare_orphan_dir() 2147 if (dio) { in __ocfs2_prepare_orphan_dir() 2195 bool dio) in ocfs2_prepare_orphan_dir() argument 2209 blkno, name, lookup, dio); in ocfs2_prepare_orphan_dir() 2238 bool dio) in ocfs2_orphan_add() argument 2244 int namelen = dio ? in ocfs2_orphan_add() 2298 if (dio) { in ocfs2_orphan_add() [all …]
|
D | namei.h | 25 bool dio);
|
/fs/f2fs/ |
D | file.c | 4531 struct iomap_dio *dio; in f2fs_dio_read_iter() local 4554 dio = __iomap_dio_rw(iocb, to, &f2fs_iomap_ops, in f2fs_dio_read_iter() 4556 if (IS_ERR_OR_NULL(dio)) { in f2fs_dio_read_iter() 4557 ret = PTR_ERR_OR_ZERO(dio); in f2fs_dio_read_iter() 4561 ret = iomap_dio_complete(dio); in f2fs_dio_read_iter() 4675 bool dio) in f2fs_preallocate_blocks() argument 4686 if (dio && f2fs_lfs_mode(sbi)) in f2fs_preallocate_blocks() 4692 if (dio && i_size_read(inode) && in f2fs_preallocate_blocks() 4722 if (dio) { in f2fs_preallocate_blocks() 4813 struct iomap_dio *dio; in f2fs_dio_write_iter() local [all …]
|
/fs/btrfs/ |
D | file.c | 1465 struct iomap_dio *dio; in btrfs_direct_write() local 1540 dio = btrfs_dio_write(iocb, from, written); in btrfs_direct_write() 1543 if (IS_ERR_OR_NULL(dio)) { in btrfs_direct_write() 1544 err = PTR_ERR_OR_ZERO(dio); in btrfs_direct_write() 1563 err = iomap_dio_complete(dio); in btrfs_direct_write()
|