Searched refs:is_power_of_2 (Results 1 – 6 of 6) sorted by relevance
61 static inline int is_power_of_2(long long val) in is_power_of_2() function
62 return is_power_of_2(src->value); in is_pow2()1283 if (value == bits && is_power_of_2(bits)) in simplify_compare_constant()1289 if (value == bits && is_power_of_2(bits)) in simplify_compare_constant()
67 static inline bool is_power_of_2(unsigned long n) in is_power_of_2() function
183 if (n <= 0 || n >= INT_MAX || !is_power_of_2(n) || *end != '\0') { in parse_block_size_option()
260 if (!is_power_of_2(block_size)) { in libfsverity_compute_digest()
883 static int is_power_of_2(unsigned long n) in is_power_of_2() function1050 if (!is_power_of_2(dev->zone_size)) in get_device_info()