Home
last modified time | relevance | path

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

/drivers/md/
Ddm-zoned-target.c117 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 …]
Ddm-zoned-metadata.c2402 sector_t chunk_block) in dmz_get_bitmap() argument
2406 (chunk_block >> DMZ_BLOCK_SHIFT_BITS); in dmz_get_bitmap()
2418 sector_t chunk_block = 0; in dmz_copy_valid_blocks() local
2421 while (chunk_block < zmd->zone_nr_blocks) { in dmz_copy_valid_blocks()
2422 from_mblk = dmz_get_bitmap(zmd, from_zone, chunk_block); in dmz_copy_valid_blocks()
2425 to_mblk = dmz_get_bitmap(zmd, to_zone, chunk_block); in dmz_copy_valid_blocks()
2437 chunk_block += zmd->zone_bits_per_mblk; in dmz_copy_valid_blocks()
2450 struct dm_zone *to_zone, sector_t chunk_block) in dmz_merge_valid_blocks() argument
2456 while (chunk_block < zmd->zone_nr_blocks) { in dmz_merge_valid_blocks()
2458 ret = dmz_first_valid_block(zmd, from_zone, &chunk_block); in dmz_merge_valid_blocks()
[all …]
Ddm-zoned.h257 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);
Ddm-zoned-reclaim.c199 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()