Searched refs:chunk_block (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/drivers/md/ |
D | dm-zoned-target.c | 117 struct bio *bio, sector_t chunk_block, in dmz_submit_bio() argument 134 dmz_start_sect(dmz->metadata, zone) + dmz_blk2sect(chunk_block); in dmz_submit_bio() 154 sector_t chunk_block, unsigned int nr_blocks) in dmz_handle_read_zero() argument 173 sector_t chunk_block = dmz_chunk_block(zmd, dmz_bio_block(bio)); in dmz_handle_read() local 175 sector_t end_block = chunk_block + nr_blocks; in dmz_handle_read() 191 (unsigned long long)chunk_block, nr_blocks); in dmz_handle_read() 195 while (chunk_block < end_block) { in dmz_handle_read() 198 chunk_block < zone->wp_block) { in dmz_handle_read() 200 ret = dmz_block_valid(zmd, zone, chunk_block); in dmz_handle_read() 215 ret = dmz_block_valid(zmd, bzone, chunk_block); in dmz_handle_read() [all …]
|
D | dm-zoned-metadata.c | 2405 sector_t chunk_block) in dmz_get_bitmap() argument 2409 (chunk_block >> DMZ_BLOCK_SHIFT_BITS); in dmz_get_bitmap() 2421 sector_t chunk_block = 0; in dmz_copy_valid_blocks() local 2424 while (chunk_block < zmd->zone_nr_blocks) { in dmz_copy_valid_blocks() 2425 from_mblk = dmz_get_bitmap(zmd, from_zone, chunk_block); in dmz_copy_valid_blocks() 2428 to_mblk = dmz_get_bitmap(zmd, to_zone, chunk_block); in dmz_copy_valid_blocks() 2440 chunk_block += zmd->zone_bits_per_mblk; in dmz_copy_valid_blocks() 2453 struct dm_zone *to_zone, sector_t chunk_block) in dmz_merge_valid_blocks() argument 2459 while (chunk_block < zmd->zone_nr_blocks) { in dmz_merge_valid_blocks() 2461 ret = dmz_first_valid_block(zmd, from_zone, &chunk_block); in dmz_merge_valid_blocks() [all …]
|
D | dm-zoned.h | 257 sector_t chunk_block, unsigned int nr_blocks); 259 sector_t chunk_block, unsigned int nr_blocks); 261 sector_t chunk_block); 263 sector_t *chunk_block); 267 struct dm_zone *to_zone, sector_t chunk_block);
|
D | dm-zoned-reclaim.c | 199 sector_t chunk_block = dzone->wp_block; in dmz_reclaim_buf() local 216 ret = dmz_merge_valid_blocks(zmd, bzone, dzone, chunk_block); in dmz_reclaim_buf() 397 sector_t chunk_block = 0; in dmz_do_reclaim() local 399 ret = dmz_first_valid_block(zmd, bzone, &chunk_block); in dmz_do_reclaim() 403 if (ret == 0 || chunk_block >= dzone->wp_block) { in dmz_do_reclaim()
|