Home
last modified time | relevance | path

Searched refs:dmz_metadata (Results 1 – 4 of 4) sorted by relevance

/drivers/md/
Ddm-zoned.h48 struct dmz_metadata;
56 struct dmz_metadata *metadata;
194 struct dmz_metadata **zmd, const char *devname);
195 void dmz_dtr_metadata(struct dmz_metadata *zmd);
196 int dmz_resume_metadata(struct dmz_metadata *zmd);
198 void dmz_lock_map(struct dmz_metadata *zmd);
199 void dmz_unlock_map(struct dmz_metadata *zmd);
200 void dmz_lock_metadata(struct dmz_metadata *zmd);
201 void dmz_unlock_metadata(struct dmz_metadata *zmd);
202 void dmz_lock_flush(struct dmz_metadata *zmd);
[all …]
Ddm-zoned-metadata.c143 struct dmz_metadata { struct
221 static unsigned int dmz_dev_zone_id(struct dmz_metadata *zmd, struct dm_zone *zone) in dmz_dev_zone_id() argument
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()
258 unsigned int dmz_zone_nr_sectors_shift(struct dmz_metadata *zmd) in dmz_zone_nr_sectors_shift()
263 unsigned int dmz_nr_zones(struct dmz_metadata *zmd) in dmz_nr_zones()
268 unsigned int dmz_nr_chunks(struct dmz_metadata *zmd) in dmz_nr_chunks()
[all …]
Ddm-zoned-reclaim.c15 struct dmz_metadata *metadata;
62 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_align_wp()
120 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_copy()
200 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_buf()
239 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_seq_data()
284 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_rnd_data()
342 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_empty()
366 struct dmz_metadata *zmd = zrc->metadata; in dmz_do_reclaim()
448 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_percentage()
505 struct dmz_metadata *zmd = zrc->metadata; in dmz_reclaim_work()
[all …]
Ddm-zoned-target.c50 struct dmz_metadata *metadata;
173 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_read()
255 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_direct_write()
288 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_buffered_write()
322 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_write()
361 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_discard()
401 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_bio()
629 struct dmz_metadata *zmd = dmz->metadata; in dmz_map()