Home
last modified time | relevance | path

Searched refs:dio (Results 1 – 5 of 5) sorted by relevance

/fs/
Ddirect-io.c109 struct dio { struct
160 static inline int dio_refill_pages(struct dio *dio, struct dio_submit *sdio) in dio_refill_pages() argument
164 ret = iov_iter_get_pages(sdio->iter, dio->pages, LONG_MAX, DIO_PAGES, in dio_refill_pages()
167 if (ret < 0 && sdio->blocks_available && (dio->op == REQ_OP_WRITE)) { in dio_refill_pages()
174 if (dio->page_errors == 0) in dio_refill_pages()
175 dio->page_errors = ret; in dio_refill_pages()
177 dio->pages[0] = page; in dio_refill_pages()
202 static inline struct page *dio_get_page(struct dio *dio, in dio_get_page() argument
208 ret = dio_refill_pages(dio, sdio); in dio_get_page()
213 return dio->pages[sdio->head]; in dio_get_page()
[all …]
/fs/ocfs2/
Dnamei.h41 bool dio);
Dnamei.c83 bool dio);
92 bool dio);
2131 bool dio) in __ocfs2_prepare_orphan_dir() argument
2135 int namelen = dio ? in __ocfs2_prepare_orphan_dir()
2139 if (dio) { in __ocfs2_prepare_orphan_dir()
2187 bool dio) in ocfs2_prepare_orphan_dir() argument
2201 blkno, name, lookup, dio); in ocfs2_prepare_orphan_dir()
2230 bool dio) in ocfs2_orphan_add() argument
2236 int namelen = dio ? in ocfs2_orphan_add()
2290 if (dio) { in ocfs2_orphan_add()
[all …]
/fs/btrfs/
Dfile-item.c164 u64 logical_offset, u32 *dst, int dio) in __btrfs_lookup_bio_sums() argument
223 if (dio) in __btrfs_lookup_bio_sums()
228 if (!dio) in __btrfs_lookup_bio_sums()
Dordered-data.c187 int type, int dio, int compress_type) in __btrfs_add_ordered_extent() argument
210 if (dio) in __btrfs_add_ordered_extent()