Home
last modified time | relevance | path

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

/linux-6.6.21/tools/include/linux/
Dlog2.h38 bool is_power_of_2(unsigned long n) in is_power_of_2() function
/linux-6.6.21/include/linux/
Dlog2.h45 bool is_power_of_2(unsigned long n) in is_power_of_2() function
/linux-6.6.21/scripts/dtc/
Ddtc.c26 static int is_power_of_2(int x) in is_power_of_2() function
/linux-6.6.21/arch/microblaze/mm/
Dpgtable.c188 #define is_power_of_2(x) ((x) != 0 && (((x) & ((x) - 1)) == 0)) macro
/linux-6.6.21/tools/perf/util/bpf_skel/
Daugmented_raw_syscalls.bpf.c21 #define is_power_of_2(n) (n != 0 && ((n & (n - 1)) == 0)) macro