Lines Matching refs:io_bio
94 struct bio *last = ioend->io_bio, *next; in xfs_destroy_ioend()
256 error = blk_status_to_errno(ioend->io_bio->bi_status); in xfs_end_io()
512 ioend->io_bio->bi_private = ioend; in xfs_submit_ioend()
513 ioend->io_bio->bi_end_io = xfs_end_bio; in xfs_submit_ioend()
514 ioend->io_bio->bi_opf = REQ_OP_WRITE | wbc_to_write_flags(wbc); in xfs_submit_ioend()
523 ioend->io_bio->bi_status = errno_to_blk_status(status); in xfs_submit_ioend()
524 bio_endio(ioend->io_bio); in xfs_submit_ioend()
528 ioend->io_bio->bi_write_hint = ioend->io_inode->i_write_hint; in xfs_submit_ioend()
529 submit_bio(ioend->io_bio); in xfs_submit_ioend()
556 ioend->io_bio = bio; in xfs_alloc_ioend()
579 bio_chain(ioend->io_bio, new); in xfs_chain_bio()
580 bio_get(ioend->io_bio); /* for xfs_destroy_ioend */ in xfs_chain_bio()
581 ioend->io_bio->bi_opf = REQ_OP_WRITE | wbc_to_write_flags(wbc); in xfs_chain_bio()
582 ioend->io_bio->bi_write_hint = ioend->io_inode->i_write_hint; in xfs_chain_bio()
583 submit_bio(ioend->io_bio); in xfs_chain_bio()
584 ioend->io_bio = new; in xfs_chain_bio()
612 sector != bio_end_sector(wpc->ioend->io_bio) || in xfs_add_to_ioend()
620 if (!__bio_try_merge_page(wpc->ioend->io_bio, page, len, poff)) { in xfs_add_to_ioend()
623 if (bio_full(wpc->ioend->io_bio)) in xfs_add_to_ioend()
625 __bio_add_page(wpc->ioend->io_bio, page, len, poff); in xfs_add_to_ioend()