Searched refs:OS_MEM_ALIGN (Results 1 – 2 of 2) sorted by relevance
202 #define OS_MEM_ALIGN(p, alignSize) (((UINTPTR)(p) + (alignSize) - 1) & ~((UINTPTR)((alignSize) - 1… macro964 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()
196 #define OS_MEM_ALIGN(p, alignSize) (((UINTPTR)(p) + (alignSize) - 1) & ~((UINTPTR)((alignSize) - 1… macro1057 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);