Searched refs:chunk_map (Results 1 – 1 of 1) sorted by relevance
4655 struct btrfs_chunk_map *chunk_map, in remove_chunk_stripes() argument4666 key.offset = chunk_map->start; in remove_chunk_stripes()4696 int btrfs_last_identity_remap_gone(struct btrfs_chunk_map *chunk_map, in btrfs_last_identity_remap_gone() argument4715 num_items = chunk_map->num_stripes + 1; in btrfs_last_identity_remap_gone()4717 num_items = 2 * chunk_map->num_stripes; in btrfs_last_identity_remap_gone()4723 ret = btrfs_remove_dev_extents(trans, chunk_map); in btrfs_last_identity_remap_gone()4730 for (unsigned int i = 0; i < chunk_map->num_stripes; i++) { in btrfs_last_identity_remap_gone()4731 ret = btrfs_update_device(trans, chunk_map->stripes[i].dev); in btrfs_last_identity_remap_gone()4741 btrfs_chunk_map_device_clear_bits(chunk_map, CHUNK_ALLOCATED); in btrfs_last_identity_remap_gone()4750 ret = remove_chunk_stripes(trans, chunk_map, path); in btrfs_last_identity_remap_gone()[all …]