Home
last modified time | relevance | path

Searched refs:OS_MEM_ALIGN_SIZE (Results 1 – 4 of 4) sorted by relevance

/kernel/liteos_m/kernel/src/mm/
Dlos_memory.c194 #define OS_MEM_ALIGN_SIZE sizeof(UINTPTR) macro
986 if (((UINTPTR)pool & (OS_MEM_ALIGN_SIZE - 1)) || \
987 (size & (OS_MEM_ALIGN_SIZE - 1))) {
989 (UINTPTR)pool, size, OS_MEM_ALIGN_SIZE);
1057 UINT32 allocSize = OS_MEM_ALIGN(size + OS_MEM_NODE_HEAD_SIZE, OS_MEM_ALIGN_SIZE);
1360 if ((gapSize & (OS_MEM_ALIGN_SIZE - 1)) ||
1449 UINT32 allocSize = OS_MEM_ALIGN(size + OS_MEM_NODE_HEAD_SIZE, OS_MEM_ALIGN_SIZE);
2100 …if (((UINTPTR)curStartAddress & (OS_MEM_ALIGN_SIZE - 1)) || (curLength & (OS_MEM_ALIGN_SIZE - 1)))…
2102 (UINTPTR)curStartAddress, curLength, OS_MEM_ALIGN_SIZE);
/kernel/liteos_a/kernel/extended/lms/
Dlos_lms.c49 #define OS_MEM_ALIGN_SIZE sizeof(UINTPTR) macro
299 if (!IS_ALIGNED(startAddr, OS_MEM_ALIGN_SIZE) || !IS_ALIGNED(endAddr, OS_MEM_ALIGN_SIZE)) { in OsLmsSimpleMark()
/kernel/liteos_m/components/lms/
Dlos_lms.c62 #define OS_MEM_ALIGN_SIZE sizeof(UINTPTR) macro
312 if (!IS_ALIGNED(startAddr, OS_MEM_ALIGN_SIZE) || !IS_ALIGNED(endAddr, OS_MEM_ALIGN_SIZE)) { in OsLmsSimpleMark()
/kernel/liteos_a/kernel/base/mem/tlsf/
Dlos_memory.c200 #define OS_MEM_ALIGN_SIZE sizeof(UINTPTR) macro
964 size = OS_MEM_ALIGN(size, OS_MEM_ALIGN_SIZE); in LOS_MemInit()
1025 UINT32 allocSize = OS_MEM_ALIGN(size + OS_MEM_NODE_HEAD_SIZE, OS_MEM_ALIGN_SIZE); in OsMemAlloc()
1334 … if ((gapSize & (OS_MEM_ALIGN_SIZE - 1)) || (gapSize > ((UINTPTR)ptr - OS_MEM_NODE_HEAD_SIZE))) { in LOS_MemFree()
1407 if ((gapSize & (OS_MEM_ALIGN_SIZE - 1)) || in OsGetRealPtr()
1421 UINT32 allocSize = OS_MEM_ALIGN(size + OS_MEM_NODE_HEAD_SIZE, OS_MEM_ALIGN_SIZE); in OsMemRealloc()