Searched refs:dzone (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/md/ |
D | dm-zoned-reclaim.c | 196 static int dmz_reclaim_buf(struct dmz_reclaim *zrc, struct dm_zone *dzone) in dmz_reclaim_buf() argument 198 struct dm_zone *bzone = dzone->bzone; in dmz_reclaim_buf() 199 sector_t chunk_block = dzone->wp_block; in dmz_reclaim_buf() 205 dzone->chunk, bzone->id, dmz_weight(bzone), in dmz_reclaim_buf() 206 dzone->id, dmz_weight(dzone)); in dmz_reclaim_buf() 209 ret = dmz_reclaim_copy(zrc, bzone, dzone); in dmz_reclaim_buf() 216 ret = dmz_merge_valid_blocks(zmd, bzone, dzone, chunk_block); in dmz_reclaim_buf() 222 dmz_unlock_zone_reclaim(dzone); in dmz_reclaim_buf() 235 static int dmz_reclaim_seq_data(struct dmz_reclaim *zrc, struct dm_zone *dzone) in dmz_reclaim_seq_data() argument 237 unsigned int chunk = dzone->chunk; in dmz_reclaim_seq_data() [all …]
|
D | dm-zoned-metadata.c | 1686 struct dm_zone *dzone, *bzone; in dmz_load_mapping() local 1723 dzone = dmz_get(zmd, dzone_id); in dmz_load_mapping() 1724 if (!dzone) { in dmz_load_mapping() 1729 set_bit(DMZ_DATA, &dzone->flags); in dmz_load_mapping() 1730 dzone->chunk = chunk; in dmz_load_mapping() 1731 dmz_get_zone_weight(zmd, dzone); in dmz_load_mapping() 1733 if (dmz_is_cache(dzone)) in dmz_load_mapping() 1734 list_add_tail(&dzone->link, &zmd->map_cache_list); in dmz_load_mapping() 1735 else if (dmz_is_rnd(dzone)) in dmz_load_mapping() 1736 list_add_tail(&dzone->link, &dzone->dev->map_rnd_list); in dmz_load_mapping() [all …]
|
D | dm-zoned.h | 254 struct dm_zone *dzone);
|