Home
last modified time | relevance | path

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

/fs/btrfs/
Dvolumes.c3142 struct btrfs_device *device = map->stripes[i].dev; in btrfs_remove_chunk()
3144 map->stripes[i].physical, in btrfs_remove_chunk()
5293 map->stripes[s].dev = devices_info[i].dev; in __btrfs_alloc_chunk()
5294 map->stripes[s].physical = devices_info[i].dev_offset + in __btrfs_alloc_chunk()
5337 struct btrfs_device *dev = map->stripes[i].dev; in __btrfs_alloc_chunk()
5408 device = map->stripes[i].dev; in btrfs_finish_chunk_alloc()
5409 dev_offset = map->stripes[i].physical; in btrfs_finish_chunk_alloc()
5426 device = map->stripes[i].dev; in btrfs_finish_chunk_alloc()
5427 dev_offset = map->stripes[i].physical; in btrfs_finish_chunk_alloc()
5523 &map->stripes[i].dev->dev_state)) { in btrfs_chunk_readonly()
[all …]
Dvolumes.h347 struct btrfs_bio_stripe stripes[]; member
382 struct btrfs_bio_stripe stripes[]; member
Dscrub.c1364 page->physical = bbio->stripes[stripe_index].physical + in scrub_setup_recheck_block()
1366 page->dev = bbio->stripes[stripe_index].dev; in scrub_setup_recheck_block()
2675 last_offset = (physical - map->stripes[num].physical) * data_stripes; in get_raid56_logic_offset()
2980 extent_physical = bbio->stripes[0].physical; in scrub_raid56_parity()
2982 extent_dev = bbio->stripes[0].dev; in scrub_raid56_parity()
3080 physical = map->stripes[num].physical; in scrub_stripe()
3395 sctx->stat.last_physical = map->stripes[num].physical + in scrub_stripe()
3454 if (map->stripes[i].dev->bdev == scrub_dev->bdev && in scrub_chunk()
3455 map->stripes[i].physical == dev_offset) { in scrub_chunk()
4139 !bbio->stripes[0].dev->bdev) { in scrub_remap_extent()
[all …]
Dextent_map.c359 struct btrfs_bio_stripe *stripe = &map->stripes[i]; in extent_map_device_set_bits()
374 struct btrfs_bio_stripe *stripe = &map->stripes[i]; in extent_map_device_clear_bits()
Dreada.c275 zone->devs[i] = bbio->stripes[i].dev; in reada_find_zone()
355 dev = bbio->stripes[nzones].dev; in reada_find_extent()
Ddev-replace.c821 if (srcdev == map->stripes[i].dev) in btrfs_dev_replace_update_device_in_mapping_tree()
822 map->stripes[i].dev = tgtdev; in btrfs_dev_replace_update_device_in_mapping_tree()
Draid56.c1105 stripe = &rbio->bbio->stripes[stripe_nr]; in rbio_add_io_page()
1390 stripe = &rbio->bbio->stripes[i]; in find_bio_stripe()
2324 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.c2228 sector = bbio->stripes[bbio->mirror_num - 1].physical >> 9; in repair_io_failure()
2230 dev = bbio->stripes[bbio->mirror_num - 1].dev; in repair_io_failure()
Dinode.c11025 device = em->map_lookup->stripes[0].dev; in btrfs_swap_activate()
11031 } else if (device != em->map_lookup->stripes[0].dev) { in btrfs_swap_activate()
11037 physical_block_start = (em->map_lookup->stripes[0].physical + in btrfs_swap_activate()
Dextent-tree.c1343 stripe = bbio->stripes; in btrfs_discard_extent()