Lines Matching refs:btrfs_bio
14 struct btrfs_bio;
26 typedef void (*btrfs_bio_end_io_t)(struct btrfs_bio *bbio);
32 struct btrfs_bio {
82 * bytes for entire btrfs_bio but relies on bio being last.
87 static inline struct btrfs_bio *btrfs_bio(struct bio *bio)
89 return container_of(bio, struct btrfs_bio, bio);
95 void btrfs_bio_init(struct btrfs_bio *bbio, struct btrfs_fs_info *fs_info,
97 struct btrfs_bio *btrfs_bio_alloc(unsigned int nr_vecs, blk_opf_t opf,
100 void btrfs_bio_end_io(struct btrfs_bio *bbio, blk_status_t status);
105 void btrfs_submit_bio(struct btrfs_bio *bbio, int mirror_num);
106 void btrfs_submit_repair_write(struct btrfs_bio *bbio, int mirror_num, bool dev_replace);