Lines Matching defs:dio
117 struct dio { struct
123 dio_iodone_t *end_io; /* IO completion function */ argument
124 bool is_pinned; /* T if we have pins on the pages */
126 void *private; /* copy from map_bh.b_private */
129 spinlock_t bio_lock; /* protects BIO fields below */
130 int page_errors; /* err from iov_iter_extract_pages() */
154 static struct kmem_cache *dio_cache __read_mostly; argument
167 static inline int dio_refill_pages(struct dio *dio, struct dio_submit *sdio) in dio_refill_pages()
208 static inline struct page *dio_get_page(struct dio *dio, in dio_get_page()
222 static void dio_pin_page(struct dio *dio, struct page *page) in dio_pin_page()
228 static void dio_unpin_page(struct dio *dio, struct page *page) in dio_unpin_page()
245 static ssize_t dio_complete(struct dio *dio, ssize_t ret, unsigned int flags) in dio_complete()
324 struct dio *dio = container_of(work, struct dio, complete_work); in dio_aio_complete_work() local
336 struct dio *dio = bio->bi_private; in dio_bio_end_aio() local
383 struct dio *dio = bio->bi_private; in dio_bio_end_io() local
395 dio_bio_alloc(struct dio *dio, struct dio_submit *sdio, in dio_bio_alloc()
424 static inline void dio_bio_submit(struct dio *dio, struct dio_submit *sdio) in dio_bio_submit()
451 static inline void dio_cleanup(struct dio *dio, struct dio_submit *sdio) in dio_cleanup()
465 static struct bio *dio_await_one(struct dio *dio) in dio_await_one()
498 static blk_status_t dio_bio_complete(struct dio *dio, struct bio *bio) in dio_bio_complete()
527 static void dio_await_completion(struct dio *dio) in dio_await_completion()
544 static inline int dio_bio_reap(struct dio *dio, struct dio_submit *sdio) in dio_bio_reap()
567 static int dio_set_defer_completion(struct dio *dio) in dio_set_defer_completion()
602 static int get_more_blocks(struct dio *dio, struct dio_submit *sdio, in get_more_blocks()
662 static inline int dio_new_bio(struct dio *dio, struct dio_submit *sdio, in dio_new_bio()
687 static inline int dio_bio_add_page(struct dio *dio, struct dio_submit *sdio) in dio_bio_add_page()
719 static inline int dio_send_cur_page(struct dio *dio, struct dio_submit *sdio, in dio_send_cur_page()
784 submit_page_section(struct dio *dio, struct dio_submit *sdio, struct page *page, in submit_page_section()
851 static inline void dio_zero_block(struct dio *dio, struct dio_submit *sdio, in dio_zero_block()
902 static int do_direct_IO(struct dio *dio, struct dio_submit *sdio, in do_direct_IO()
1057 static inline int drop_refcount(struct dio *dio) in drop_refcount()
1116 struct dio *dio; in __blockdev_direct_IO() local