chunk_block 1962 drivers/md/dm-zoned-metadata.c sector_t chunk_block) chunk_block 1966 drivers/md/dm-zoned-metadata.c (chunk_block >> DMZ_BLOCK_SHIFT_BITS); chunk_block 1978 drivers/md/dm-zoned-metadata.c sector_t chunk_block = 0; chunk_block 1981 drivers/md/dm-zoned-metadata.c while (chunk_block < zmd->dev->zone_nr_blocks) { chunk_block 1982 drivers/md/dm-zoned-metadata.c from_mblk = dmz_get_bitmap(zmd, from_zone, chunk_block); chunk_block 1985 drivers/md/dm-zoned-metadata.c to_mblk = dmz_get_bitmap(zmd, to_zone, chunk_block); chunk_block 1997 drivers/md/dm-zoned-metadata.c chunk_block += zmd->zone_bits_per_mblk; chunk_block 2010 drivers/md/dm-zoned-metadata.c struct dm_zone *to_zone, sector_t chunk_block) chunk_block 2016 drivers/md/dm-zoned-metadata.c while (chunk_block < zmd->dev->zone_nr_blocks) { chunk_block 2018 drivers/md/dm-zoned-metadata.c ret = dmz_first_valid_block(zmd, from_zone, &chunk_block); chunk_block 2023 drivers/md/dm-zoned-metadata.c ret = dmz_validate_blocks(zmd, to_zone, chunk_block, nr_blocks); chunk_block 2027 drivers/md/dm-zoned-metadata.c chunk_block += nr_blocks; chunk_block 2037 drivers/md/dm-zoned-metadata.c sector_t chunk_block, unsigned int nr_blocks) chunk_block 2045 drivers/md/dm-zoned-metadata.c dmz_id(zmd, zone), (unsigned long long)chunk_block, chunk_block 2048 drivers/md/dm-zoned-metadata.c WARN_ON(chunk_block + nr_blocks > zone_nr_blocks); chunk_block 2052 drivers/md/dm-zoned-metadata.c mblk = dmz_get_bitmap(zmd, zone, chunk_block); chunk_block 2057 drivers/md/dm-zoned-metadata.c bit = chunk_block & DMZ_BLOCK_MASK_BITS; chunk_block 2068 drivers/md/dm-zoned-metadata.c chunk_block += nr_bits; chunk_block 2118 drivers/md/dm-zoned-metadata.c sector_t chunk_block, unsigned int nr_blocks) chunk_block 2125 drivers/md/dm-zoned-metadata.c dmz_id(zmd, zone), (u64)chunk_block, nr_blocks); chunk_block 2127 drivers/md/dm-zoned-metadata.c WARN_ON(chunk_block + nr_blocks > zmd->dev->zone_nr_blocks); chunk_block 2131 drivers/md/dm-zoned-metadata.c mblk = dmz_get_bitmap(zmd, zone, chunk_block); chunk_block 2136 drivers/md/dm-zoned-metadata.c bit = chunk_block & DMZ_BLOCK_MASK_BITS; chunk_block 2148 drivers/md/dm-zoned-metadata.c chunk_block += nr_bits; chunk_block 2166 drivers/md/dm-zoned-metadata.c sector_t chunk_block) chunk_block 2171 drivers/md/dm-zoned-metadata.c WARN_ON(chunk_block >= zmd->dev->zone_nr_blocks); chunk_block 2174 drivers/md/dm-zoned-metadata.c mblk = dmz_get_bitmap(zmd, zone, chunk_block); chunk_block 2179 drivers/md/dm-zoned-metadata.c ret = test_bit(chunk_block & DMZ_BLOCK_MASK_BITS, chunk_block 2192 drivers/md/dm-zoned-metadata.c sector_t chunk_block, unsigned int nr_blocks, chunk_block 2201 drivers/md/dm-zoned-metadata.c WARN_ON(chunk_block + nr_blocks > zmd->dev->zone_nr_blocks); chunk_block 2205 drivers/md/dm-zoned-metadata.c mblk = dmz_get_bitmap(zmd, zone, chunk_block); chunk_block 2211 drivers/md/dm-zoned-metadata.c bit = chunk_block & DMZ_BLOCK_MASK_BITS; chunk_block 2224 drivers/md/dm-zoned-metadata.c chunk_block += nr_bits; chunk_block 2235 drivers/md/dm-zoned-metadata.c sector_t chunk_block) chunk_block 2239 drivers/md/dm-zoned-metadata.c valid = dmz_test_block(zmd, zone, chunk_block); chunk_block 2244 drivers/md/dm-zoned-metadata.c return dmz_to_next_set_block(zmd, zone, chunk_block, chunk_block 2245 drivers/md/dm-zoned-metadata.c zmd->dev->zone_nr_blocks - chunk_block, 0); chunk_block 2255 drivers/md/dm-zoned-metadata.c sector_t *chunk_block) chunk_block 2257 drivers/md/dm-zoned-metadata.c sector_t start_block = *chunk_block; chunk_block 2266 drivers/md/dm-zoned-metadata.c *chunk_block = start_block; chunk_block 2306 drivers/md/dm-zoned-metadata.c sector_t chunk_block = 0; chunk_block 2314 drivers/md/dm-zoned-metadata.c mblk = dmz_get_bitmap(zmd, zone, chunk_block); chunk_block 2322 drivers/md/dm-zoned-metadata.c bit = chunk_block & DMZ_BLOCK_MASK_BITS; chunk_block 2329 drivers/md/dm-zoned-metadata.c chunk_block += nr_bits; chunk_block 193 drivers/md/dm-zoned-reclaim.c sector_t chunk_block = dzone->wp_block; chunk_block 210 drivers/md/dm-zoned-reclaim.c ret = dmz_merge_valid_blocks(zmd, bzone, dzone, chunk_block); chunk_block 373 drivers/md/dm-zoned-reclaim.c sector_t chunk_block = 0; chunk_block 375 drivers/md/dm-zoned-reclaim.c ret = dmz_first_valid_block(zmd, bzone, &chunk_block); chunk_block 379 drivers/md/dm-zoned-reclaim.c if (ret == 0 || chunk_block >= dzone->wp_block) { chunk_block 118 drivers/md/dm-zoned-target.c struct bio *bio, sector_t chunk_block, chunk_block 130 drivers/md/dm-zoned-target.c dmz_start_sect(dmz->metadata, zone) + dmz_blk2sect(chunk_block); chunk_block 150 drivers/md/dm-zoned-target.c sector_t chunk_block, unsigned int nr_blocks) chunk_block 168 drivers/md/dm-zoned-target.c sector_t chunk_block = dmz_chunk_block(dmz->dev, dmz_bio_block(bio)); chunk_block 170 drivers/md/dm-zoned-target.c sector_t end_block = chunk_block + nr_blocks; chunk_block 184 drivers/md/dm-zoned-target.c (unsigned long long)chunk_block, nr_blocks); chunk_block 188 drivers/md/dm-zoned-target.c while (chunk_block < end_block) { chunk_block 190 drivers/md/dm-zoned-target.c if (dmz_is_rnd(zone) || chunk_block < zone->wp_block) { chunk_block 192 drivers/md/dm-zoned-target.c ret = dmz_block_valid(dmz->metadata, zone, chunk_block); chunk_block 207 drivers/md/dm-zoned-target.c ret = dmz_block_valid(dmz->metadata, bzone, chunk_block); chunk_block 219 drivers/md/dm-zoned-target.c nr_blocks = min_t(unsigned int, nr_blocks, end_block - chunk_block); chunk_block 220 drivers/md/dm-zoned-target.c ret = dmz_submit_bio(dmz, rzone, bio, chunk_block, nr_blocks); chunk_block 223 drivers/md/dm-zoned-target.c chunk_block += nr_blocks; chunk_block 226 drivers/md/dm-zoned-target.c dmz_handle_read_zero(dmz, bio, chunk_block, 1); chunk_block 227 drivers/md/dm-zoned-target.c chunk_block++; chunk_block 241 drivers/md/dm-zoned-target.c sector_t chunk_block, chunk_block 252 drivers/md/dm-zoned-target.c ret = dmz_submit_bio(dmz, zone, bio, chunk_block, nr_blocks); chunk_block 260 drivers/md/dm-zoned-target.c ret = dmz_validate_blocks(zmd, zone, chunk_block, nr_blocks); chunk_block 262 drivers/md/dm-zoned-target.c ret = dmz_invalidate_blocks(zmd, bzone, chunk_block, nr_blocks); chunk_block 274 drivers/md/dm-zoned-target.c sector_t chunk_block, chunk_block 290 drivers/md/dm-zoned-target.c ret = dmz_submit_bio(dmz, bzone, bio, chunk_block, nr_blocks); chunk_block 298 drivers/md/dm-zoned-target.c ret = dmz_validate_blocks(zmd, bzone, chunk_block, nr_blocks); chunk_block 299 drivers/md/dm-zoned-target.c if (ret == 0 && chunk_block < zone->wp_block) chunk_block 300 drivers/md/dm-zoned-target.c ret = dmz_invalidate_blocks(zmd, zone, chunk_block, nr_blocks); chunk_block 311 drivers/md/dm-zoned-target.c sector_t chunk_block = dmz_chunk_block(dmz->dev, dmz_bio_block(bio)); chunk_block 321 drivers/md/dm-zoned-target.c (unsigned long long)chunk_block, nr_blocks); chunk_block 323 drivers/md/dm-zoned-target.c if (dmz_is_rnd(zone) || chunk_block == zone->wp_block) { chunk_block 329 drivers/md/dm-zoned-target.c return dmz_handle_direct_write(dmz, zone, bio, chunk_block, nr_blocks); chunk_block 336 drivers/md/dm-zoned-target.c return dmz_handle_buffered_write(dmz, zone, bio, chunk_block, nr_blocks); chunk_block 348 drivers/md/dm-zoned-target.c sector_t chunk_block = dmz_chunk_block(dmz->dev, block); chunk_block 361 drivers/md/dm-zoned-target.c (unsigned long long)chunk_block, nr_blocks); chunk_block 367 drivers/md/dm-zoned-target.c if (dmz_is_rnd(zone) || chunk_block < zone->wp_block) chunk_block 368 drivers/md/dm-zoned-target.c ret = dmz_invalidate_blocks(zmd, zone, chunk_block, nr_blocks); chunk_block 371 drivers/md/dm-zoned-target.c chunk_block, nr_blocks); chunk_block 232 drivers/md/dm-zoned.h sector_t chunk_block, unsigned int nr_blocks); chunk_block 234 drivers/md/dm-zoned.h sector_t chunk_block, unsigned int nr_blocks); chunk_block 236 drivers/md/dm-zoned.h sector_t chunk_block); chunk_block 238 drivers/md/dm-zoned.h sector_t *chunk_block); chunk_block 242 drivers/md/dm-zoned.h struct dm_zone *to_zone, sector_t chunk_block);