Home
last modified time | relevance | path

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

/linux-6.1.9/fs/btrfs/
Dzoned.c464 zone_info->active_zones = bitmap_zalloc(zone_info->nr_zones, GFP_KERNEL); in btrfs_get_dev_zone_info()
465 if (!zone_info->active_zones) { in btrfs_get_dev_zone_info()
512 __set_bit(nreported, zone_info->active_zones); in btrfs_get_dev_zone_info()
637 bitmap_free(zone_info->active_zones); in btrfs_destroy_dev_zone_info()
667 zone_info->active_zones = bitmap_zalloc(zone_info->nr_zones, GFP_KERNEL); in btrfs_clone_dev_zone_info()
668 if (!zone_info->active_zones) in btrfs_clone_dev_zone_info()
671 bitmap_copy(zone_info->active_zones, orig_dev->zone_info->active_zones, in btrfs_clone_dev_zone_info()
680 bitmap_free(zone_info->active_zones); in btrfs_clone_dev_zone_info()
1102 if (!test_bit(zno, zone_info->active_zones)) { in btrfs_dev_set_active_zone()
1106 if (test_and_set_bit(zno, zone_info->active_zones)) { in btrfs_dev_set_active_zone()
[all …]
Dzoned.h28 unsigned long *active_zones; member