Home
last modified time | relevance | path

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

/fs/btrfs/
Dzoned.c451 zone_info->seq_zones = bitmap_zalloc(zone_info->nr_zones, GFP_KERNEL); in btrfs_get_dev_zone_info()
452 if (!zone_info->seq_zones) { in btrfs_get_dev_zone_info()
503 __set_bit(nreported, zone_info->seq_zones); in btrfs_get_dev_zone_info()
636 bitmap_free(zone_info->seq_zones); in btrfs_destroy_dev_zone_info()
651 zone_info->seq_zones = bitmap_zalloc(zone_info->nr_zones, GFP_KERNEL); in btrfs_clone_dev_zone_info()
652 if (!zone_info->seq_zones) in btrfs_clone_dev_zone_info()
655 bitmap_copy(zone_info->seq_zones, orig_dev->zone_info->seq_zones, in btrfs_clone_dev_zone_info()
676 bitmap_free(zone_info->seq_zones); in btrfs_clone_dev_zone_info()
941 if (!test_bit(zone_num, zinfo->seq_zones)) in is_sb_log_zone()
1165 if (find_next_bit(zinfo->seq_zones, end, begin) == 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()