Home
last modified time | relevance | path

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

/linux-4.19.296/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.h306 struct btrfs_bio;
307 typedef void (btrfs_bio_end_io_t) (struct btrfs_bio *bio, int err);
309 struct btrfs_bio { struct
401 void btrfs_get_bbio(struct btrfs_bio *bbio);
402 void btrfs_put_bbio(struct btrfs_bio *bbio);
405 struct btrfs_bio **bbio_ret, int mirror_num);
408 struct btrfs_bio **bbio_ret);
Dfile-item.c156 struct btrfs_io_bio *btrfs_bio = btrfs_io_bio(bio); in __btrfs_lookup_bio_sums() local
178 btrfs_bio->csum_allocated = kmalloc_array(nblocks, in __btrfs_lookup_bio_sums()
180 if (!btrfs_bio->csum_allocated) { in __btrfs_lookup_bio_sums()
184 btrfs_bio->csum = btrfs_bio->csum_allocated; in __btrfs_lookup_bio_sums()
185 btrfs_bio->end_io = btrfs_io_bio_endio_readpage; in __btrfs_lookup_bio_sums()
187 btrfs_bio->csum = btrfs_bio->csum_inline; in __btrfs_lookup_bio_sums()
189 csum = btrfs_bio->csum; in __btrfs_lookup_bio_sums()
Draid56.c47 struct btrfs_bio *bbio;
969 struct btrfs_bio *bbio, in alloc_rbio()
1189 struct btrfs_bio *bbio = rbio->bbio; in finish_rmw()
1789 struct btrfs_bio *bbio, u64 stripe_len) in raid56_parity_write()
2180 struct btrfs_bio *bbio, u64 stripe_len, in raid56_parity_recover()
2285 struct btrfs_bio *bbio, u64 stripe_len, in raid56_parity_alloc_scrub_rbio()
2374 struct btrfs_bio *bbio = rbio->bbio; in finish_parity_scrub()
2741 struct btrfs_bio *bbio, u64 length) in raid56_alloc_missing_rbio()
Dvolumes.c137 struct btrfs_bio **bbio_ret,
5252 static void sort_parity_stripes(struct btrfs_bio *bbio, int num_stripes) in sort_parity_stripes()
5277 static struct btrfs_bio *alloc_btrfs_bio(int total_stripes, int real_stripes) in alloc_btrfs_bio()
5279 struct btrfs_bio *bbio = kzalloc( in alloc_btrfs_bio()
5281 sizeof(struct btrfs_bio) + in alloc_btrfs_bio()
5299 void btrfs_get_bbio(struct btrfs_bio *bbio) in btrfs_get_bbio()
5305 void btrfs_put_bbio(struct btrfs_bio *bbio) in btrfs_put_bbio()
5320 struct btrfs_bio **bbio_ret) in __btrfs_map_block_for_discard()
5324 struct btrfs_bio *bbio; in __btrfs_map_block_for_discard()
5483 struct btrfs_bio *bbio = NULL; in get_extra_mirror_from_replace()
[all …]
Dextent_io.c2026 struct btrfs_bio *bbio = NULL; in repair_io_failure()
2375 struct btrfs_io_bio *btrfs_bio; in btrfs_create_repair_bio() local
2388 btrfs_bio = btrfs_io_bio(bio); in btrfs_create_repair_bio()
2389 btrfs_bio->csum = btrfs_bio->csum_inline; in btrfs_create_repair_bio()
2391 memcpy(btrfs_bio->csum, btrfs_failed_bio->csum + icsum, in btrfs_create_repair_bio()
2706 static inline void btrfs_io_bio_init(struct btrfs_io_bio *btrfs_bio) in btrfs_io_bio_init() argument
2708 memset(btrfs_bio, 0, offsetof(struct btrfs_io_bio, bio)); in btrfs_io_bio_init()
2729 struct btrfs_io_bio *btrfs_bio; in btrfs_bio_clone() local
2734 btrfs_bio = btrfs_io_bio(new); in btrfs_bio_clone()
2735 btrfs_io_bio_init(btrfs_bio); in btrfs_bio_clone()
[all …]
Dreada.c224 struct btrfs_bio *bbio) in reada_find_zone()
305 struct btrfs_bio *bbio = NULL; in reada_find_extent()
Dscrub.c56 struct btrfs_bio *bbio;
1219 static inline int scrub_nr_raid_mirrors(struct btrfs_bio *bbio) in scrub_nr_raid_mirrors()
1270 struct btrfs_bio *bbio; in scrub_setup_recheck_block()
2164 struct btrfs_bio *bbio = NULL; in scrub_missing_raid56_pages()
2752 struct btrfs_bio *bbio = NULL; in scrub_parity_check_and_repair()
2827 struct btrfs_bio *bbio = NULL; in scrub_raid56_parity()
4039 struct btrfs_bio *bbio = NULL; in scrub_remap_extent()
Dcheck-integrity.c1521 struct btrfs_bio *multi = NULL; in btrfsic_map_block()
Dextent-tree.c1972 struct btrfs_bio *bbio = NULL; in btrfs_discard_extent()