Home
last modified time | relevance | path

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

/fs/
Ddirect-io.c117 struct dio { struct
164 static inline int dio_refill_pages(struct dio *dio, struct dio_submit *sdio) in dio_refill_pages() argument
173 dio->rw == READ, /* Write to memory? */ in dio_refill_pages()
174 &dio->pages[0]); /* Put results here */ in dio_refill_pages()
176 if (ret < 0 && sdio->blocks_available && (dio->rw & WRITE)) { in dio_refill_pages()
183 if (dio->page_errors == 0) in dio_refill_pages()
184 dio->page_errors = ret; in dio_refill_pages()
186 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()
[all …]
/fs/btrfs/
Dfile-item.c158 u64 logical_offset, u32 *dst, int dio) in __btrfs_lookup_bio_sums() argument
195 if (dio) in __btrfs_lookup_bio_sums()
199 if (!dio) in __btrfs_lookup_bio_sums()
263 if (dio) in __btrfs_lookup_bio_sums()
Dordered-data.c185 int type, int dio, int compress_type) in __btrfs_add_ordered_extent() argument
209 if (dio) in __btrfs_add_ordered_extent()