Searched refs:zno (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/drivers/block/null_blk/ |
D | zoned.c | 261 unsigned int zno, i; in null_close_imp_open_zone() local 263 zno = dev->imp_close_zone_no; in null_close_imp_open_zone() 264 if (zno >= dev->nr_zones) in null_close_imp_open_zone() 265 zno = dev->zone_nr_conv; in null_close_imp_open_zone() 268 zone = &dev->zones[zno]; in null_close_imp_open_zone() 269 zno++; in null_close_imp_open_zone() 270 if (zno >= dev->nr_zones) in null_close_imp_open_zone() 271 zno = dev->zone_nr_conv; in null_close_imp_open_zone() 281 dev->imp_close_zone_no = zno; in null_close_imp_open_zone() 354 unsigned int zno = null_zone_no(dev, sector); in null_zone_write() local [all …]
|
/linux-6.12.1/fs/btrfs/ |
D | zoned.h | 294 unsigned int zno; in btrfs_dev_set_empty_zone_bit() local 299 zno = pos >> zone_info->zone_size_shift; in btrfs_dev_set_empty_zone_bit() 301 set_bit(zno, zone_info->empty_zones); in btrfs_dev_set_empty_zone_bit() 303 clear_bit(zno, zone_info->empty_zones); in btrfs_dev_set_empty_zone_bit()
|
D | zoned.c | 237 u32 zno; in btrfs_get_dev_zones() local 240 zno = pos >> zinfo->zone_size_shift; in btrfs_get_dev_zones() 245 *nr_zones = min_t(u32, *nr_zones, zinfo->nr_zones - zno); in btrfs_get_dev_zones() 250 zone_info = &zinfo->zone_cache[zno + i]; in btrfs_get_dev_zones() 257 memcpy(zones, zinfo->zone_cache + zno, in btrfs_get_dev_zones() 278 u32 zno = pos >> zinfo->zone_size_shift; in btrfs_get_dev_zones() local 280 memcpy(zinfo->zone_cache + zno, zones, in btrfs_get_dev_zones() 1092 unsigned int zno = (pos >> zone_info->zone_size_shift); in btrfs_dev_set_active_zone() local 1098 if (!test_bit(zno, zone_info->active_zones)) { in btrfs_dev_set_active_zone() 1102 if (test_and_set_bit(zno, zone_info->active_zones)) { in btrfs_dev_set_active_zone() [all …]
|
/linux-6.12.1/block/ |
D | blk-zoned.c | 364 unsigned int zno, unsigned int offset_in_zone) in disk_zone_is_full() argument 366 if (zno < disk->nr_zones - 1) in disk_zone_is_full() 406 unsigned int zno = disk_zone_no(disk, sector); in disk_get_zone_wplug() local 407 unsigned int idx = hash_32(zno, disk->zone_wplugs_hash_bits); in disk_get_zone_wplug() 413 if (zwplug->zone_no == zno && in disk_get_zone_wplug() 504 unsigned int zno = disk_zone_no(disk, sector); in disk_get_and_lock_zone_wplug() local 539 zwplug->zone_no = zno; in disk_get_and_lock_zone_wplug()
|
/linux-6.12.1/drivers/scsi/ |
D | scsi_debug.c | 3149 u32 zno = lba >> devip->zsize_shift; in zbc_zone() local 3152 if (devip->zcap == devip->zsize || zno < devip->nr_conv_zones) in zbc_zone() 3153 return &devip->zstate[zno]; in zbc_zone() 3159 zno = 2 * zno - devip->nr_conv_zones; in zbc_zone() 3160 WARN_ONCE(zno >= devip->nr_zones, "%u > %u\n", zno, devip->nr_zones); in zbc_zone() 3161 zsp = &devip->zstate[zno]; in zbc_zone()
|
/linux-6.12.1/fs/f2fs/ |
D | f2fs.h | 4518 unsigned int zno = blkaddr / sbi->blocks_per_blkz; in f2fs_blkz_is_seq() local 4520 return test_bit(zno, FDEV(devi).blkz_seq); in f2fs_blkz_is_seq()
|