Searched refs:has_single_bit_set (Results 1 – 3 of 3) sorted by relevance
57 static inline bool has_single_bit_set(u64 n) in has_single_bit_set() function
858 if (unlikely(!has_single_bit_set(type & BTRFS_BLOCK_GROUP_PROFILE_MASK) && in btrfs_check_chunk_valid()1087 if (!has_single_bit_set(mode & S_IFMT)) { in check_inode_item()1314 if (unlikely(!has_single_bit_set(flags & (BTRFS_EXTENT_FLAG_DATA | in check_extent_item()
4058 return has_single_bit_set(flags); in alloc_profile_is_valid()