Searched refs:dm_zone (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/md/ |
D | dm-zoned.h | 95 struct dm_zone { struct 125 struct dm_zone *bzone; argument 206 sector_t dmz_start_sect(struct dmz_metadata *zmd, struct dm_zone *zone); 207 sector_t dmz_start_block(struct dmz_metadata *zmd, struct dm_zone *zone); 218 struct dm_zone *dmz_alloc_zone(struct dmz_metadata *zmd, 220 void dmz_free_zone(struct dmz_metadata *zmd, struct dm_zone *zone); 222 void dmz_map_zone(struct dmz_metadata *zmd, struct dm_zone *zone, 224 void dmz_unmap_zone(struct dmz_metadata *zmd, struct dm_zone *zone); 240 static inline void dmz_activate_zone(struct dm_zone *zone) in dmz_activate_zone() 245 int dmz_lock_zone_reclaim(struct dm_zone *zone); [all …]
|
D | dm-zoned-reclaim.c | 59 static int dmz_reclaim_align_wp(struct dmz_reclaim *zrc, struct dm_zone *zone, in dmz_reclaim_align_wp() 118 struct dm_zone *src_zone, struct dm_zone *dst_zone) in dmz_reclaim_copy() 196 static int dmz_reclaim_buf(struct dmz_reclaim *zrc, struct dm_zone *dzone) in dmz_reclaim_buf() 198 struct dm_zone *bzone = dzone->bzone; in dmz_reclaim_buf() 235 static int dmz_reclaim_seq_data(struct dmz_reclaim *zrc, struct dm_zone *dzone) in dmz_reclaim_seq_data() 238 struct dm_zone *bzone = dzone->bzone; in dmz_reclaim_seq_data() 280 static int dmz_reclaim_rnd_data(struct dmz_reclaim *zrc, struct dm_zone *dzone) in dmz_reclaim_rnd_data() 283 struct dm_zone *szone = NULL; in dmz_reclaim_rnd_data() 340 static void dmz_reclaim_empty(struct dmz_reclaim *zrc, struct dm_zone *dzone) in dmz_reclaim_empty() 367 struct dm_zone *dzone; in dmz_do_reclaim() [all …]
|
D | dm-zoned-metadata.c | 137 struct dm_zone *zone; 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() 303 static struct dm_zone *dmz_get(struct dmz_metadata *zmd, unsigned int zone_id) in dmz_get() 308 static struct dm_zone *dmz_insert(struct dmz_metadata *zmd, in dmz_insert() 311 struct dm_zone *zone = kzalloc(sizeof(struct dm_zone), GFP_KERNEL); in dmz_insert() 1359 struct dm_zone *zone; in dmz_init_zone() 1430 struct dm_zone *zone; in dmz_emulate_zones() 1457 struct dm_zone *zone = xa_load(&zmd->zones, idx); in dmz_drop_zones() [all …]
|
D | dm-zoned-target.c | 21 struct dm_zone *zone; 86 struct dm_zone *zone = bioctx->zone; in dmz_bio_endio() 116 static int dmz_submit_bio(struct dmz_target *dmz, struct dm_zone *zone, in dmz_submit_bio() 169 static int dmz_handle_read(struct dmz_target *dmz, struct dm_zone *zone, in dmz_handle_read() 176 struct dm_zone *rzone, *bzone; in dmz_handle_read() 250 struct dm_zone *zone, struct bio *bio, in dmz_handle_direct_write() 255 struct dm_zone *bzone = zone->bzone; in dmz_handle_direct_write() 283 struct dm_zone *zone, struct bio *bio, in dmz_handle_buffered_write() 288 struct dm_zone *bzone; in dmz_handle_buffered_write() 318 static int dmz_handle_write(struct dmz_target *dmz, struct dm_zone *zone, in dmz_handle_write() [all …]
|