Lines Matching refs:btrfs_bio
199 struct btrfs_bio **bbio_ret,
5523 static void sort_parity_stripes(struct btrfs_bio *bbio, int num_stripes) in sort_parity_stripes()
5548 static struct btrfs_bio *alloc_btrfs_bio(int total_stripes, int real_stripes) in alloc_btrfs_bio()
5550 struct btrfs_bio *bbio = kzalloc( in alloc_btrfs_bio()
5552 sizeof(struct btrfs_bio) + in alloc_btrfs_bio()
5570 void btrfs_get_bbio(struct btrfs_bio *bbio) in btrfs_get_bbio()
5576 void btrfs_put_bbio(struct btrfs_bio *bbio) in btrfs_put_bbio()
5591 struct btrfs_bio **bbio_ret) in __btrfs_map_block_for_discard()
5595 struct btrfs_bio *bbio; in __btrfs_map_block_for_discard()
5754 struct btrfs_bio *bbio = NULL; in get_extra_mirror_from_replace()
5814 struct btrfs_bio **bbio_ret, in handle_ops_on_dev_replace()
5818 struct btrfs_bio *bbio = *bbio_ret; in handle_ops_on_dev_replace()
6015 struct btrfs_bio **bbio_ret, in __btrfs_map_block()
6030 struct btrfs_bio *bbio = NULL; in __btrfs_map_block()
6271 struct btrfs_bio **bbio_ret, int mirror_num) in btrfs_map_block()
6280 struct btrfs_bio **bbio_ret) in btrfs_map_sblock()
6354 static inline void btrfs_end_bbio(struct btrfs_bio *bbio, struct bio *bio) in btrfs_end_bbio()
6365 struct btrfs_bio *bbio = bio->bi_private; in btrfs_end_bio()
6467 static void submit_stripe_bio(struct btrfs_bio *bbio, struct bio *bio, in submit_stripe_bio()
6492 static void bbio_error(struct btrfs_bio *bbio, struct bio *bio, u64 logical) in bbio_error()
6520 struct btrfs_bio *bbio = NULL; in btrfs_map_bio()