Home
last modified time | relevance | path

Searched refs:preNode (Results 1 – 7 of 7) sorted by relevance

/kernel/liteos_m/arch/arm/cortex-m55/iar/TZ/secure/
Dlos_secure_heap.c43 struct OsSecureHeapNode *preNode; member
98 node->preNode = NULL; in OsSecureHeapClearNode()
109 node->preNode->size += node->size; in OsSecureHeapMergeNode()
111 nextNode->preNode = node->preNode; in OsSecureHeapMergeNode()
121 newFreeNode->preNode = allocNode; in OsSecureHeapSplitNode()
126 nextNode->preNode = newFreeNode; in OsSecureHeapSplitNode()
139 if ((node->preNode != NULL) && (node->preNode->used == OS_SECURE_HEAP_NODE_FREE)) { in OsSecureHeapFreeNode()
140 struct OsSecureHeapNode *preNode = node->preNode; in OsSecureHeapFreeNode() local
142 nextNode = OS_SECURE_HEAP_NEXT_NODE(preNode); in OsSecureHeapFreeNode()
148 OsSecureHeapListDelete(&preNode->freeNode); in OsSecureHeapFreeNode()
[all …]
/kernel/liteos_m/arch/arm/cortex-m33/iar/TZ/secure/
Dlos_secure_heap.c43 struct OsSecureHeapNode *preNode; member
98 node->preNode = NULL; in OsSecureHeapClearNode()
109 node->preNode->size += node->size; in OsSecureHeapMergeNode()
111 nextNode->preNode = node->preNode; in OsSecureHeapMergeNode()
121 newFreeNode->preNode = allocNode; in OsSecureHeapSplitNode()
126 nextNode->preNode = newFreeNode; in OsSecureHeapSplitNode()
139 if ((node->preNode != NULL) && (node->preNode->used == OS_SECURE_HEAP_NODE_FREE)) { in OsSecureHeapFreeNode()
140 struct OsSecureHeapNode *preNode = node->preNode; in OsSecureHeapFreeNode() local
142 nextNode = OS_SECURE_HEAP_NEXT_NODE(preNode); in OsSecureHeapFreeNode()
148 OsSecureHeapListDelete(&preNode->freeNode); in OsSecureHeapFreeNode()
[all …]
/kernel/liteos_m/arch/arm/cortex-m55/gcc/TZ/secure/
Dlos_secure_heap.c42 struct OsSecureHeapNode *preNode; member
97 node->preNode = NULL; in OsSecureHeapClearNode()
108 node->preNode->size += node->size; in OsSecureHeapMergeNode()
110 nextNode->preNode = node->preNode; in OsSecureHeapMergeNode()
120 newFreeNode->preNode = allocNode; in OsSecureHeapSplitNode()
125 nextNode->preNode = newFreeNode; in OsSecureHeapSplitNode()
138 if ((node->preNode != NULL) && (node->preNode->used == OS_SECURE_HEAP_NODE_FREE)) { in OsSecureHeapFreeNode()
139 struct OsSecureHeapNode *preNode = node->preNode; in OsSecureHeapFreeNode() local
141 nextNode = OS_SECURE_HEAP_NEXT_NODE(preNode); in OsSecureHeapFreeNode()
147 OsSecureHeapListDelete(&preNode->freeNode); in OsSecureHeapFreeNode()
[all …]
/kernel/liteos_m/arch/arm/cortex-m33/gcc/TZ/secure/
Dlos_secure_heap.c42 struct OsSecureHeapNode *preNode; member
97 node->preNode = NULL; in OsSecureHeapClearNode()
108 node->preNode->size += node->size; in OsSecureHeapMergeNode()
110 nextNode->preNode = node->preNode; in OsSecureHeapMergeNode()
120 newFreeNode->preNode = allocNode; in OsSecureHeapSplitNode()
125 nextNode->preNode = newFreeNode; in OsSecureHeapSplitNode()
138 if ((node->preNode != NULL) && (node->preNode->used == OS_SECURE_HEAP_NODE_FREE)) { in OsSecureHeapFreeNode()
139 struct OsSecureHeapNode *preNode = node->preNode; in OsSecureHeapFreeNode() local
141 nextNode = OS_SECURE_HEAP_NEXT_NODE(preNode); in OsSecureHeapFreeNode()
147 OsSecureHeapListDelete(&preNode->freeNode); in OsSecureHeapFreeNode()
[all …]
/kernel/liteos_m/components/exchook/
Dlos_exchook.c115 struct Node *preNode = NULL; in LOS_UnRegExcHook() local
123 if (preNode) { in LOS_UnRegExcHook()
124 preNode->next = node->next; in LOS_UnRegExcHook()
132 preNode = node; in LOS_UnRegExcHook()
/kernel/liteos_m/kernel/src/mm/
Dlos_memory.c636 const struct OsMemNodeHead *preNode) argument
646 PRINTK(" LR[%d]:0x%x\n", i, preNode->linkReg[i]);
1300 struct OsMemNodeHead *preNode = node->ptr.prev; /* merage preNode */ local
1301 if ((preNode != NULL) && !OS_MEM_NODE_GET_USED_FLAG(preNode->sizeAndFlag)) {
1302 OsMemFreeNodeDelete(pool, (struct OsMemFreeNodeHead *)preNode);
1304 node = preNode;
1709 struct OsMemNodeHead **preNode) argument
1715 *preNode = OS_MEM_FIRST_NODE(pool);
1717 for (*tmpNode = *preNode; *tmpNode < endNode; *tmpNode = OS_MEM_NEXT_NODE(*tmpNode)) {
1724 *preNode = *tmpNode;
[all …]
/kernel/liteos_a/kernel/base/mem/tlsf/
Dlos_memory.c612 const struct OsMemNodeHead *preNode) in OsMemNodeBacktraceInfo() argument
622 PRINTK(" LR[%d]:%#x\n", i, preNode->linkReg[i]); in OsMemNodeBacktraceInfo()
1266 struct OsMemNodeHead *preNode = node->ptr.prev; /* merage preNode */ in OsMemFree() local
1267 if ((preNode != NULL) && !OS_MEM_NODE_GET_USED_FLAG(preNode->sizeAndFlag)) { in OsMemFree()
1268 OsMemFreeNodeDelete(pool, (struct OsMemFreeNodeHead *)preNode); in OsMemFree()
1270 node = preNode; in OsMemFree()
1708 struct OsMemNodeHead **preNode) in OsMemIntegrityCheck() argument
1714 *preNode = OS_MEM_FIRST_NODE(pool); in OsMemIntegrityCheck()
1716 for (*tmpNode = *preNode; *tmpNode < endNode; *tmpNode = OS_MEM_NEXT_NODE(*tmpNode)) { in OsMemIntegrityCheck()
1720 *preNode = *tmpNode; in OsMemIntegrityCheck()
[all …]