Lines Matching refs:btrfs_bio
4879 static void sort_parity_stripes(struct btrfs_bio *bbio, int num_stripes) in sort_parity_stripes()
4904 static struct btrfs_bio *alloc_btrfs_bio(int total_stripes, int real_stripes) in alloc_btrfs_bio()
4906 struct btrfs_bio *bbio = kzalloc( in alloc_btrfs_bio()
4908 sizeof(struct btrfs_bio) + in alloc_btrfs_bio()
4928 void btrfs_get_bbio(struct btrfs_bio *bbio) in btrfs_get_bbio()
4934 void btrfs_put_bbio(struct btrfs_bio *bbio) in btrfs_put_bbio()
4944 struct btrfs_bio **bbio_ret, in __btrfs_map_block()
4964 struct btrfs_bio *bbio = NULL; in __btrfs_map_block()
5071 struct btrfs_bio *tmp_bbio = NULL; in __btrfs_map_block()
5486 struct btrfs_bio **bbio_ret, int mirror_num) in btrfs_map_block()
5495 struct btrfs_bio **bbio_ret, int mirror_num, in btrfs_map_sblock()
5588 static inline void btrfs_end_bbio(struct btrfs_bio *bbio, struct bio *bio, int err) in btrfs_end_bbio()
5599 struct btrfs_bio *bbio = bio->bi_private; in btrfs_end_bio()
5748 static void submit_stripe_bio(struct btrfs_root *root, struct btrfs_bio *bbio, in submit_stripe_bio()
5781 static int breakup_stripe_bio(struct btrfs_root *root, struct btrfs_bio *bbio, in breakup_stripe_bio()
5813 static void bbio_error(struct btrfs_bio *bbio, struct bio *bio, u64 logical) in bbio_error()
5840 struct btrfs_bio *bbio = NULL; in btrfs_map_bio()