Searched refs:is_power_of_2 (Results 1 – 2 of 2) sorted by relevance
27 #define is_power_of_2(x) (((x) != 0U) && (((x) & ((x) - 1U)) == 0U))584 (is_power_of_2(block_size) == 0U) ||26 #define is_power_of_2( global() macro
666 static int is_power_of_2(unsigned long x) in is_power_of_2() function678 if (*endptr != '\0' || !is_power_of_2(align) || errno != 0) in get_image_align()