Searched defs:is_power_of_2 (Results 1 – 3 of 3) sorted by relevance
41 is_power_of_2(unsigned long x) in is_power_of_2() function
28 static int is_power_of_2(int x) in is_power_of_2() function
124 #define is_power_of_2(n) ((n) > 0 && ((n) & ((n) - 1)) == 0) macro