Home
last modified time | relevance | path

Searched refs:BTRFS_BLOCK_GROUP_PROFILE_MASK (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/include/uapi/linux/
Dbtrfs_tree.h887 #define BTRFS_BLOCK_GROUP_PROFILE_MASK (BTRFS_BLOCK_GROUP_RAID0 | \ macro
917 #define BTRFS_EXTENDED_PROFILE_MASK (BTRFS_BLOCK_GROUP_PROFILE_MASK | \
922 if ((flags & BTRFS_BLOCK_GROUP_PROFILE_MASK) == 0) in chunk_to_extended()
/linux-6.1.9/fs/btrfs/
Dtree-checker.c700 if (unlikely(hweight64(flags & BTRFS_BLOCK_GROUP_PROFILE_MASK) > 1)) { in check_block_group_item()
703 flags & BTRFS_BLOCK_GROUP_PROFILE_MASK, in check_block_group_item()
704 hweight64(flags & BTRFS_BLOCK_GROUP_PROFILE_MASK)); in check_block_group_item()
849 BTRFS_BLOCK_GROUP_PROFILE_MASK))) { in btrfs_check_chunk_valid()
853 BTRFS_BLOCK_GROUP_PROFILE_MASK) & in btrfs_check_chunk_valid()
858 if (unlikely(!has_single_bit_set(type & BTRFS_BLOCK_GROUP_PROFILE_MASK) && in btrfs_check_chunk_valid()
859 (type & BTRFS_BLOCK_GROUP_PROFILE_MASK) != 0)) { in btrfs_check_chunk_valid()
862 type & BTRFS_BLOCK_GROUP_PROFILE_MASK); in btrfs_check_chunk_valid()
908 ((type & BTRFS_BLOCK_GROUP_PROFILE_MASK) == 0 && in btrfs_check_chunk_valid()
913 type & BTRFS_BLOCK_GROUP_PROFILE_MASK); in btrfs_check_chunk_valid()
Dvolumes.h30 const_ffs(BTRFS_BLOCK_GROUP_PROFILE_MASK & ~BTRFS_BLOCK_GROUP_RAID0));
Dzoned.c1459 switch (map->type & BTRFS_BLOCK_GROUP_PROFILE_MASK) { in btrfs_load_block_group_zone_info()
Dblock-group.c93 flags &= ~BTRFS_BLOCK_GROUP_PROFILE_MASK; in btrfs_reduce_alloc_profile()
Dvolumes.c169 const u64 profile = (flags & BTRFS_BLOCK_GROUP_PROFILE_MASK); in btrfs_bg_flags_to_raid_index()
4046 BTRFS_BLOCK_GROUP_PROFILE_MASK); in alloc_profile_is_valid()
Dscrub.c3568 const u64 profile = map->type & BTRFS_BLOCK_GROUP_PROFILE_MASK; in scrub_stripe()
Ddisk-io.c4280 if ((flags & BTRFS_BLOCK_GROUP_PROFILE_MASK) == 0 || in btrfs_get_num_tolerated_disk_barrier_failures()
Dinode.c11119 if (em->map_lookup->type & BTRFS_BLOCK_GROUP_PROFILE_MASK) { in btrfs_swap_activate()