Home
last modified time | relevance | path

Searched refs:OS_MEM_IS_POW_TWO (Results 1 – 2 of 2) sorted by relevance

/kernel/liteos_a/kernel/base/mem/tlsf/
Dlos_memory.c201 #define OS_MEM_IS_POW_TWO(value) ((((UINTPTR)(value)) & ((UINTPTR)(value) - 1)) == 0) macro
1083 if ((pool == NULL) || (size == 0) || (boundary == 0) || !OS_MEM_IS_POW_TWO(boundary) || in LOS_MemAllocAlign()
/kernel/liteos_m/kernel/src/mm/
Dlos_memory.c195 #define OS_MEM_IS_POW_TWO(value) ((((UINTPTR)(value)) & ((UINTPTR)(value) - 1)) == 0) macro
1120 if ((pool == NULL) || (size == 0) || (boundary == 0) || !OS_MEM_IS_POW_TWO(boundary) ||