Home
last modified time | relevance | path

Searched refs:bioc (Results 1 – 4 of 4) sorted by relevance

/linux/fs/btrfs/tests/
H A Draid-stripe-tree-tests.c41 struct btrfs_io_context *bioc; in test_punch_hole_3extents() local
54 bioc = alloc_btrfs_io_context(fs_info, logical1, RST_TEST_NUM_DEVICES); in test_punch_hole_3extents()
55 if (!bioc) { in test_punch_hole_3extents()
64 bioc->map_type = map_type; in test_punch_hole_3extents()
65 bioc->size = len1; in test_punch_hole_3extents()
68 struct btrfs_io_stripe *stripe = &bioc->stripes[i]; in test_punch_hole_3extents()
80 ret = btrfs_insert_one_raid_extent(trans, bioc); in test_punch_hole_3extents()
86 bioc->logical = logical2; in test_punch_hole_3extents()
87 bioc->size = len2; in test_punch_hole_3extents()
89 struct btrfs_io_stripe *stripe = &bioc->stripes[i]; in test_punch_hole_3extents()
[all …]
/linux/fs/btrfs/
H A Draid-stripe-tree.h34 struct btrfs_io_context *bioc);
H A Dscrub.c1029 struct btrfs_io_context *bioc = NULL; in scrub_stripe_report_errors() local
1036 stripe->logical, &mapped_len, &bioc, in scrub_stripe_report_errors()
1044 physical = bioc->stripes[stripe_index].physical; in scrub_stripe_report_errors()
1045 dev = bioc->stripes[stripe_index].dev; in scrub_stripe_report_errors()
1046 btrfs_put_bioc(bioc); in scrub_stripe_report_errors()
1833 struct btrfs_io_context *bioc = NULL; in scrub_submit_extent_sector_read() local
1845 &stripe_len, &bioc, &io_stripe, &mirror); in scrub_submit_extent_sector_read()
1846 btrfs_put_bioc(bioc); in scrub_submit_extent_sector_read()
2127 struct btrfs_io_context *bioc = NULL; in scrub_raid56_cached_parity() local
2141 &length, &bioc, NULL, NULL); in scrub_raid56_cached_parity()
[all …]
H A Dzoned.c2084 struct btrfs_io_context *bioc = NULL; in read_zone_info() local
2091 &mapped_length, &bioc, NULL, NULL); in read_zone_info()
2092 if (unlikely(ret || !bioc || mapped_length < PAGE_SIZE)) { in read_zone_info()
2097 if (bioc->map_type & BTRFS_BLOCK_GROUP_RAID56_MASK) { in read_zone_info()
2103 nmirrors = (int)bioc->num_stripes; in read_zone_info()
2105 u64 physical = bioc->stripes[i].physical; in read_zone_info()
2106 struct btrfs_device *dev = bioc->stripes[i].dev; in read_zone_info()
2120 btrfs_put_bioc(bioc); in read_zone_info()