Searched refs:stripes (Results 1 – 13 of 13) sorted by relevance
3044 struct btrfs_device *device = map->stripes[i].dev; in btrfs_remove_chunk()3046 map->stripes[i].physical, in btrfs_remove_chunk()5172 map->stripes[s].dev = devices_info[i].dev; in create_chunk()5173 map->stripes[s].physical = devices_info[i].dev_offset + in create_chunk()5213 struct btrfs_device *dev = map->stripes[i].dev; in create_chunk()5343 device = map->stripes[i].dev; in btrfs_finish_chunk_alloc()5344 dev_offset = map->stripes[i].physical; in btrfs_finish_chunk_alloc()5361 device = map->stripes[i].dev; in btrfs_finish_chunk_alloc()5362 dev_offset = map->stripes[i].physical; in btrfs_finish_chunk_alloc()5438 &map->stripes[i].dev->dev_state)) { in btrfs_chunk_readonly()[all …]
343 struct btrfs_bio_stripe stripes[]; member378 struct btrfs_bio_stripe stripes[]; member
1363 page->physical = bbio->stripes[stripe_index].physical + in scrub_setup_recheck_block()1365 page->dev = bbio->stripes[stripe_index].dev; in scrub_setup_recheck_block()2607 last_offset = (physical - map->stripes[num].physical) * data_stripes; in get_raid56_logic_offset()2912 extent_physical = bbio->stripes[0].physical; in scrub_raid56_parity()2914 extent_dev = bbio->stripes[0].dev; in scrub_raid56_parity()3013 physical = map->stripes[num].physical; in scrub_stripe()3343 sctx->stat.last_physical = map->stripes[num].physical + in scrub_stripe()3402 if (map->stripes[i].dev->bdev == scrub_dev->bdev && in scrub_chunk()3403 map->stripes[i].physical == dev_offset) { in scrub_chunk()4109 !bbio->stripes[0].dev->bdev) { in scrub_remap_extent()[all …]
363 struct btrfs_bio_stripe *stripe = &map->stripes[i]; in extent_map_device_set_bits()378 struct btrfs_bio_stripe *stripe = &map->stripes[i]; in extent_map_device_clear_bits()
683 if (srcdev == map->stripes[i].dev) in btrfs_dev_replace_update_device_in_mapping_tree()684 map->stripes[i].dev = tgtdev; in btrfs_dev_replace_update_device_in_mapping_tree()
275 zone->devs[i] = bbio->stripes[i].dev; in reada_find_zone()355 dev = bbio->stripes[nzones].dev; in reada_find_extent()
1100 stripe = &rbio->bbio->stripes[stripe_nr]; in rbio_add_io_page()1380 stripe = &rbio->bbio->stripes[i]; in find_bio_stripe()2297 if (bbio->stripes[i].dev == scrub_dev) { in raid56_parity_alloc_scrub_rbio()
1529 device = multi->stripes[0].dev; in btrfsic_map_block()1536 block_ctx_out->dev_bytenr = multi->stripes[0].physical; in btrfsic_map_block()
1700 if (!in_range(physical, map->stripes[i].physical, in btrfs_rmap_block()1704 stripe_nr = physical - map->stripes[i].physical; in btrfs_rmap_block()
2303 sector = bbio->stripes[bbio->mirror_num - 1].physical >> 9; in repair_io_failure()2305 dev = bbio->stripes[bbio->mirror_num - 1].dev; in repair_io_failure()
10356 device = em->map_lookup->stripes[0].dev; in btrfs_swap_activate()10362 } else if (device != em->map_lookup->stripes[0].dev) { in btrfs_swap_activate()10368 physical_block_start = (em->map_lookup->stripes[0].physical + in btrfs_swap_activate()
1302 stripe = bbio->stripes; in btrfs_discard_extent()
498 map->stripes[i].dev = dev; in test_rmap_block()499 map->stripes[i].physical = test->data_stripe_phys_start[i]; in test_rmap_block()