Searched refs:active_zones_left (Results 1 – 2 of 2) sorted by relevance
528 atomic_set(&zone_info->active_zones_left, in btrfs_get_dev_zone_info()1114 if (atomic_dec_if_positive(&zone_info->active_zones_left) < 0) in btrfs_dev_set_active_zone()1118 atomic_inc(&zone_info->active_zones_left); in btrfs_dev_set_active_zone()1135 atomic_inc(&zone_info->active_zones_left); in btrfs_dev_clear_active_zone()2008 if (atomic_read(&zinfo->active_zones_left) <= reserved) { in btrfs_zone_activate()2231 ret = (atomic_read(&zinfo->active_zones_left) >= (1 + reserved)); in btrfs_can_activate_zone()2234 ret = (atomic_read(&zinfo->active_zones_left) >= (2 + reserved)); in btrfs_can_activate_zone()
30 atomic_t active_zones_left; member