Lines Matching defs:dio

118 struct dio {  struct
124 dio_iodone_t *end_io; /* IO completion function */ argument
126 void *private; /* copy from map_bh.b_private */
129 spinlock_t bio_lock; /* protects BIO fields below */
130 int page_errors; /* errno from get_user_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()
209 static inline struct page *dio_get_page(struct dio *dio, in dio_get_page()
234 static ssize_t dio_complete(struct dio *dio, ssize_t ret, unsigned int flags) in dio_complete()
319 struct dio *dio = container_of(work, struct dio, complete_work); in dio_aio_complete_work() local
331 struct dio *dio = bio->bi_private; in dio_bio_end_aio() local
378 struct dio *dio = bio->bi_private; in dio_bio_end_io() local
390 dio_bio_alloc(struct dio *dio, struct dio_submit *sdio, in dio_bio_alloc()
417 static inline void dio_bio_submit(struct dio *dio, struct dio_submit *sdio) in dio_bio_submit()
447 static inline void dio_cleanup(struct dio *dio, struct dio_submit *sdio) in dio_cleanup()
459 static struct bio *dio_await_one(struct dio *dio) in dio_await_one()
492 static blk_status_t dio_bio_complete(struct dio *dio, struct bio *bio) in dio_bio_complete()
521 static void dio_await_completion(struct dio *dio) in dio_await_completion()
538 static inline int dio_bio_reap(struct dio *dio, struct dio_submit *sdio) in dio_bio_reap()
585 static int dio_set_defer_completion(struct dio *dio) in dio_set_defer_completion()
620 static int get_more_blocks(struct dio *dio, struct dio_submit *sdio, in get_more_blocks()
680 static inline int dio_new_bio(struct dio *dio, struct dio_submit *sdio, in dio_new_bio()
737 static inline int dio_send_cur_page(struct dio *dio, struct dio_submit *sdio, in dio_send_cur_page()
802 submit_page_section(struct dio *dio, struct dio_submit *sdio, struct page *page, in submit_page_section()
869 static inline void dio_zero_block(struct dio *dio, struct dio_submit *sdio, in dio_zero_block()
920 static int do_direct_IO(struct dio *dio, struct dio_submit *sdio, in do_direct_IO()
1075 static inline int drop_refcount(struct dio *dio) in drop_refcount()
1134 struct dio *dio; in __blockdev_direct_IO() local