Searched refs:powerof2 (Results 1 – 17 of 17) sorted by relevance
215 if (unlikely (! powerof2 (sh_align))) in __elfw2()303 if (unlikely (! powerof2 (data->d_align))) in __elfw2()355 if (unlikely (! powerof2 (shdr->sh_addralign)) in __elfw2()
277 if (! powerof2 (chdr.ch_addralign)) in __libelf_decompress_elf()
900 is a powerof2.
29 #define powerof2(n) !(((n)-1) & (n)) macro
32 #define powerof2(n) !(((n)-1) & (n)) macro
74 !powerof2(boot->bpbBytesPerSec)) { in readboot()81 if (boot->bpbSecPerClust == 0 || !powerof2(boot->bpbSecPerClust)) { in readboot()
352 !powerof2(bpb.bpbBytesPerSec)) { in mkfs_msdos()382 if (!powerof2(o.block_size)) { in mkfs_msdos()399 if (!powerof2(o.sectors_per_cluster)) { in mkfs_msdos()832 static_assert(powerof2(MAXBPS), "MAXBPS is not power of 2"); in getchunksize()833 assert(powerof2(chunksize)); in getchunksize()
49 if (unlikely (! powerof2 (value))) in asm_align()
90 #define powerof2(x) (((x) & ((x) - 1)) == 0) macro
236 (powerof2): Define if not already defined.
430 AC_CHECK_DECLS([powerof2],[],[],[#include <sys/param.h>])
442 * configure.ac: Add memrchr, rawmemchr and powerof2 checks.
2149 if (bitmask_words == 0 || !powerof2 (bitmask_words)) in check_gnu_hash()4743 if (!powerof2 (phdr->p_align)) in check_program_header()