Searched refs:bzone (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/drivers/md/ |
D | dm-zoned-reclaim.c | 198 struct dm_zone *bzone = dzone->bzone; in dmz_reclaim_buf() local 205 dzone->chunk, bzone->id, dmz_weight(bzone), 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() 219 dmz_invalidate_blocks(zmd, bzone, 0, dmz_zone_nr_blocks(zmd)); in dmz_reclaim_buf() 221 dmz_unmap_zone(zmd, bzone); in dmz_reclaim_buf() 223 dmz_free_zone(zmd, bzone); in dmz_reclaim_buf() 238 struct dm_zone *bzone = dzone->bzone; in dmz_reclaim_seq_data() local 245 bzone->id, dmz_weight(bzone)); in dmz_reclaim_seq_data() 248 ret = dmz_reclaim_copy(zrc, dzone, bzone); in dmz_reclaim_seq_data() [all …]
|
D | dm-zoned-metadata.c | 1683 struct dm_zone *dzone, *bzone; in dmz_load_mapping() local 1748 bzone = dmz_get(zmd, bzone_id); in dmz_load_mapping() 1749 if (!bzone) { in dmz_load_mapping() 1754 if (!dmz_is_rnd(bzone) && !dmz_is_cache(bzone)) { in dmz_load_mapping() 1760 set_bit(DMZ_DATA, &bzone->flags); in dmz_load_mapping() 1761 set_bit(DMZ_BUF, &bzone->flags); in dmz_load_mapping() 1762 bzone->chunk = chunk; in dmz_load_mapping() 1763 bzone->bzone = dzone; in dmz_load_mapping() 1764 dzone->bzone = bzone; in dmz_load_mapping() 1765 dmz_get_zone_weight(zmd, bzone); in dmz_load_mapping() [all …]
|
D | dm-zoned-target.c | 176 struct dm_zone *rzone, *bzone; in dmz_handle_read() local 194 bzone = zone->bzone; in dmz_handle_read() 214 if (!nr_blocks && bzone) { in dmz_handle_read() 215 ret = dmz_block_valid(zmd, bzone, chunk_block); in dmz_handle_read() 221 rzone = bzone; in dmz_handle_read() 255 struct dm_zone *bzone = zone->bzone; in dmz_handle_direct_write() local 271 if (ret == 0 && bzone) in dmz_handle_direct_write() 272 ret = dmz_invalidate_blocks(zmd, bzone, chunk_block, nr_blocks); in dmz_handle_direct_write() 288 struct dm_zone *bzone; in dmz_handle_buffered_write() local 292 bzone = dmz_get_chunk_buffer(zmd, zone); in dmz_handle_buffered_write() [all …]
|
D | dm-zoned.h | 125 struct dm_zone *bzone; member
|