Home
last modified time | relevance | path

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

/Linux-v6.6/fs/btrfs/
Dzoned.c453 zone_info->active_zones = bitmap_zalloc(zone_info->nr_zones, GFP_KERNEL); in btrfs_get_dev_zone_info()
454 if (!zone_info->active_zones) { in btrfs_get_dev_zone_info()
501 __set_bit(nreported, zone_info->active_zones); in btrfs_get_dev_zone_info()
625 bitmap_free(zone_info->active_zones); in btrfs_destroy_dev_zone_info()
655 zone_info->active_zones = bitmap_zalloc(zone_info->nr_zones, GFP_KERNEL); in btrfs_clone_dev_zone_info()
656 if (!zone_info->active_zones) in btrfs_clone_dev_zone_info()
659 bitmap_copy(zone_info->active_zones, orig_dev->zone_info->active_zones, in btrfs_clone_dev_zone_info()
668 bitmap_free(zone_info->active_zones); in btrfs_clone_dev_zone_info()
1112 if (!test_bit(zno, zone_info->active_zones)) { in btrfs_dev_set_active_zone()
1116 if (test_and_set_bit(zno, zone_info->active_zones)) { in btrfs_dev_set_active_zone()
[all …]
Dzoned.h33 unsigned long *active_zones; member