dm_zone 151 drivers/md/dm-zoned-metadata.c struct dm_zone *zones; dm_zone 153 drivers/md/dm-zoned-metadata.c struct dm_zone *sb_zone; dm_zone 190 drivers/md/dm-zoned-metadata.c unsigned int dmz_id(struct dmz_metadata *zmd, struct dm_zone *zone) dm_zone 195 drivers/md/dm-zoned-metadata.c sector_t dmz_start_sect(struct dmz_metadata *zmd, struct dm_zone *zone) dm_zone 200 drivers/md/dm-zoned-metadata.c sector_t dmz_start_block(struct dmz_metadata *zmd, struct dm_zone *zone) dm_zone 1092 drivers/md/dm-zoned-metadata.c static int dmz_init_zone(struct dmz_metadata *zmd, struct dm_zone *zone, dm_zone 1162 drivers/md/dm-zoned-metadata.c struct dm_zone *zone; dm_zone 1176 drivers/md/dm-zoned-metadata.c zmd->zones = kcalloc(dev->nr_zones, sizeof(struct dm_zone), GFP_KERNEL); dm_zone 1181 drivers/md/dm-zoned-metadata.c sizeof(struct dm_zone) * dev->nr_zones); dm_zone 1236 drivers/md/dm-zoned-metadata.c static int dmz_update_zone(struct dmz_metadata *zmd, struct dm_zone *zone) dm_zone 1282 drivers/md/dm-zoned-metadata.c struct dm_zone *zone) dm_zone 1303 drivers/md/dm-zoned-metadata.c static struct dm_zone *dmz_get(struct dmz_metadata *zmd, unsigned int zone_id) dm_zone 1311 drivers/md/dm-zoned-metadata.c static int dmz_reset_zone(struct dmz_metadata *zmd, struct dm_zone *zone) dm_zone 1344 drivers/md/dm-zoned-metadata.c static void dmz_get_zone_weight(struct dmz_metadata *zmd, struct dm_zone *zone); dm_zone 1352 drivers/md/dm-zoned-metadata.c struct dm_zone *dzone, *bzone; dm_zone 1489 drivers/md/dm-zoned-metadata.c static void __dmz_lru_zone(struct dmz_metadata *zmd, struct dm_zone *zone) dm_zone 1508 drivers/md/dm-zoned-metadata.c static void dmz_lru_zone(struct dmz_metadata *zmd, struct dm_zone *zone) dm_zone 1538 drivers/md/dm-zoned-metadata.c int dmz_lock_zone_reclaim(struct dm_zone *zone) dm_zone 1550 drivers/md/dm-zoned-metadata.c void dmz_unlock_zone_reclaim(struct dm_zone *zone) dm_zone 1563 drivers/md/dm-zoned-metadata.c static void dmz_wait_for_reclaim(struct dmz_metadata *zmd, struct dm_zone *zone) dm_zone 1575 drivers/md/dm-zoned-metadata.c static struct dm_zone *dmz_get_rnd_zone_for_reclaim(struct dmz_metadata *zmd) dm_zone 1577 drivers/md/dm-zoned-metadata.c struct dm_zone *dzone = NULL; dm_zone 1578 drivers/md/dm-zoned-metadata.c struct dm_zone *zone; dm_zone 1598 drivers/md/dm-zoned-metadata.c static struct dm_zone *dmz_get_seq_zone_for_reclaim(struct dmz_metadata *zmd) dm_zone 1600 drivers/md/dm-zoned-metadata.c struct dm_zone *zone; dm_zone 1618 drivers/md/dm-zoned-metadata.c struct dm_zone *dmz_get_zone_for_reclaim(struct dmz_metadata *zmd) dm_zone 1620 drivers/md/dm-zoned-metadata.c struct dm_zone *zone; dm_zone 1646 drivers/md/dm-zoned-metadata.c struct dm_zone *dmz_get_chunk_mapping(struct dmz_metadata *zmd, unsigned int chunk, int op) dm_zone 1652 drivers/md/dm-zoned-metadata.c struct dm_zone *dzone = NULL; dm_zone 1722 drivers/md/dm-zoned-metadata.c void dmz_put_chunk_mapping(struct dmz_metadata *zmd, struct dm_zone *dzone) dm_zone 1724 drivers/md/dm-zoned-metadata.c struct dm_zone *bzone; dm_zone 1757 drivers/md/dm-zoned-metadata.c struct dm_zone *dmz_get_chunk_buffer(struct dmz_metadata *zmd, dm_zone 1758 drivers/md/dm-zoned-metadata.c struct dm_zone *dzone) dm_zone 1760 drivers/md/dm-zoned-metadata.c struct dm_zone *bzone; dm_zone 1798 drivers/md/dm-zoned-metadata.c struct dm_zone *dmz_alloc_zone(struct dmz_metadata *zmd, unsigned long flags) dm_zone 1801 drivers/md/dm-zoned-metadata.c struct dm_zone *zone; dm_zone 1818 drivers/md/dm-zoned-metadata.c struct dm_zone, link); dm_zone 1824 drivers/md/dm-zoned-metadata.c zone = list_first_entry(list, struct dm_zone, link); dm_zone 1845 drivers/md/dm-zoned-metadata.c void dmz_free_zone(struct dmz_metadata *zmd, struct dm_zone *zone) dm_zone 1871 drivers/md/dm-zoned-metadata.c void dmz_map_zone(struct dmz_metadata *zmd, struct dm_zone *dzone, dm_zone 1888 drivers/md/dm-zoned-metadata.c void dmz_unmap_zone(struct dmz_metadata *zmd, struct dm_zone *zone) dm_zone 1961 drivers/md/dm-zoned-metadata.c struct dm_zone *zone, dm_zone 1974 drivers/md/dm-zoned-metadata.c int dmz_copy_valid_blocks(struct dmz_metadata *zmd, struct dm_zone *from_zone, dm_zone 1975 drivers/md/dm-zoned-metadata.c struct dm_zone *to_zone) dm_zone 2009 drivers/md/dm-zoned-metadata.c int dmz_merge_valid_blocks(struct dmz_metadata *zmd, struct dm_zone *from_zone, dm_zone 2010 drivers/md/dm-zoned-metadata.c struct dm_zone *to_zone, sector_t chunk_block) dm_zone 2036 drivers/md/dm-zoned-metadata.c int dmz_validate_blocks(struct dmz_metadata *zmd, struct dm_zone *zone, dm_zone 2117 drivers/md/dm-zoned-metadata.c int dmz_invalidate_blocks(struct dmz_metadata *zmd, struct dm_zone *zone, dm_zone 2165 drivers/md/dm-zoned-metadata.c static int dmz_test_block(struct dmz_metadata *zmd, struct dm_zone *zone, dm_zone 2191 drivers/md/dm-zoned-metadata.c static int dmz_to_next_set_block(struct dmz_metadata *zmd, struct dm_zone *zone, dm_zone 2234 drivers/md/dm-zoned-metadata.c int dmz_block_valid(struct dmz_metadata *zmd, struct dm_zone *zone, dm_zone 2254 drivers/md/dm-zoned-metadata.c int dmz_first_valid_block(struct dmz_metadata *zmd, struct dm_zone *zone, dm_zone 2303 drivers/md/dm-zoned-metadata.c static void dmz_get_zone_weight(struct dmz_metadata *zmd, struct dm_zone *zone) dm_zone 2402 drivers/md/dm-zoned-metadata.c struct dm_zone *zone; dm_zone 2527 drivers/md/dm-zoned-metadata.c struct dm_zone *zone; dm_zone 58 drivers/md/dm-zoned-reclaim.c static int dmz_reclaim_align_wp(struct dmz_reclaim *zrc, struct dm_zone *zone, dm_zone 116 drivers/md/dm-zoned-reclaim.c struct dm_zone *src_zone, struct dm_zone *dst_zone) dm_zone 190 drivers/md/dm-zoned-reclaim.c static int dmz_reclaim_buf(struct dmz_reclaim *zrc, struct dm_zone *dzone) dm_zone 192 drivers/md/dm-zoned-reclaim.c struct dm_zone *bzone = dzone->bzone; dm_zone 229 drivers/md/dm-zoned-reclaim.c static int dmz_reclaim_seq_data(struct dmz_reclaim *zrc, struct dm_zone *dzone) dm_zone 232 drivers/md/dm-zoned-reclaim.c struct dm_zone *bzone = dzone->bzone; dm_zone 274 drivers/md/dm-zoned-reclaim.c static int dmz_reclaim_rnd_data(struct dmz_reclaim *zrc, struct dm_zone *dzone) dm_zone 277 drivers/md/dm-zoned-reclaim.c struct dm_zone *szone = NULL; dm_zone 326 drivers/md/dm-zoned-reclaim.c static void dmz_reclaim_empty(struct dmz_reclaim *zrc, struct dm_zone *dzone) dm_zone 345 drivers/md/dm-zoned-reclaim.c struct dm_zone *dzone; dm_zone 346 drivers/md/dm-zoned-reclaim.c struct dm_zone *rzone; dm_zone 372 drivers/md/dm-zoned-reclaim.c struct dm_zone *bzone = dzone->bzone; dm_zone 21 drivers/md/dm-zoned-target.c struct dm_zone *zone; dm_zone 87 drivers/md/dm-zoned-target.c struct dm_zone *zone = bioctx->zone; dm_zone 117 drivers/md/dm-zoned-target.c static int dmz_submit_bio(struct dmz_target *dmz, struct dm_zone *zone, dm_zone 165 drivers/md/dm-zoned-target.c static int dmz_handle_read(struct dmz_target *dmz, struct dm_zone *zone, dm_zone 171 drivers/md/dm-zoned-target.c struct dm_zone *rzone, *bzone; dm_zone 240 drivers/md/dm-zoned-target.c struct dm_zone *zone, struct bio *bio, dm_zone 245 drivers/md/dm-zoned-target.c struct dm_zone *bzone = zone->bzone; dm_zone 273 drivers/md/dm-zoned-target.c struct dm_zone *zone, struct bio *bio, dm_zone 278 drivers/md/dm-zoned-target.c struct dm_zone *bzone; dm_zone 308 drivers/md/dm-zoned-target.c static int dmz_handle_write(struct dmz_target *dmz, struct dm_zone *zone, dm_zone 342 drivers/md/dm-zoned-target.c static int dmz_handle_discard(struct dmz_target *dmz, struct dm_zone *zone, dm_zone 383 drivers/md/dm-zoned-target.c struct dm_zone *zone; dm_zone 104 drivers/md/dm-zoned.h struct dm_zone *bzone; dm_zone 179 drivers/md/dm-zoned.h unsigned int dmz_id(struct dmz_metadata *zmd, struct dm_zone *zone); dm_zone 180 drivers/md/dm-zoned.h sector_t dmz_start_sect(struct dmz_metadata *zmd, struct dm_zone *zone); dm_zone 181 drivers/md/dm-zoned.h sector_t dmz_start_block(struct dmz_metadata *zmd, struct dm_zone *zone); dm_zone 187 drivers/md/dm-zoned.h struct dm_zone *dmz_alloc_zone(struct dmz_metadata *zmd, unsigned long flags); dm_zone 188 drivers/md/dm-zoned.h void dmz_free_zone(struct dmz_metadata *zmd, struct dm_zone *zone); dm_zone 190 drivers/md/dm-zoned.h void dmz_map_zone(struct dmz_metadata *zmd, struct dm_zone *zone, dm_zone 192 drivers/md/dm-zoned.h void dmz_unmap_zone(struct dmz_metadata *zmd, struct dm_zone *zone); dm_zone 199 drivers/md/dm-zoned.h static inline void dmz_activate_zone(struct dm_zone *zone) dm_zone 208 drivers/md/dm-zoned.h static inline void dmz_deactivate_zone(struct dm_zone *zone) dm_zone 216 drivers/md/dm-zoned.h static inline bool dmz_is_active(struct dm_zone *zone) dm_zone 221 drivers/md/dm-zoned.h int dmz_lock_zone_reclaim(struct dm_zone *zone); dm_zone 222 drivers/md/dm-zoned.h void dmz_unlock_zone_reclaim(struct dm_zone *zone); dm_zone 223 drivers/md/dm-zoned.h struct dm_zone *dmz_get_zone_for_reclaim(struct dmz_metadata *zmd); dm_zone 225 drivers/md/dm-zoned.h struct dm_zone *dmz_get_chunk_mapping(struct dmz_metadata *zmd, dm_zone 227 drivers/md/dm-zoned.h void dmz_put_chunk_mapping(struct dmz_metadata *zmd, struct dm_zone *zone); dm_zone 228 drivers/md/dm-zoned.h struct dm_zone *dmz_get_chunk_buffer(struct dmz_metadata *zmd, dm_zone 229 drivers/md/dm-zoned.h struct dm_zone *dzone); dm_zone 231 drivers/md/dm-zoned.h int dmz_validate_blocks(struct dmz_metadata *zmd, struct dm_zone *zone, dm_zone 233 drivers/md/dm-zoned.h int dmz_invalidate_blocks(struct dmz_metadata *zmd, struct dm_zone *zone, dm_zone 235 drivers/md/dm-zoned.h int dmz_block_valid(struct dmz_metadata *zmd, struct dm_zone *zone, dm_zone 237 drivers/md/dm-zoned.h int dmz_first_valid_block(struct dmz_metadata *zmd, struct dm_zone *zone, dm_zone 239 drivers/md/dm-zoned.h int dmz_copy_valid_blocks(struct dmz_metadata *zmd, struct dm_zone *from_zone, dm_zone 240 drivers/md/dm-zoned.h struct dm_zone *to_zone); dm_zone 241 drivers/md/dm-zoned.h int dmz_merge_valid_blocks(struct dmz_metadata *zmd, struct dm_zone *from_zone, dm_zone 242 drivers/md/dm-zoned.h struct dm_zone *to_zone, sector_t chunk_block);