Home
last modified time | relevance | path

Searched refs:stripes (Results 1 – 14 of 14) sorted by relevance

/fs/btrfs/
Dvolumes.c3100 ret = btrfs_update_device(trans, map->stripes[i].dev); in remove_chunk_item()
3141 struct btrfs_device *device = map->stripes[i].dev; in btrfs_remove_chunk()
3143 map->stripes[i].physical, in btrfs_remove_chunk()
5419 map->stripes[s].dev = devices_info[i].dev; in create_chunk()
5420 map->stripes[s].physical = devices_info[i].dev_offset + in create_chunk()
5460 struct btrfs_device *dev = map->stripes[i].dev; in create_chunk()
5613 struct btrfs_device *device = map->stripes[i].dev; in btrfs_chunk_alloc_add_chunk_item()
5622 struct btrfs_device *device = map->stripes[i].dev; in btrfs_chunk_alloc_add_chunk_item()
5623 const u64 dev_offset = map->stripes[i].physical; in btrfs_chunk_alloc_add_chunk_item()
5726 &map->stripes[i].dev->dev_state)) { in btrfs_chunk_readonly()
[all …]
Dscrub.c1358 spage->physical = bioc->stripes[stripe_index].physical + in scrub_setup_recheck_block()
1360 spage->dev = bioc->stripes[stripe_index].dev; in scrub_setup_recheck_block()
2749 last_offset = (physical - map->stripes[num].physical) * data_stripes; in get_raid56_logic_offset()
3058 extent_physical = bioc->stripes[0].physical; in scrub_raid56_parity()
3060 extent_dev = bioc->stripes[0].dev; in scrub_raid56_parity()
3205 physical = map->stripes[num].physical; in scrub_stripe()
3546 sctx->stat.last_physical = map->stripes[num].physical + in scrub_stripe()
3569 map->stripes[num].physical, in scrub_stripe()
3616 if (map->stripes[i].dev->bdev == scrub_dev->bdev && in scrub_chunk()
3617 map->stripes[i].physical == dev_offset) { in scrub_chunk()
[all …]
Dvolumes.h384 struct btrfs_io_stripe stripes[]; member
419 struct btrfs_io_stripe stripes[]; member
Ddev-replace.c617 if (srcdev != map->stripes[i].dev) in btrfs_finish_block_group_to_copy()
621 if (physical == map->stripes[i].physical) in btrfs_finish_block_group_to_copy()
880 if (srcdev == map->stripes[i].dev) in btrfs_dev_replace_update_device_in_mapping_tree()
881 map->stripes[i].dev = tgtdev; in btrfs_dev_replace_update_device_in_mapping_tree()
Dzoned.c1159 device = map->stripes[i].dev; in btrfs_load_block_group_zone_info()
1160 physical = map->stripes[i].physical; in btrfs_load_block_group_zone_info()
1556 u64 physical = bioc->stripes[i].physical; in read_zone_info()
1557 struct btrfs_device *dev = bioc->stripes[i].dev; in read_zone_info()
1622 device = map->stripes[0].dev; in btrfs_zoned_get_device()
Dextent_map.c363 struct btrfs_io_stripe *stripe = &map->stripes[i]; in extent_map_device_set_bits()
378 struct btrfs_io_stripe *stripe = &map->stripes[i]; in extent_map_device_clear_bits()
Dreada.c280 zone->devs[i] = bioc->stripes[i].dev; in reada_find_zone()
363 dev = bioc->stripes[nzones].dev; in reada_find_extent()
Dblock-group.c1790 if (!in_range(physical, map->stripes[i].physical, in btrfs_rmap_block()
1794 if (bdev && map->stripes[i].dev->bdev != bdev) in btrfs_rmap_block()
1797 stripe_nr = physical - map->stripes[i].physical; in btrfs_rmap_block()
2381 device = map->stripes[i].dev; in insert_dev_extents()
2382 dev_offset = map->stripes[i].physical; in insert_dev_extents()
Draid56.c1091 stripe = &rbio->bioc->stripes[stripe_nr]; in rbio_add_io_page()
1368 stripe = &rbio->bioc->stripes[i]; in find_bio_stripe()
2289 if (bioc->stripes[i].dev == scrub_dev) { in raid56_parity_alloc_scrub_rbio()
Dcheck-integrity.c1477 device = multi->stripes[0].dev; in btrfsic_map_block()
1484 block_ctx_out->dev_bytenr = multi->stripes[0].physical; in btrfsic_map_block()
Dextent_io.c2340 sector = bioc->stripes[bioc->mirror_num - 1].physical >> 9; in repair_io_failure()
2342 dev = bioc->stripes[bioc->mirror_num - 1].dev; in repair_io_failure()
Dinode.c10964 device = em->map_lookup->stripes[0].dev; in btrfs_swap_activate()
10970 } else if (device != em->map_lookup->stripes[0].dev) { in btrfs_swap_activate()
10976 physical_block_start = (em->map_lookup->stripes[0].physical + in btrfs_swap_activate()
Dextent-tree.c1345 stripe = bioc->stripes; in btrfs_discard_extent()
/fs/btrfs/tests/
Dextent-map-tests.c498 map->stripes[i].dev = dev; in test_rmap_block()
499 map->stripes[i].physical = test->data_stripe_phys_start[i]; in test_rmap_block()