Home
last modified time | relevance | path

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

/linux-4.19.296/fs/btrfs/
Dvolumes.c1310 if (map->stripes[i].dev != device) in contains_pending_extent()
1312 if (map->stripes[i].physical >= physical_start + len || in contains_pending_extent()
1313 map->stripes[i].physical + em->orig_block_len <= in contains_pending_extent()
1328 end = map->stripes[i].physical + em->orig_block_len; in contains_pending_extent()
2806 struct btrfs_device *device = map->stripes[i].dev; in btrfs_remove_chunk()
2808 map->stripes[i].physical, in btrfs_remove_chunk()
2825 if (map->stripes[i].dev) { in btrfs_remove_chunk()
2826 ret = btrfs_update_device(trans, map->stripes[i].dev); in btrfs_remove_chunk()
4828 map->stripes[s].dev = devices_info[i].dev; in __btrfs_alloc_chunk()
4829 map->stripes[s].physical = devices_info[i].dev_offset + in __btrfs_alloc_chunk()
[all …]
Dvolumes.h329 struct btrfs_bio_stripe stripes[]; member
362 struct btrfs_bio_stripe stripes[]; member
Dscrub.c1357 page->physical = bbio->stripes[stripe_index].physical + in scrub_setup_recheck_block()
1359 page->dev = bbio->stripes[stripe_index].dev; in scrub_setup_recheck_block()
2672 last_offset = (physical - map->stripes[num].physical) * in get_raid56_logic_offset()
2978 extent_physical = bbio->stripes[0].physical; in scrub_raid56_parity()
2980 extent_dev = bbio->stripes[0].dev; in scrub_raid56_parity()
3078 physical = map->stripes[num].physical; in scrub_stripe()
3393 sctx->stat.last_physical = map->stripes[num].physical + in scrub_stripe()
3452 if (map->stripes[i].dev->bdev == scrub_dev->bdev && in scrub_chunk()
3453 map->stripes[i].physical == dev_offset) { in scrub_chunk()
4046 !bbio->stripes[0].dev->bdev) { in scrub_remap_extent()
[all …]
Dreada.c274 zone->devs[i] = bbio->stripes[i].dev; in reada_find_zone()
354 dev = bbio->stripes[nzones].dev; in reada_find_extent()
Ddev-replace.c755 if (srcdev == map->stripes[i].dev) in btrfs_dev_replace_update_device_in_mapping_tree()
756 map->stripes[i].dev = tgtdev; in btrfs_dev_replace_update_device_in_mapping_tree()
Draid56.c1089 stripe = &rbio->bbio->stripes[stripe_nr]; in rbio_add_io_page()
1374 stripe = &rbio->bbio->stripes[i]; in find_bio_stripe()
2309 if (bbio->stripes[i].dev == scrub_dev) { in raid56_parity_alloc_scrub_rbio()
Dcheck-integrity.c1540 device = multi->stripes[0].dev; in btrfsic_map_block()
1547 block_ctx_out->dev_bytenr = multi->stripes[0].physical; in btrfsic_map_block()
Dextent_io.c2068 sector = bbio->stripes[bbio->mirror_num - 1].physical >> 9; in repair_io_failure()
2070 dev = bbio->stripes[bbio->mirror_num - 1].dev; in repair_io_failure()
Dextent-tree.c1985 struct btrfs_bio_stripe *stripe = bbio->stripes; in btrfs_discard_extent()