Lines Matching refs:orig_bbio
76 struct btrfs_bio *orig_bbio, in btrfs_split_bio() argument
85 bio = bio_split_rw(&orig_bbio->bio, &fs_info->limits, &nr_segs, in btrfs_split_bio()
88 bio = bio_split(&orig_bbio->bio, map_length >> SECTOR_SHIFT, in btrfs_split_bio()
92 btrfs_bio_init(bbio, fs_info, NULL, orig_bbio); in btrfs_split_bio()
93 bbio->inode = orig_bbio->inode; in btrfs_split_bio()
94 bbio->file_offset = orig_bbio->file_offset; in btrfs_split_bio()
95 orig_bbio->file_offset += map_length; in btrfs_split_bio()
97 refcount_inc(&orig_bbio->ordered->refs); in btrfs_split_bio()
98 bbio->ordered = orig_bbio->ordered; in btrfs_split_bio()
100 atomic_inc(&orig_bbio->pending_ios); in btrfs_split_bio()
133 struct btrfs_bio *orig_bbio) in btrfs_bbio_propagate_error() argument
142 struct btrfs_io_stripe *orig_stripe = orig_bbio->bio.bi_private; in btrfs_bbio_propagate_error()
147 orig_bbio->bio.bi_status = bbio->bio.bi_status; in btrfs_bbio_propagate_error()
154 struct btrfs_bio *orig_bbio = bbio->private; in btrfs_orig_bbio_end_io() local
157 btrfs_bbio_propagate_error(bbio, orig_bbio); in btrfs_orig_bbio_end_io()
159 bbio = orig_bbio; in btrfs_orig_bbio_end_io()
649 struct btrfs_bio *orig_bbio = bbio; in btrfs_submit_chunk() local
724 btrfs_bio_end_io(orig_bbio, ret); in btrfs_submit_chunk()