Home
last modified time | relevance | path

Searched refs:max_active_zones (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/fs/btrfs/
Dzoned.c365 unsigned int max_active_zones; in btrfs_get_dev_zone_info() local
430 max_active_zones = bdev_max_active_zones(bdev); in btrfs_get_dev_zone_info()
431 if (max_active_zones && max_active_zones < BTRFS_MIN_ACTIVE_ZONES) { in btrfs_get_dev_zone_info()
434 rcu_str_deref(device->name), max_active_zones, in btrfs_get_dev_zone_info()
439 zone_info->max_active_zones = max_active_zones; in btrfs_get_dev_zone_info()
519 if (max_active_zones) { in btrfs_get_dev_zone_info()
520 if (nactive > max_active_zones) { in btrfs_get_dev_zone_info()
524 max_active_zones); in btrfs_get_dev_zone_info()
529 max_active_zones - nactive); in btrfs_get_dev_zone_info()
1109 if (zone_info->max_active_zones == 0) in btrfs_dev_set_active_zone()
[all …]
Dzoned.h24 unsigned int max_active_zones; member
/linux-6.6.21/include/uapi/linux/
Dvirtio_blk.h145 __virtio32 max_active_zones; member
Dublk_cmd.h373 __u32 max_active_zones; member
/linux-6.6.21/include/linux/
Dblkdev.h191 unsigned int max_active_zones; member
674 unsigned int max_active_zones) in disk_set_max_active_zones() argument
676 disk->max_active_zones = max_active_zones; in disk_set_max_active_zones()
686 return bdev->bd_disk->max_active_zones; in bdev_max_active_zones()
/linux-6.6.21/block/
Dblk-zoned.c630 disk->max_active_zones = 0; in disk_clear_zone_settings()
/linux-6.6.21/drivers/block/
Dublk_drv.c244 if (p->max_active_zones > nr_zones) in ublk_dev_param_zoned_validate()
261 disk_set_max_active_zones(ub->ub_disk, p->max_active_zones); in ublk_dev_param_zoned_apply()
Dvirtio_blk.c781 zoned.max_active_zones, &v); in virtblk_probe_zoned_device()
/linux-6.6.21/Documentation/ABI/stable/
Dsysfs-block373 What: /sys/block/<disk>/queue/max_active_zones