Searched defs:is_power_of_2 (Results 1 – 5 of 5) 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
575 is_power_of_2 (int val) in is_power_of_2() function
124 #define is_power_of_2(n) ((n) > 0 && ((n) & ((n) - 1)) == 0) macro