Lines Matching refs:submit
43 } submit; member
59 dio->submit.poll_bio = bio; in iomap_dio_submit_bio()
155 struct task_struct *waiter = dio->submit.waiter; in iomap_dio_bio_end_io()
156 WRITE_ONCE(dio->submit.waiter, NULL); in iomap_dio_bio_end_io()
232 unsigned int align = iov_iter_alignment(dio->submit.iter); in iomap_dio_bio_iter()
275 orig_count = iov_iter_count(dio->submit.iter); in iomap_dio_bio_iter()
276 iov_iter_truncate(dio->submit.iter, length); in iomap_dio_bio_iter()
278 if (!iov_iter_count(dio->submit.iter)) in iomap_dio_bio_iter()
302 nr_pages = bio_iov_vecs_to_alloc(dio->submit.iter, BIO_MAX_VECS); in iomap_dio_bio_iter()
306 iov_iter_revert(dio->submit.iter, copied); in iomap_dio_bio_iter()
320 ret = bio_iov_iter_get_pages(bio, dio->submit.iter); in iomap_dio_bio_iter()
343 nr_pages = bio_iov_vecs_to_alloc(dio->submit.iter, in iomap_dio_bio_iter()
370 iov_iter_reexpand(dio->submit.iter, orig_count - copied); in iomap_dio_bio_iter()
379 loff_t length = iov_iter_zero(iomap_length(iter), dio->submit.iter); in iomap_dio_hole_iter()
391 struct iov_iter *iter = dio->submit.iter; in iomap_dio_inline_iter()
507 dio->submit.iter = iter; in __iomap_dio_rw()
508 dio->submit.waiter = current; in __iomap_dio_rw()
509 dio->submit.poll_bio = NULL; in __iomap_dio_rw()
628 WRITE_ONCE(iocb->private, dio->submit.poll_bio); in __iomap_dio_rw()
652 if (!READ_ONCE(dio->submit.waiter)) in __iomap_dio_rw()
655 if (!dio->submit.poll_bio || in __iomap_dio_rw()
656 !bio_poll(dio->submit.poll_bio, NULL, 0)) in __iomap_dio_rw()