Home
last modified time | relevance | path

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

/kernel/liteos_a/kernel/base/mem/tlsf/
Dlos_memory.c193 #define OS_MEM_NODE_GET_SIZE(sizeAndFlag) \ macro
207 ((struct OsMemNodeHead *)(VOID *)((UINT8 *)(node) + OS_MEM_NODE_GET_SIZE((node)->sizeAndFlag)))
254 UINT32 size = OS_MEM_NODE_GET_SIZE(sentinelNode->sizeAndFlag); in OsMemLastSentinelNodeGet()
259 size = OS_MEM_NODE_GET_SIZE(node->sizeAndFlag); in OsMemLastSentinelNodeGet()
285 if ((OS_MEM_NODE_GET_SIZE(sentinelNode->sizeAndFlag) == 0) || in OsMemIsLastSentinelNode()
326 nextSize = OS_MEM_NODE_GET_SIZE(sentinelNode->sizeAndFlag); in PreSentinelNodeGet()
349 size_t nodeSize = OS_MEM_NODE_GET_SIZE(node->sizeAndFlag); in TryShrinkPool()
591 size = OS_MEM_NODE_GET_SIZE(endNode->sizeAndFlag); in OsMemUsedNodeShow()
1055 OsMemWaterUsedRecord(pool, OS_MEM_NODE_GET_SIZE(allocNode->sizeAndFlag)); in OsMemAlloc()
1167 size = OS_MEM_NODE_GET_SIZE(sentinel->sizeAndFlag); in OsMemAddrValidCheck()
[all …]
/kernel/liteos_m/kernel/src/mm/
Dlos_memory.c168 #define OS_MEM_NODE_GET_SIZE(sizeAndFlag) \ macro
203 ((struct OsMemNodeHead *)(VOID *)((UINT8 *)(node) + OS_MEM_NODE_GET_SIZE((node)->sizeAndFlag)))
271 size = OS_MEM_NODE_GET_SIZE(endNode->sizeAndFlag); in OsAllMemNodeDoHandle()
296 tskMemInfoBuf[curNode->taskID] += OS_MEM_NODE_GET_SIZE(curNode->sizeAndFlag);
331 UINT32 size = OS_MEM_NODE_GET_SIZE(sentinelNode->sizeAndFlag);
336 size = OS_MEM_NODE_GET_SIZE(node->sizeAndFlag);
362 if ((OS_MEM_NODE_GET_SIZE(sentinelNode->sizeAndFlag) == 0) ||
407 nextSize = OS_MEM_NODE_GET_SIZE(sentinelNode->sizeAndFlag);
419 size_t nodeSize = OS_MEM_NODE_GET_SIZE(node->sizeAndFlag);
603 PRINTK("0x%x: 0x%x ", (UINTPTR)node, OS_MEM_NODE_GET_SIZE(node->sizeAndFlag));
[all …]