Lines Matching refs:metadata

50 	struct dmz_metadata     *metadata;  member
135 dmz_start_sect(dmz->metadata, zone) + dmz_blk2sect(chunk_block); in dmz_submit_bio()
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()
375 dmz_metadata_label(dmz->metadata), in dmz_handle_discard()
401 struct dmz_metadata *zmd = dmz->metadata; in dmz_handle_bio()
439 dmz_metadata_label(dmz->metadata), bio_op(bio)); in dmz_handle_bio()
511 ret = dmz_flush_metadata(dmz->metadata); in dmz_flush_work()
514 dmz_metadata_label(dmz->metadata), ret); in dmz_flush_work()
537 unsigned int chunk = dmz_bio_chunk(dmz->metadata, bio); in dmz_queue_chunk_work()
629 struct dmz_metadata *zmd = dmz->metadata; in dmz_map()
877 ret = dmz_ctr_metadata(dmz->dev, argc, &dmz->metadata, in dmz_ctr()
885 ti->max_io_len = dmz_zone_nr_sectors(dmz->metadata); in dmz_ctr()
894 ti->len = (sector_t)dmz_nr_chunks(dmz->metadata) << in dmz_ctr()
895 dmz_zone_nr_sectors_shift(dmz->metadata); in dmz_ctr()
909 dmz_metadata_label(dmz->metadata)); in dmz_ctr()
921 dmz_metadata_label(dmz->metadata)); in dmz_ctr()
931 ret = dmz_ctr_reclaim(dmz->metadata, &dmz->dev[i].reclaim, i); in dmz_ctr()
939 dmz_metadata_label(dmz->metadata), in dmz_ctr()
952 dmz_dtr_metadata(dmz->metadata); in dmz_ctr()
978 (void) dmz_flush_metadata(dmz->metadata); in dmz_dtr()
980 dmz_dtr_metadata(dmz->metadata); in dmz_dtr()
998 unsigned int chunk_sectors = dmz_zone_nr_sectors(dmz->metadata); in dmz_io_hints()
1067 unsigned int zone_nr_sectors = dmz_zone_nr_sectors(dmz->metadata); in dmz_iterate_devices()
1093 dmz_nr_zones(dmz->metadata), in dmz_status()
1094 dmz_nr_unmap_cache_zones(dmz->metadata), in dmz_status()
1095 dmz_nr_cache_zones(dmz->metadata)); in dmz_status()
1102 (dmz_nr_cache_zones(dmz->metadata) > 0)) in dmz_status()
1105 dmz_nr_unmap_rnd_zones(dmz->metadata, i), in dmz_status()
1106 dmz_nr_rnd_zones(dmz->metadata, i), in dmz_status()
1107 dmz_nr_unmap_seq_zones(dmz->metadata, i), in dmz_status()
1108 dmz_nr_seq_zones(dmz->metadata, i)); in dmz_status()