Home
last modified time | relevance | path

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

/kernel/liteos_a/kernel/base/mem/tlsf/
Dlos_memory.c202 #define OS_MEM_ALIGN(p, alignSize) (((UINTPTR)(p) + (alignSize) - 1) & ~((UINTPTR)((alignSize) - 1… 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()
1126 alignedPtr = (VOID *)OS_MEM_ALIGN(ptr, boundary); in LOS_MemAllocAlign()
1421 UINT32 allocSize = OS_MEM_ALIGN(size + OS_MEM_NODE_HEAD_SIZE, OS_MEM_ALIGN_SIZE); in OsMemRealloc()
/kernel/liteos_m/kernel/src/mm/
Dlos_memory.c196 #define OS_MEM_ALIGN(p, alignSize) (((UINTPTR)(p) + (alignSize) - 1) & ~((UINTPTR)((alignSize) - 1… macro
1057 UINT32 allocSize = OS_MEM_ALIGN(size + OS_MEM_NODE_HEAD_SIZE, OS_MEM_ALIGN_SIZE);
1165 alignedPtr = (VOID *)OS_MEM_ALIGN(ptr, boundary);
1449 UINT32 allocSize = OS_MEM_ALIGN(size + OS_MEM_NODE_HEAD_SIZE, OS_MEM_ALIGN_SIZE);