Lines Matching refs:btrfs_bio
5147 static void sort_parity_stripes(struct btrfs_bio *bbio, int num_stripes) in sort_parity_stripes()
5172 static struct btrfs_bio *alloc_btrfs_bio(int total_stripes, int real_stripes) in alloc_btrfs_bio()
5174 struct btrfs_bio *bbio = kzalloc( in alloc_btrfs_bio()
5176 sizeof(struct btrfs_bio) + in alloc_btrfs_bio()
5194 void btrfs_get_bbio(struct btrfs_bio *bbio) in btrfs_get_bbio()
5200 void btrfs_put_bbio(struct btrfs_bio *bbio) in btrfs_put_bbio()
5210 struct btrfs_bio **bbio_ret, in __btrfs_map_block()
5230 struct btrfs_bio *bbio = NULL; in __btrfs_map_block()
5337 struct btrfs_bio *tmp_bbio = NULL; in __btrfs_map_block()
5752 struct btrfs_bio **bbio_ret, int mirror_num) in btrfs_map_block()
5761 struct btrfs_bio **bbio_ret, int mirror_num, in btrfs_map_sblock()
5854 static inline void btrfs_end_bbio(struct btrfs_bio *bbio, struct bio *bio) in btrfs_end_bbio()
5865 struct btrfs_bio *bbio = bio->bi_private; in btrfs_end_bio()
5983 static void submit_stripe_bio(struct btrfs_root *root, struct btrfs_bio *bbio, in submit_stripe_bio()
6016 static void bbio_error(struct btrfs_bio *bbio, struct bio *bio, u64 logical) in bbio_error()
6041 struct btrfs_bio *bbio = NULL; in btrfs_map_bio()