Home
last modified time | relevance | path

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

/linux-6.6.21/fs/btrfs/
Dzoned.c441 zone_info->seq_zones = bitmap_zalloc(zone_info->nr_zones, GFP_KERNEL); in btrfs_get_dev_zone_info()
442 if (!zone_info->seq_zones) { in btrfs_get_dev_zone_info()
493 __set_bit(nreported, zone_info->seq_zones); in btrfs_get_dev_zone_info()
626 bitmap_free(zone_info->seq_zones); in btrfs_destroy_dev_zone_info()
641 zone_info->seq_zones = bitmap_zalloc(zone_info->nr_zones, GFP_KERNEL); in btrfs_clone_dev_zone_info()
642 if (!zone_info->seq_zones) in btrfs_clone_dev_zone_info()
645 bitmap_copy(zone_info->seq_zones, orig_dev->zone_info->seq_zones, in btrfs_clone_dev_zone_info()
666 bitmap_free(zone_info->seq_zones); in btrfs_clone_dev_zone_info()
953 if (!test_bit(zone_num, zinfo->seq_zones)) in is_sb_log_zone()
1177 if (bitmap_test_range_all_zero(zinfo->seq_zones, begin, nbits)) in btrfs_ensure_empty_zones()
[all …]
Dzoned.h31 unsigned long *seq_zones; member
272 return test_bit(pos >> zone_info->zone_size_shift, zone_info->seq_zones); in btrfs_dev_is_sequential()