Searched refs:is_pow_of_2 (Results 1 – 3 of 3) sorted by relevance
661 static inline bool is_pow_of_2(size_t x) in is_pow_of_2() function
725 if (sec->shdr->sh_addralign && !is_pow_of_2(sec->shdr->sh_addralign)) { in linker_sanity_check_elf()
2744 if ((sz % page_sz) == 0 && is_pow_of_2(sz / page_sz)) in adjust_ringbuf_sz()