Searched refs:OS_MEM_NEXT_NODE (Results 1 – 2 of 2) sorted by relevance
/kernel/liteos_a/kernel/base/mem/tlsf/ |
D | los_memory.c | 206 #define OS_MEM_NEXT_NODE(node) \ macro 470 …g_lms->simpleMark((UINTPTR)OS_MEM_NEXT_NODE(node), (UINTPTR)OS_MEM_NEXT_NODE(node) + OS_MEM_NODE_H… in OsLmsFirstNodeMark() 472 g_lms->simpleMark((UINTPTR)node + OS_MEM_NODE_HEAD_SIZE, (UINTPTR)OS_MEM_NEXT_NODE(node), in OsLmsFirstNodeMark() 490 …g_lms->simpleMark(LMS_ADDR_ALIGN((UINTPTR)alignedPtr + size), (UINTPTR)OS_MEM_NEXT_NODE(allocNode), in OsLmsAllocAlignMark() 500 g_lms->simpleMark((UINTPTR)node + OS_MEM_NODE_HEAD_SIZE, (UINTPTR)OS_MEM_NEXT_NODE(node), in OsLmsReallocMergeNodeMark() 510 g_lms->simpleMark((UINTPTR)OS_MEM_NEXT_NODE(node), in OsLmsReallocSplitNodeMark() 511 (UINTPTR)OS_MEM_NEXT_NODE(node) + OS_MEM_NODE_HEAD_SIZE, LMS_SHADOW_REDZONE_U8); in OsLmsReallocSplitNodeMark() 512 g_lms->simpleMark((UINTPTR)OS_MEM_NEXT_NODE(node) + OS_MEM_NODE_HEAD_SIZE, in OsLmsReallocSplitNodeMark() 513 (UINTPTR)OS_MEM_NEXT_NODE(OS_MEM_NEXT_NODE(node)), LMS_SHADOW_AFTERFREE_U8); in OsLmsReallocSplitNodeMark() 522 … g_lms->simpleMark((UINTPTR)node + resize, (UINTPTR)OS_MEM_NEXT_NODE(node), LMS_SHADOW_REDZONE_U8); in OsLmsReallocResizeMark() [all …]
|
/kernel/liteos_m/kernel/src/mm/ |
D | los_memory.c | 202 #define OS_MEM_NEXT_NODE(node) \ macro 266 … for (tmpNode = OS_MEM_FIRST_NODE(pool); tmpNode <= endNode; tmpNode = OS_MEM_NEXT_NODE(tmpNode)) { in OsAllMemNodeDoHandle() 505 …g_lms->simpleMark((UINTPTR)OS_MEM_NEXT_NODE(node), (UINTPTR)OS_MEM_NEXT_NODE(node) + OS_MEM_NODE_H… 507 g_lms->simpleMark((UINTPTR)node + OS_MEM_NODE_HEAD_SIZE, (UINTPTR)OS_MEM_NEXT_NODE(node), 525 …g_lms->simpleMark(LMS_ADDR_ALIGN((UINTPTR)alignedPtr + size), (UINTPTR)OS_MEM_NEXT_NODE(allocNode), 535 g_lms->simpleMark((UINTPTR)node + OS_MEM_NODE_HEAD_SIZE, (UINTPTR)OS_MEM_NEXT_NODE(node), 545 g_lms->simpleMark((UINTPTR)OS_MEM_NEXT_NODE(node), 546 (UINTPTR)OS_MEM_NEXT_NODE(node) + OS_MEM_NODE_HEAD_SIZE, LMS_SHADOW_REDZONE_U8); 547 g_lms->simpleMark((UINTPTR)OS_MEM_NEXT_NODE(node) + OS_MEM_NODE_HEAD_SIZE, 548 (UINTPTR)OS_MEM_NEXT_NODE(OS_MEM_NEXT_NODE(node)), LMS_SHADOW_AFTERFREE_U8); [all …]
|