Searched refs:stripes (Results 1 – 14 of 14) sorted by relevance
/fs/btrfs/ |
D | volumes.c | 3110 ret = btrfs_update_device(trans, map->stripes[i].dev); in remove_chunk_item() 3151 struct btrfs_device *device = map->stripes[i].dev; in btrfs_remove_chunk() 3153 map->stripes[i].physical, in btrfs_remove_chunk() 5428 map->stripes[s].dev = devices_info[i].dev; in create_chunk() 5429 map->stripes[s].physical = devices_info[i].dev_offset + in create_chunk() 5469 struct btrfs_device *dev = map->stripes[i].dev; in create_chunk() 5621 struct btrfs_device *device = map->stripes[i].dev; in btrfs_chunk_alloc_add_chunk_item() 5630 struct btrfs_device *device = map->stripes[i].dev; in btrfs_chunk_alloc_add_chunk_item() 5631 const u64 dev_offset = map->stripes[i].physical; in btrfs_chunk_alloc_add_chunk_item() 5734 &map->stripes[i].dev->dev_state)) { in btrfs_chunk_writeable() [all …]
|
D | zoned.c | 1349 device = map->stripes[i].dev; in btrfs_load_block_group_zone_info() 1350 physical[i] = map->stripes[i].physical; in btrfs_load_block_group_zone_info() 1793 u64 physical = bioc->stripes[i].physical; in read_zone_info() 1794 struct btrfs_device *dev = bioc->stripes[i].dev; in read_zone_info() 1858 device = map->stripes[0].dev; in btrfs_zoned_get_device() 1899 device = map->stripes[i].dev; in btrfs_zone_activate() 1900 physical = map->stripes[i].physical; in btrfs_zone_activate() 2042 struct btrfs_device *device = map->stripes[i].dev; in do_zone_finish() 2043 const u64 physical = map->stripes[i].physical; in do_zone_finish()
|
D | scrub.c | 1536 bioc->stripes[stripe_index].physical + in scrub_setup_recheck_block() 1538 sblock->dev = bioc->stripes[stripe_index].dev; in scrub_setup_recheck_block() 2900 last_offset = (physical - map->stripes[num].physical) * data_stripes; in get_raid56_logic_offset() 3250 extent_physical = bioc->stripes[0].physical; in scrub_raid56_data_stripe_for_parity() 3252 extent_dev = bioc->stripes[0].dev; in scrub_raid56_data_stripe_for_parity() 3562 const u64 orig_physical = map->stripes[stripe_index].physical; in scrub_simple_stripe() 3602 u64 physical = map->stripes[stripe_index].physical; in scrub_stripe() 3668 map->stripes[stripe_index].physical, in scrub_stripe() 3732 map->stripes[stripe_index].physical + dev_stripe_len; in scrub_stripe() 3754 map->stripes[stripe_index].physical, in scrub_stripe() [all …]
|
D | dev-replace.c | 591 if (srcdev != map->stripes[i].dev) in btrfs_finish_block_group_to_copy() 595 if (physical == map->stripes[i].physical) in btrfs_finish_block_group_to_copy() 841 if (srcdev == map->stripes[i].dev) in btrfs_dev_replace_update_device_in_mapping_tree() 842 map->stripes[i].dev = tgtdev; in btrfs_dev_replace_update_device_in_mapping_tree()
|
D | volumes.h | 514 struct btrfs_io_stripe stripes[]; member 549 struct btrfs_io_stripe stripes[]; member
|
D | raid56.c | 1037 stripe = &rbio->bioc->stripes[stripe_nr]; in rbio_add_io_sector() 1146 if (bio->bi_bdev != bioc->stripes[i].dev->bdev) in bio_get_trace_info() 1149 trace_info->devid = bioc->stripes[i].dev->devid; in bio_get_trace_info() 1151 bioc->stripes[i].physical; in bio_get_trace_info() 1369 stripe = &rbio->bioc->stripes[i]; in find_bio_stripe() 2305 if (bioc->stripes[i].dev == scrub_dev) { in raid56_parity_alloc_scrub_rbio()
|
D | extent_map.c | 371 struct btrfs_io_stripe *stripe = &map->stripes[i]; in extent_map_device_set_bits() 386 struct btrfs_io_stripe *stripe = &map->stripes[i]; in extent_map_device_clear_bits()
|
D | block-group.c | 1901 if (!in_range(physical, map->stripes[i].physical, in btrfs_rmap_block() 1905 if (bdev && map->stripes[i].dev->bdev != bdev) in btrfs_rmap_block() 1908 stripe_nr = physical - map->stripes[i].physical; in btrfs_rmap_block() 2477 device = map->stripes[i].dev; in insert_dev_extents() 2478 dev_offset = map->stripes[i].physical; in insert_dev_extents()
|
D | extent-tree.c | 1332 struct btrfs_discard_stripe *stripes; in btrfs_discard_extent() local 1337 stripes = btrfs_map_discard(fs_info, cur, &num_bytes, &num_stripes); in btrfs_discard_extent() 1338 if (IS_ERR(stripes)) { in btrfs_discard_extent() 1339 ret = PTR_ERR(stripes); in btrfs_discard_extent() 1346 struct btrfs_discard_stripe *stripe = stripes + i; in btrfs_discard_extent() 1371 kfree(stripes); in btrfs_discard_extent()
|
D | check-integrity.c | 1479 device = multi->stripes[0].dev; in btrfsic_map_block() 1486 block_ctx_out->dev_bytenr = multi->stripes[0].physical; in btrfsic_map_block()
|
D | compression.c | 354 bio_set_dev(bio, em->map_lookup->stripes[0].dev->bdev); in alloc_compressed_bio()
|
D | extent_io.c | 596 sector = bioc->stripes[bioc->mirror_num - 1].physical >> 9; in repair_io_failure() 597 dev = bioc->stripes[bioc->mirror_num - 1].dev; in repair_io_failure()
|
D | inode.c | 11293 device = em->map_lookup->stripes[0].dev; in btrfs_swap_activate() 11299 } else if (device != em->map_lookup->stripes[0].dev) { in btrfs_swap_activate() 11305 physical_block_start = (em->map_lookup->stripes[0].physical + in btrfs_swap_activate()
|
/fs/btrfs/tests/ |
D | extent-map-tests.c | 500 map->stripes[i].dev = dev; in test_rmap_block() 501 map->stripes[i].physical = test->data_stripe_phys_start[i]; in test_rmap_block()
|