Home
last modified time | relevance | path

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

/linux-6.1.9/fs/btrfs/
Dzoned.c356 unsigned int max_active_zones; in btrfs_get_dev_zone_info() local
441 max_active_zones = bdev_max_active_zones(bdev); in btrfs_get_dev_zone_info()
442 if (max_active_zones && max_active_zones < BTRFS_MIN_ACTIVE_ZONES) { in btrfs_get_dev_zone_info()
445 rcu_str_deref(device->name), max_active_zones, in btrfs_get_dev_zone_info()
450 zone_info->max_active_zones = max_active_zones; in btrfs_get_dev_zone_info()
530 if (max_active_zones) { in btrfs_get_dev_zone_info()
531 if (nactive > max_active_zones) { in btrfs_get_dev_zone_info()
535 max_active_zones); in btrfs_get_dev_zone_info()
540 max_active_zones - nactive); in btrfs_get_dev_zone_info()
1099 if (zone_info->max_active_zones == 0) in btrfs_dev_set_active_zone()
[all …]
Dzoned.h24 unsigned int max_active_zones; member
/linux-6.1.9/include/linux/
Dblkdev.h187 unsigned int max_active_zones; member
698 unsigned int max_active_zones) in disk_set_max_active_zones() argument
700 disk->max_active_zones = max_active_zones; in disk_set_max_active_zones()
710 return bdev->bd_disk->max_active_zones; in bdev_max_active_zones()
/linux-6.1.9/block/
Dblk-zoned.c632 disk->max_active_zones = 0; in disk_clear_zone_settings()
/linux-6.1.9/Documentation/ABI/stable/
Dsysfs-block380 What: /sys/block/<disk>/queue/max_active_zones