Home
last modified time | relevance | path

Searched defs:is_power_of_2 (Results 1 – 6 of 6) sorted by relevance

/linux/tools/include/linux/
H A Dlog2.h38 bool is_power_of_2(unsigned long n) in is_power_of_2() function
/linux/include/linux/
H A Dlog2.h45 bool is_power_of_2(unsigned long n) in is_power_of_2() function
/linux/scripts/dtc/
H A Ddtc.c26 static int is_power_of_2(int x) in is_power_of_2() function
/linux/arch/microblaze/mm/
H A Dpgtable.c188 #define is_power_of_2(x) ((x) != 0 && (((x) & ((x) - 1)) == 0)) macro
/linux/tools/testing/selftests/riscv/hwprobe/
H A Dcbo.c79 static bool is_power_of_2(__u64 n) in is_power_of_2() function
/linux/tools/perf/util/bpf_skel/
H A Daugmented_raw_syscalls.bpf.c26 #define is_power_of_2(n) (n != 0 && ((n & (n - 1)) == 0)) macro