bzone 1352 drivers/md/dm-zoned-metadata.c struct dm_zone *dzone, *bzone; bzone 1410 drivers/md/dm-zoned-metadata.c bzone = dmz_get(zmd, bzone_id); bzone 1411 drivers/md/dm-zoned-metadata.c if (!dmz_is_rnd(bzone)) { bzone 1417 drivers/md/dm-zoned-metadata.c set_bit(DMZ_DATA, &bzone->flags); bzone 1418 drivers/md/dm-zoned-metadata.c set_bit(DMZ_BUF, &bzone->flags); bzone 1419 drivers/md/dm-zoned-metadata.c bzone->chunk = chunk; bzone 1420 drivers/md/dm-zoned-metadata.c bzone->bzone = dzone; bzone 1421 drivers/md/dm-zoned-metadata.c dzone->bzone = bzone; bzone 1422 drivers/md/dm-zoned-metadata.c dmz_get_zone_weight(zmd, bzone); bzone 1423 drivers/md/dm-zoned-metadata.c list_add_tail(&bzone->link, &zmd->map_rnd_list); bzone 1511 drivers/md/dm-zoned-metadata.c if (zone->bzone) bzone 1512 drivers/md/dm-zoned-metadata.c __dmz_lru_zone(zmd, zone->bzone); bzone 1585 drivers/md/dm-zoned-metadata.c dzone = zone->bzone; bzone 1606 drivers/md/dm-zoned-metadata.c if (!zone->bzone) bzone 1724 drivers/md/dm-zoned-metadata.c struct dm_zone *bzone; bzone 1728 drivers/md/dm-zoned-metadata.c bzone = dzone->bzone; bzone 1729 drivers/md/dm-zoned-metadata.c if (bzone) { bzone 1730 drivers/md/dm-zoned-metadata.c if (dmz_weight(bzone)) bzone 1731 drivers/md/dm-zoned-metadata.c dmz_lru_zone(zmd, bzone); bzone 1734 drivers/md/dm-zoned-metadata.c dmz_unmap_zone(zmd, bzone); bzone 1735 drivers/md/dm-zoned-metadata.c dmz_free_zone(zmd, bzone); bzone 1736 drivers/md/dm-zoned-metadata.c bzone = NULL; bzone 1742 drivers/md/dm-zoned-metadata.c if (dmz_is_active(dzone) || bzone || dmz_weight(dzone)) bzone 1760 drivers/md/dm-zoned-metadata.c struct dm_zone *bzone; bzone 1764 drivers/md/dm-zoned-metadata.c bzone = dzone->bzone; bzone 1765 drivers/md/dm-zoned-metadata.c if (bzone) bzone 1769 drivers/md/dm-zoned-metadata.c bzone = dmz_alloc_zone(zmd, DMZ_ALLOC_RND); bzone 1770 drivers/md/dm-zoned-metadata.c if (!bzone) { bzone 1772 drivers/md/dm-zoned-metadata.c bzone = ERR_PTR(-EIO); bzone 1781 drivers/md/dm-zoned-metadata.c dmz_id(zmd, bzone)); bzone 1783 drivers/md/dm-zoned-metadata.c set_bit(DMZ_BUF, &bzone->flags); bzone 1784 drivers/md/dm-zoned-metadata.c bzone->chunk = dzone->chunk; bzone 1785 drivers/md/dm-zoned-metadata.c bzone->bzone = dzone; bzone 1786 drivers/md/dm-zoned-metadata.c dzone->bzone = bzone; bzone 1787 drivers/md/dm-zoned-metadata.c list_add_tail(&bzone->link, &zmd->map_rnd_list); bzone 1791 drivers/md/dm-zoned-metadata.c return bzone; bzone 1903 drivers/md/dm-zoned-metadata.c dzone_id = dmz_id(zmd, zone->bzone); bzone 1904 drivers/md/dm-zoned-metadata.c zone->bzone->bzone = NULL; bzone 1905 drivers/md/dm-zoned-metadata.c zone->bzone = NULL; bzone 1912 drivers/md/dm-zoned-metadata.c if (WARN_ON(zone->bzone)) { bzone 1913 drivers/md/dm-zoned-metadata.c zone->bzone->bzone = NULL; bzone 1914 drivers/md/dm-zoned-metadata.c zone->bzone = NULL; bzone 192 drivers/md/dm-zoned-reclaim.c struct dm_zone *bzone = dzone->bzone; bzone 199 drivers/md/dm-zoned-reclaim.c dzone->chunk, dmz_id(zmd, bzone), dmz_weight(bzone), bzone 203 drivers/md/dm-zoned-reclaim.c ret = dmz_reclaim_copy(zrc, bzone, dzone); bzone 210 drivers/md/dm-zoned-reclaim.c ret = dmz_merge_valid_blocks(zmd, bzone, dzone, chunk_block); bzone 213 drivers/md/dm-zoned-reclaim.c dmz_invalidate_blocks(zmd, bzone, 0, zrc->dev->zone_nr_blocks); bzone 215 drivers/md/dm-zoned-reclaim.c dmz_unmap_zone(zmd, bzone); bzone 217 drivers/md/dm-zoned-reclaim.c dmz_free_zone(zmd, bzone); bzone 232 drivers/md/dm-zoned-reclaim.c struct dm_zone *bzone = dzone->bzone; bzone 239 drivers/md/dm-zoned-reclaim.c dmz_id(zmd, bzone), dmz_weight(bzone)); bzone 242 drivers/md/dm-zoned-reclaim.c ret = dmz_reclaim_copy(zrc, dzone, bzone); bzone 249 drivers/md/dm-zoned-reclaim.c ret = dmz_merge_valid_blocks(zmd, dzone, bzone, 0); bzone 257 drivers/md/dm-zoned-reclaim.c dmz_unmap_zone(zmd, bzone); bzone 261 drivers/md/dm-zoned-reclaim.c dmz_map_zone(zmd, bzone, chunk); bzone 372 drivers/md/dm-zoned-reclaim.c struct dm_zone *bzone = dzone->bzone; bzone 375 drivers/md/dm-zoned-reclaim.c ret = dmz_first_valid_block(zmd, bzone, &chunk_block); bzone 385 drivers/md/dm-zoned-reclaim.c rzone = bzone; bzone 171 drivers/md/dm-zoned-target.c struct dm_zone *rzone, *bzone; bzone 187 drivers/md/dm-zoned-target.c bzone = zone->bzone; bzone 206 drivers/md/dm-zoned-target.c if (!nr_blocks && bzone) { bzone 207 drivers/md/dm-zoned-target.c ret = dmz_block_valid(dmz->metadata, bzone, chunk_block); bzone 213 drivers/md/dm-zoned-target.c rzone = bzone; bzone 245 drivers/md/dm-zoned-target.c struct dm_zone *bzone = zone->bzone; bzone 261 drivers/md/dm-zoned-target.c if (ret == 0 && bzone) bzone 262 drivers/md/dm-zoned-target.c ret = dmz_invalidate_blocks(zmd, bzone, chunk_block, nr_blocks); bzone 278 drivers/md/dm-zoned-target.c struct dm_zone *bzone; bzone 282 drivers/md/dm-zoned-target.c bzone = dmz_get_chunk_buffer(zmd, zone); bzone 283 drivers/md/dm-zoned-target.c if (IS_ERR(bzone)) bzone 284 drivers/md/dm-zoned-target.c return PTR_ERR(bzone); bzone 286 drivers/md/dm-zoned-target.c if (dmz_is_readonly(bzone)) bzone 290 drivers/md/dm-zoned-target.c ret = dmz_submit_bio(dmz, bzone, bio, chunk_block, nr_blocks); bzone 298 drivers/md/dm-zoned-target.c ret = dmz_validate_blocks(zmd, bzone, chunk_block, nr_blocks); bzone 369 drivers/md/dm-zoned-target.c if (ret == 0 && zone->bzone) bzone 370 drivers/md/dm-zoned-target.c ret = dmz_invalidate_blocks(zmd, zone->bzone, bzone 104 drivers/md/dm-zoned.h struct dm_zone *bzone;