Searched refs:IS_POWER_OF_2 (Results 1 – 1 of 1) sorted by relevance
31 #define IS_POWER_OF_2(Val) (Val != 0 && ((Val & (Val - 1)) == 0)) macro134 ASSERT (IS_POWER_OF_2 (Header->PageSize)); in GetImgSize()163 ASSERT (IS_POWER_OF_2 (Header->PageSize)); in AbootimgGetKernelInfo()189 ASSERT (IS_POWER_OF_2 (Header->PageSize)); in GetRamdiskInfo()269 ASSERT (IS_POWER_OF_2 (Header->PageSize)); in AllocateRamdisk()