Searched refs:is_power_of_two (Results 1 – 1 of 1) sorted by relevance
168 #define is_power_of_two(x) ( !((x) & ((x)-1)) ) macro170 #define is_valid_mask(x) is_power_of_two(1LU + (x) + low_bit_mask(x))