Searched refs:IS_POT (Results 1 – 2 of 2) sorted by relevance
133 return IS_POT(v); in util_is_power_of_two_or_zero()144 return IS_POT(v); in util_is_power_of_two_or_zero64()167 return v != 0 && IS_POT(v); in util_is_power_of_two_nonzero()179 return v != 0 && IS_POT(v); in util_is_power_of_two_nonzero64()
379 #define IS_POT(v) (((v) & ((v) - 1)) == 0) macro