Home
last modified time | relevance | path

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

/external/u-boot/include/linux/
Dlog2.h50 bool is_power_of_2(unsigned long n) in is_power_of_2() function
/external/u-boot/fs/btrfs/
Dsuper.c48 static inline int is_power_of_2(u64 x) in is_power_of_2() function
/external/u-boot/scripts/dtc/
Ddtc.c39 static int is_power_of_2(int x) in is_power_of_2() function
/external/dtc/
Ddtc.c39 static int is_power_of_2(int x) in is_power_of_2() function
/external/grpc-grpc/src/core/lib/channel/
Dhandshaker.cc135 static bool is_power_of_2(size_t n) { return (n & (n - 1)) == 0; } in is_power_of_2() function
/external/fsverity-utils/
Dutil.h62 static inline bool is_power_of_2(unsigned long n) in is_power_of_2() function
/external/e2fsprogs/lib/ext2fs/
Djfs_compat.h62 #define is_power_of_2(x) ((x) != 0 && (((x) & ((x) - 1)) == 0)) macro
/external/u-boot/drivers/mmc/
Dbcm2835_sdhost.c651 static inline int is_power_of_2(u64 x) in is_power_of_2() function