Home
last modified time | relevance | path

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

/linux-6.1.9/fs/btrfs/
Dzoned.c452 zone_info->seq_zones = bitmap_zalloc(zone_info->nr_zones, GFP_KERNEL); in btrfs_get_dev_zone_info()
453 if (!zone_info->seq_zones) { in btrfs_get_dev_zone_info()
504 __set_bit(nreported, zone_info->seq_zones); in btrfs_get_dev_zone_info()
638 bitmap_free(zone_info->seq_zones); in btrfs_destroy_dev_zone_info()
653 zone_info->seq_zones = bitmap_zalloc(zone_info->nr_zones, GFP_KERNEL); in btrfs_clone_dev_zone_info()
654 if (!zone_info->seq_zones) in btrfs_clone_dev_zone_info()
657 bitmap_copy(zone_info->seq_zones, orig_dev->zone_info->seq_zones, in btrfs_clone_dev_zone_info()
678 bitmap_free(zone_info->seq_zones); in btrfs_clone_dev_zone_info()
943 if (!test_bit(zone_num, zinfo->seq_zones)) in is_sb_log_zone()
1167 if (find_next_bit(zinfo->seq_zones, begin, end) == end) in btrfs_ensure_empty_zones()
[all …]
Dzoned.h26 unsigned long *seq_zones; member
289 return test_bit(pos >> zone_info->zone_size_shift, zone_info->seq_zones); in btrfs_dev_is_sequential()