Searched refs:is_power_of_two (Results 1 – 2 of 2) sorted by relevance
24 #define is_power_of_two(x) ( !((x) & ((x)-1)) ) macro26 #define is_valid_mask(x) is_power_of_two(1LU + (x) + low_bit_mask(x))
179 #define is_power_of_two(x) ( !((x) & ((x)-1)) ) macro181 #define is_valid_mask(x) is_power_of_two(1LU + (x) + low_bit_mask(x))