Home
last modified time | relevance | path

Searched refs:btrfs_bio (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.10/fs/btrfs/
Draid56.h34 struct btrfs_bio *bbio, u64 stripe_len,
37 struct btrfs_bio *bbio, u64 stripe_len);
44 struct btrfs_bio *bbio, u64 stripe_len,
51 struct btrfs_bio *bbio, u64 length);
Dvolumes.h322 struct btrfs_bio { struct
417 void btrfs_get_bbio(struct btrfs_bio *bbio);
418 void btrfs_put_bbio(struct btrfs_bio *bbio);
421 struct btrfs_bio **bbio_ret, int mirror_num);
424 struct btrfs_bio **bbio_ret);
Dfile-item.c281 struct btrfs_io_bio *btrfs_bio = btrfs_io_bio(bio); in btrfs_lookup_bio_sums() local
284 btrfs_bio->csum = kmalloc_array(nblocks, csum_size, in btrfs_lookup_bio_sums()
286 if (!btrfs_bio->csum) { in btrfs_lookup_bio_sums()
291 btrfs_bio->csum = btrfs_bio->csum_inline; in btrfs_lookup_bio_sums()
293 csum = btrfs_bio->csum; in btrfs_lookup_bio_sums()
Draid56.c63 struct btrfs_bio *bbio;
972 struct btrfs_bio *bbio, in alloc_rbio()
1191 struct btrfs_bio *bbio = rbio->bbio; in finish_rmw()
1735 struct btrfs_bio *bbio, u64 stripe_len) in raid56_parity_write()
2127 struct btrfs_bio *bbio, u64 stripe_len, in raid56_parity_recover()
2233 struct btrfs_bio *bbio, u64 stripe_len, in raid56_parity_alloc_scrub_rbio()
2322 struct btrfs_bio *bbio = rbio->bbio; in finish_parity_scrub()
2682 struct btrfs_bio *bbio, u64 length) in raid56_alloc_missing_rbio()
Dvolumes.c226 struct btrfs_bio **bbio_ret,
5514 static void sort_parity_stripes(struct btrfs_bio *bbio, int num_stripes) in sort_parity_stripes()
5532 static struct btrfs_bio *alloc_btrfs_bio(int total_stripes, int real_stripes) in alloc_btrfs_bio()
5534 struct btrfs_bio *bbio = kzalloc( in alloc_btrfs_bio()
5536 sizeof(struct btrfs_bio) + in alloc_btrfs_bio()
5557 void btrfs_get_bbio(struct btrfs_bio *bbio) in btrfs_get_bbio()
5563 void btrfs_put_bbio(struct btrfs_bio *bbio) in btrfs_put_bbio()
5578 struct btrfs_bio **bbio_ret) in __btrfs_map_block_for_discard()
5582 struct btrfs_bio *bbio; in __btrfs_map_block_for_discard()
5743 struct btrfs_bio *bbio = NULL; in get_extra_mirror_from_replace()
[all …]
Dextent_io.c2263 struct btrfs_bio *bbio = NULL; in repair_io_failure()
2954 static inline void btrfs_io_bio_init(struct btrfs_io_bio *btrfs_bio) in btrfs_io_bio_init() argument
2956 memset(btrfs_bio, 0, offsetof(struct btrfs_io_bio, bio)); in btrfs_io_bio_init()
2976 struct btrfs_io_bio *btrfs_bio; in btrfs_bio_clone() local
2981 btrfs_bio = btrfs_io_bio(new); in btrfs_bio_clone()
2982 btrfs_io_bio_init(btrfs_bio); in btrfs_bio_clone()
2983 btrfs_bio->iter = bio->bi_iter; in btrfs_bio_clone()
3000 struct btrfs_io_bio *btrfs_bio; in btrfs_bio_clone_partial() local
3006 btrfs_bio = btrfs_io_bio(bio); in btrfs_bio_clone_partial()
3007 btrfs_io_bio_init(btrfs_bio); in btrfs_bio_clone_partial()
[all …]
Dscrub.c59 struct btrfs_bio *bbio;
1225 static inline int scrub_nr_raid_mirrors(struct btrfs_bio *bbio) in scrub_nr_raid_mirrors()
1276 struct btrfs_bio *bbio; in scrub_setup_recheck_block()
2099 struct btrfs_bio *bbio = NULL; in scrub_missing_raid56_pages()
2686 struct btrfs_bio *bbio = NULL; in scrub_parity_check_and_repair()
2761 struct btrfs_bio *bbio = NULL; in scrub_raid56_parity()
4052 struct btrfs_bio *bbio = NULL; in scrub_remap_extent()
Dreada.c225 struct btrfs_bio *bbio) in reada_find_zone()
306 struct btrfs_bio *bbio = NULL; in reada_find_extent()
Dcheck-integrity.c1510 struct btrfs_bio *multi = NULL; in btrfsic_map_block()
Dextent-tree.c1307 struct btrfs_bio *bbio = NULL; in btrfs_discard_extent()