Home
last modified time | relevance | path

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

/linux-4.4.14/fs/btrfs/
Draid56.h46 struct btrfs_bio *bbio, u64 stripe_len,
49 struct btrfs_bio *bbio, u64 stripe_len);
56 struct btrfs_bio *bbio, u64 stripe_len,
63 struct btrfs_bio *bbio, u64 length);
Dvolumes.h298 struct btrfs_bio;
299 typedef void (btrfs_bio_end_io_t) (struct btrfs_bio *bio, int err);
301 struct btrfs_bio { struct
422 void btrfs_get_bbio(struct btrfs_bio *bbio);
423 void btrfs_put_bbio(struct btrfs_bio *bbio);
426 struct btrfs_bio **bbio_ret, int mirror_num);
429 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()
Draid56.c72 struct btrfs_bio *bbio;
961 struct btrfs_bio *bbio, u64 stripe_len) in alloc_rbio()
1178 struct btrfs_bio *bbio = rbio->bbio; in finish_rmw()
1748 struct btrfs_bio *bbio, u64 stripe_len) in raid56_parity_write()
2129 struct btrfs_bio *bbio, u64 stripe_len, in raid56_parity_recover()
2215 struct btrfs_bio *bbio, u64 stripe_len, in raid56_parity_alloc_scrub_rbio()
2318 struct btrfs_bio *bbio = rbio->bbio; in finish_parity_scrub()
2689 struct btrfs_bio *bbio, u64 length) in raid56_alloc_missing_rbio()
Dextent_io.c2102 struct btrfs_bio *bbio = NULL; in repair_io_failure()
2428 struct btrfs_io_bio *btrfs_bio; in btrfs_create_repair_bio() local
2445 btrfs_bio = btrfs_io_bio(bio); in btrfs_create_repair_bio()
2446 btrfs_bio->csum = btrfs_bio->csum_inline; in btrfs_create_repair_bio()
2448 memcpy(btrfs_bio->csum, btrfs_failed_bio->csum + icsum, in btrfs_create_repair_bio()
2755 struct btrfs_io_bio *btrfs_bio; in btrfs_bio_alloc() local
2770 btrfs_bio = btrfs_io_bio(bio); in btrfs_bio_alloc()
2771 btrfs_bio->csum = NULL; in btrfs_bio_alloc()
2772 btrfs_bio->csum_allocated = NULL; in btrfs_bio_alloc()
2773 btrfs_bio->end_io = NULL; in btrfs_bio_alloc()
[all …]
Dvolumes.c5147 static void sort_parity_stripes(struct btrfs_bio *bbio, int num_stripes) in sort_parity_stripes()
5172 static struct btrfs_bio *alloc_btrfs_bio(int total_stripes, int real_stripes) in alloc_btrfs_bio()
5174 struct btrfs_bio *bbio = kzalloc( in alloc_btrfs_bio()
5176 sizeof(struct btrfs_bio) + in alloc_btrfs_bio()
5194 void btrfs_get_bbio(struct btrfs_bio *bbio) in btrfs_get_bbio()
5200 void btrfs_put_bbio(struct btrfs_bio *bbio) in btrfs_put_bbio()
5210 struct btrfs_bio **bbio_ret, in __btrfs_map_block()
5230 struct btrfs_bio *bbio = NULL; in __btrfs_map_block()
5337 struct btrfs_bio *tmp_bbio = NULL; in __btrfs_map_block()
5752 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;
1260 static inline int scrub_nr_raid_mirrors(struct btrfs_bio *bbio) in scrub_nr_raid_mirrors()
1311 struct btrfs_bio *bbio; in scrub_setup_recheck_block()
2182 struct btrfs_bio *bbio; in scrub_missing_raid56_pages()
2766 struct btrfs_bio *bbio = NULL; in scrub_parity_check_and_repair()
2845 struct btrfs_bio *bbio = NULL; in scrub_raid56_parity()
4025 struct btrfs_bio *bbio = NULL; in scrub_remap_extent()
Dinode.c8311 struct btrfs_io_bio *btrfs_bio; in btrfs_submit_direct() local
8339 btrfs_bio = btrfs_io_bio(io_bio); in btrfs_submit_direct()
8340 btrfs_bio->logical = file_offset; in btrfs_submit_direct()
8353 if (btrfs_bio->end_io) in btrfs_submit_direct()
8354 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.c2026 struct btrfs_bio *bbio = NULL; in btrfs_discard_extent()