Searched refs:chunk_map (Results 1 – 2 of 2) sorted by relevance
49 int btrfs_last_identity_remap_gone(struct btrfs_chunk_map *chunk_map,
4656 struct btrfs_chunk_map *chunk_map, in remove_chunk_stripes() argument4667 key.offset = chunk_map->start; in remove_chunk_stripes()4697 int btrfs_last_identity_remap_gone(struct btrfs_chunk_map *chunk_map, in btrfs_last_identity_remap_gone() argument4716 num_items = chunk_map->num_stripes + 1; in btrfs_last_identity_remap_gone()4718 num_items = 2 * chunk_map->num_stripes; in btrfs_last_identity_remap_gone()4724 ret = btrfs_remove_dev_extents(trans, chunk_map); in btrfs_last_identity_remap_gone()4732 for (unsigned int i = 0; i < chunk_map->num_stripes; i++) { in btrfs_last_identity_remap_gone()4733 ret = btrfs_update_device(trans, chunk_map->stripes[i].dev); in btrfs_last_identity_remap_gone()4744 btrfs_chunk_map_device_clear_bits(chunk_map, CHUNK_ALLOCATED); in btrfs_last_identity_remap_gone()4753 ret = remove_chunk_stripes(trans, chunk_map, path); in btrfs_last_identity_remap_gone()[all …]