Home
last modified time | relevance | path

Searched refs:has_single_bit_set (Results 1 – 3 of 3) sorted by relevance

/linux/fs/btrfs/
H A Dmisc.h119 static inline bool has_single_bit_set(u64 n) in has_single_bit_set() function
H A Dtree-checker.c1074 if (unlikely(!has_single_bit_set(type & BTRFS_BLOCK_GROUP_PROFILE_MASK) && in btrfs_check_chunk_valid()
1305 * is_power_of_2/has_single_bit_set, but it can save us from checking in check_root_item()
1308 if (!has_single_bit_set(mode & S_IFMT)) { in check_root_item()
1613 if (unlikely(!has_single_bit_set(flags & (BTRFS_EXTENT_FLAG_DATA | in check_extent_item()
H A Dvolumes.c4779 return has_single_bit_set(flags); in describe_balance_args()