Searched refs:stripes (Results 1 – 9 of 9) sorted by relevance
1283 if (map->stripes[i].dev != device) in contains_pending_extent()1285 if (map->stripes[i].physical >= physical_start + len || in contains_pending_extent()1286 map->stripes[i].physical + em->orig_block_len <= in contains_pending_extent()1301 end = map->stripes[i].physical + em->orig_block_len; in contains_pending_extent()2847 struct btrfs_device *device = map->stripes[i].dev; in btrfs_remove_chunk()2849 map->stripes[i].physical, in btrfs_remove_chunk()2868 if (map->stripes[i].dev) { in btrfs_remove_chunk()2869 ret = btrfs_update_device(trans, map->stripes[i].dev); in btrfs_remove_chunk()4818 map->stripes[s].dev = devices_info[i].dev; in __btrfs_alloc_chunk()4819 map->stripes[s].physical = devices_info[i].dev_offset + in __btrfs_alloc_chunk()[all …]
322 struct btrfs_bio_stripe stripes[]; member354 struct btrfs_bio_stripe stripes[]; member
1396 page->physical = bbio->stripes[stripe_index].physical + in scrub_setup_recheck_block()1398 page->dev = bbio->stripes[stripe_index].dev; in scrub_setup_recheck_block()2692 last_offset = (physical - map->stripes[num].physical) * in get_raid56_logic_offset()3001 extent_physical = bbio->stripes[0].physical; in scrub_raid56_parity()3003 extent_dev = bbio->stripes[0].dev; in scrub_raid56_parity()3102 physical = map->stripes[num].physical; in scrub_stripe()3417 sctx->stat.last_physical = map->stripes[num].physical + in scrub_stripe()3477 if (map->stripes[i].dev->bdev == scrub_dev->bdev && in scrub_chunk()3478 map->stripes[i].physical == dev_offset) { in scrub_chunk()4082 !bbio->stripes[0].dev->bdev) { in scrub_remap_extent()[all …]
631 if (srcdev == map->stripes[i].dev) in btrfs_dev_replace_update_device_in_mapping_tree()632 map->stripes[i].dev = tgtdev; in btrfs_dev_replace_update_device_in_mapping_tree()
291 zone->devs[i] = bbio->stripes[i].dev; in reada_find_zone()373 dev = bbio->stripes[nzones].dev; in reada_find_extent()
1080 stripe = &rbio->bbio->stripes[stripe_nr]; in rbio_add_io_page()1349 stripe = &rbio->bbio->stripes[i]; in find_bio_stripe()2235 if (bbio->stripes[i].dev == scrub_dev) { in raid56_parity_alloc_scrub_rbio()
1557 device = multi->stripes[0].dev; in btrfsic_map_block()1559 block_ctx_out->dev_bytenr = multi->stripes[0].physical; in btrfsic_map_block()
2040 sector = bbio->stripes[mirror_num-1].physical >> 9; in repair_io_failure()2042 dev = bbio->stripes[mirror_num-1].dev; in repair_io_failure()
2043 struct btrfs_bio_stripe *stripe = bbio->stripes; in btrfs_discard_extent()