Lines Matching refs:comp_bio

624 	struct bio *comp_bio;  in btrfs_submit_compressed_read()  local
691 comp_bio = btrfs_bio_alloc(cur_disk_byte); in btrfs_submit_compressed_read()
692 comp_bio->bi_opf = REQ_OP_READ; in btrfs_submit_compressed_read()
693 comp_bio->bi_private = cb; in btrfs_submit_compressed_read()
694 comp_bio->bi_end_io = end_compressed_bio_read; in btrfs_submit_compressed_read()
704 if (comp_bio->bi_iter.bi_size) in btrfs_submit_compressed_read()
706 comp_bio, 0); in btrfs_submit_compressed_read()
709 if (submit || bio_add_page(comp_bio, page, PAGE_SIZE, 0) < in btrfs_submit_compressed_read()
713 ret = btrfs_bio_wq_end_io(fs_info, comp_bio, in btrfs_submit_compressed_read()
726 ret = btrfs_lookup_bio_sums(inode, comp_bio, in btrfs_submit_compressed_read()
731 nr_sectors = DIV_ROUND_UP(comp_bio->bi_iter.bi_size, in btrfs_submit_compressed_read()
735 ret = btrfs_map_bio(fs_info, comp_bio, mirror_num); in btrfs_submit_compressed_read()
737 comp_bio->bi_status = ret; in btrfs_submit_compressed_read()
738 bio_endio(comp_bio); in btrfs_submit_compressed_read()
741 comp_bio = btrfs_bio_alloc(cur_disk_byte); in btrfs_submit_compressed_read()
742 comp_bio->bi_opf = REQ_OP_READ; in btrfs_submit_compressed_read()
743 comp_bio->bi_private = cb; in btrfs_submit_compressed_read()
744 comp_bio->bi_end_io = end_compressed_bio_read; in btrfs_submit_compressed_read()
746 bio_add_page(comp_bio, page, PAGE_SIZE, 0); in btrfs_submit_compressed_read()
751 ret = btrfs_bio_wq_end_io(fs_info, comp_bio, BTRFS_WQ_ENDIO_DATA); in btrfs_submit_compressed_read()
755 ret = btrfs_lookup_bio_sums(inode, comp_bio, (u64)-1, sums); in btrfs_submit_compressed_read()
759 ret = btrfs_map_bio(fs_info, comp_bio, mirror_num); in btrfs_submit_compressed_read()
761 comp_bio->bi_status = ret; in btrfs_submit_compressed_read()
762 bio_endio(comp_bio); in btrfs_submit_compressed_read()