Home
last modified time | relevance | path

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

/linux-4.1.27/fs/btrfs/
Draid56.h46 struct btrfs_bio *bbio, u64 stripe_len,
49 struct btrfs_bio *bbio, u64 stripe_len);
53 struct btrfs_bio *bbio, u64 stripe_len,
Dvolumes.h292 struct btrfs_bio;
293 typedef void (btrfs_bio_end_io_t) (struct btrfs_bio *bio, int err);
297 struct btrfs_bio { struct
407 void btrfs_get_bbio(struct btrfs_bio *bbio);
408 void btrfs_put_bbio(struct btrfs_bio *bbio);
411 struct btrfs_bio **bbio_ret, int mirror_num);
414 struct btrfs_bio **bbio_ret, int mirror_num,
Dfile-item.c166 struct btrfs_io_bio *btrfs_bio = btrfs_io_bio(bio); in __btrfs_lookup_bio_sums() local
188 btrfs_bio->csum_allocated = kmalloc_array(nblocks, in __btrfs_lookup_bio_sums()
190 if (!btrfs_bio->csum_allocated) { in __btrfs_lookup_bio_sums()
194 btrfs_bio->csum = btrfs_bio->csum_allocated; in __btrfs_lookup_bio_sums()
195 btrfs_bio->end_io = btrfs_io_bio_endio_readpage; in __btrfs_lookup_bio_sums()
197 btrfs_bio->csum = btrfs_bio->csum_inline; in __btrfs_lookup_bio_sums()
199 csum = btrfs_bio->csum; in __btrfs_lookup_bio_sums()
Dextent_io.c2034 struct btrfs_bio *bbio = NULL; in repair_io_failure()
2360 struct btrfs_io_bio *btrfs_bio; in btrfs_create_repair_bio() local
2377 btrfs_bio = btrfs_io_bio(bio); in btrfs_create_repair_bio()
2378 btrfs_bio->csum = btrfs_bio->csum_inline; in btrfs_create_repair_bio()
2380 memcpy(btrfs_bio->csum, btrfs_failed_bio->csum + icsum, in btrfs_create_repair_bio()
2694 struct btrfs_io_bio *btrfs_bio; in btrfs_bio_alloc() local
2709 btrfs_bio = btrfs_io_bio(bio); in btrfs_bio_alloc()
2710 btrfs_bio->csum = NULL; in btrfs_bio_alloc()
2711 btrfs_bio->csum_allocated = NULL; in btrfs_bio_alloc()
2712 btrfs_bio->end_io = NULL; in btrfs_bio_alloc()
[all …]
Draid56.c71 struct btrfs_bio *bbio;
949 struct btrfs_bio *bbio, u64 stripe_len) in alloc_rbio()
1167 struct btrfs_bio *bbio = rbio->bbio; in finish_rmw()
1740 struct btrfs_bio *bbio, u64 stripe_len) in raid56_parity_write()
2116 struct btrfs_bio *bbio, u64 stripe_len, in raid56_parity_recover()
2202 struct btrfs_bio *bbio, u64 stripe_len, in raid56_parity_alloc_scrub_rbio()
2303 struct btrfs_bio *bbio = rbio->bbio; in finish_parity_scrub()
Dvolumes.c4879 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()
[all …]
Dreada.c250 struct btrfs_bio *bbio) in reada_find_zone()
326 struct btrfs_bio *bbio = NULL; in reada_find_extent()
Dscrub.c68 struct btrfs_bio *bbio;
1277 static inline int scrub_nr_raid_mirrors(struct btrfs_bio *bbio) in scrub_nr_raid_mirrors()
1325 struct btrfs_bio *bbio; in scrub_setup_recheck_block()
2685 struct btrfs_bio *bbio = NULL; in scrub_parity_check_and_repair()
3846 struct btrfs_bio *bbio = NULL; in scrub_remap_extent()
Dinode.c8218 struct btrfs_io_bio *btrfs_bio; in btrfs_submit_direct() local
8246 btrfs_bio = btrfs_io_bio(io_bio); in btrfs_submit_direct()
8247 btrfs_bio->logical = file_offset; in btrfs_submit_direct()
8260 if (btrfs_bio->end_io) in btrfs_submit_direct()
8261 btrfs_bio->end_io(btrfs_bio, ret); in btrfs_submit_direct()
Dcheck-integrity.c1574 struct btrfs_bio *multi = NULL; in btrfsic_map_block()
Dextent-tree.c1898 struct btrfs_bio *bbio = NULL; in btrfs_discard_extent()