Home
last modified time | relevance | path

Searched refs:active_zones_left (Results 1 – 2 of 2) sorted by relevance

/linux/fs/btrfs/
H A Dzoned.c517 atomic_set(&zone_info->active_zones_left, in btrfs_get_dev_zone_info()
1104 if (atomic_dec_if_positive(&zone_info->active_zones_left) < 0) in btrfs_dev_set_active_zone()
1108 atomic_inc(&zone_info->active_zones_left); in btrfs_dev_set_active_zone()
1125 atomic_inc(&zone_info->active_zones_left); in btrfs_dev_clear_active_zone()
2123 if (atomic_read(&zinfo->active_zones_left) <= reserved) { in btrfs_zone_activate()
2348 ret = (atomic_read(&zinfo->active_zones_left) >= (1 + reserved)); in btrfs_can_activate_zone()
2351 ret = (atomic_read(&zinfo->active_zones_left) >= (2 + reserved)); in btrfs_can_activate_zone()
H A Dzoned.h45 atomic_t active_zones_left; member