Home
last modified time | relevance | path

Searched defs:zmd (Results 1 – 4 of 4) sorted by relevance

/drivers/md/
Ddm-zoned-metadata.c207 #define dmz_zmd_info(zmd, format, args...) \ argument
210 #define dmz_zmd_err(zmd, format, args...) \ argument
213 #define dmz_zmd_warn(zmd, format, args...) \ argument
216 #define dmz_zmd_debug(zmd, format, args...) \ argument
221 static unsigned int dmz_dev_zone_id(struct dmz_metadata *zmd, struct dm_zone *zone) in dmz_dev_zone_id()
229 sector_t dmz_start_sect(struct dmz_metadata *zmd, struct dm_zone *zone) in dmz_start_sect()
236 sector_t dmz_start_block(struct dmz_metadata *zmd, struct dm_zone *zone) in dmz_start_block()
243 unsigned int dmz_zone_nr_blocks(struct dmz_metadata *zmd) in dmz_zone_nr_blocks()
248 unsigned int dmz_zone_nr_blocks_shift(struct dmz_metadata *zmd) in dmz_zone_nr_blocks_shift()
253 unsigned int dmz_zone_nr_sectors(struct dmz_metadata *zmd) in dmz_zone_nr_sectors()
[all …]
Ddm-zoned-reclaim.c62 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_align_wp() local
120 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_copy() local
200 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_buf() local
239 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_seq_data() local
284 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_rnd_data() local
342 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_empty() local
366 struct dmz_metadata *zmd = zrc->metadata; in dmz_do_reclaim() local
448 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_percentage() local
505 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_work() local
553 int dmz_ctr_reclaim(struct dmz_metadata *zmd, in dmz_ctr_reclaim()
Ddm-zoned-target.c172 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_read() local
254 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_direct_write() local
287 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_buffered_write() local
321 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_write() local
360 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_discard() local
400 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_bio() local
628 struct dmz_metadata *zmd = dmz->metadata; in dmz_map() local
Ddm-zoned.h83 #define dmz_bio_chunk(zmd, bio) ((bio)->bi_iter.bi_sector >> \ argument
85 #define dmz_chunk_block(zmd, b) ((b) & (dmz_zone_nr_blocks(zmd) - 1)) argument