Home
last modified time | relevance | path

Searched refs:nextNode (Results 1 – 9 of 9) sorted by relevance

/kernel/liteos_m/arch/arm/cortex-m33/iar/TZ/secure/
Dlos_secure_heap.c107 struct OsSecureHeapNode *nextNode = NULL; in OsSecureHeapMergeNode() local
110 nextNode = (struct OsSecureHeapNode *)((UINTPTR)node + node->size); in OsSecureHeapMergeNode()
111 nextNode->preNode = node->preNode; in OsSecureHeapMergeNode()
118 struct OsSecureHeapNode *nextNode = NULL; in OsSecureHeapSplitNode() local
125 nextNode = OS_SECURE_HEAP_NEXT_NODE(newFreeNode); in OsSecureHeapSplitNode()
126 nextNode->preNode = newFreeNode; in OsSecureHeapSplitNode()
127 if (nextNode->used == OS_SECURE_HEAP_NODE_FREE) { in OsSecureHeapSplitNode()
128 OsSecureHeapListDelete(&nextNode->freeNode); in OsSecureHeapSplitNode()
129 OsSecureHeapMergeNode(nextNode); in OsSecureHeapSplitNode()
137 struct OsSecureHeapNode *nextNode = NULL; in OsSecureHeapFreeNode() local
[all …]
/kernel/liteos_m/arch/arm/cortex-m55/gcc/TZ/secure/
Dlos_secure_heap.c106 struct OsSecureHeapNode *nextNode = NULL; in OsSecureHeapMergeNode() local
109 nextNode = (struct OsSecureHeapNode *)((UINTPTR)node + node->size); in OsSecureHeapMergeNode()
110 nextNode->preNode = node->preNode; in OsSecureHeapMergeNode()
117 struct OsSecureHeapNode *nextNode = NULL; in OsSecureHeapSplitNode() local
124 nextNode = OS_SECURE_HEAP_NEXT_NODE(newFreeNode); in OsSecureHeapSplitNode()
125 nextNode->preNode = newFreeNode; in OsSecureHeapSplitNode()
126 if (nextNode->used == OS_SECURE_HEAP_NODE_FREE) { in OsSecureHeapSplitNode()
127 OsSecureHeapListDelete(&nextNode->freeNode); in OsSecureHeapSplitNode()
128 OsSecureHeapMergeNode(nextNode); in OsSecureHeapSplitNode()
136 struct OsSecureHeapNode *nextNode = NULL; in OsSecureHeapFreeNode() local
[all …]
/kernel/liteos_m/arch/arm/cortex-m33/gcc/TZ/secure/
Dlos_secure_heap.c106 struct OsSecureHeapNode *nextNode = NULL; in OsSecureHeapMergeNode() local
109 nextNode = (struct OsSecureHeapNode *)((UINTPTR)node + node->size); in OsSecureHeapMergeNode()
110 nextNode->preNode = node->preNode; in OsSecureHeapMergeNode()
117 struct OsSecureHeapNode *nextNode = NULL; in OsSecureHeapSplitNode() local
124 nextNode = OS_SECURE_HEAP_NEXT_NODE(newFreeNode); in OsSecureHeapSplitNode()
125 nextNode->preNode = newFreeNode; in OsSecureHeapSplitNode()
126 if (nextNode->used == OS_SECURE_HEAP_NODE_FREE) { in OsSecureHeapSplitNode()
127 OsSecureHeapListDelete(&nextNode->freeNode); in OsSecureHeapSplitNode()
128 OsSecureHeapMergeNode(nextNode); in OsSecureHeapSplitNode()
136 struct OsSecureHeapNode *nextNode = NULL; in OsSecureHeapFreeNode() local
[all …]
/kernel/liteos_m/arch/arm/cortex-m55/iar/TZ/secure/
Dlos_secure_heap.c107 struct OsSecureHeapNode *nextNode = NULL; in OsSecureHeapMergeNode() local
110 nextNode = (struct OsSecureHeapNode *)((UINTPTR)node + node->size); in OsSecureHeapMergeNode()
111 nextNode->preNode = node->preNode; in OsSecureHeapMergeNode()
118 struct OsSecureHeapNode *nextNode = NULL; in OsSecureHeapSplitNode() local
125 nextNode = OS_SECURE_HEAP_NEXT_NODE(newFreeNode); in OsSecureHeapSplitNode()
126 nextNode->preNode = newFreeNode; in OsSecureHeapSplitNode()
127 if (nextNode->used == OS_SECURE_HEAP_NODE_FREE) { in OsSecureHeapSplitNode()
128 OsSecureHeapListDelete(&nextNode->freeNode); in OsSecureHeapSplitNode()
129 OsSecureHeapMergeNode(nextNode); in OsSecureHeapSplitNode()
137 struct OsSecureHeapNode *nextNode = NULL; in OsSecureHeapFreeNode() local
[all …]
/kernel/liteos_a/kernel/base/ipc/
Dlos_futex.c214 FutexNode *nextNode = NULL; in OsFutexDeleteKeyNodeFromHash() local
231 nextNode = OS_FUTEX_FROM_QUEUELIST(LOS_DL_LIST_FIRST(&node->queueList)); in OsFutexDeleteKeyNodeFromHash()
232 OsFutexReplaceQueueListHeadNode(node, nextNode); in OsFutexDeleteKeyNodeFromHash()
234 *headNode = nextNode; in OsFutexDeleteKeyNodeFromHash()
277 FutexNode *nextNode = NULL; in OsFutexDeleteAlreadyWakeTaskAndGetNext() local
282 nextNode = OS_FUTEX_FROM_QUEUELIST(LOS_DL_LIST_FIRST(&(tempNode->queueList))); in OsFutexDeleteAlreadyWakeTaskAndGetNext()
290 tempNode = nextNode; in OsFutexDeleteAlreadyWakeTaskAndGetNext()
678 FutexHash *hashNode, FutexNode **nextNode, BOOL *wakeAny) in OsFutexCheckAndWakePendTask() argument
685 *nextNode = OsFutexDeleteAlreadyWakeTaskAndGetNext(node, NULL, FALSE); in OsFutexCheckAndWakePendTask()
686 if (*nextNode == NULL) { in OsFutexCheckAndWakePendTask()
[all …]
/kernel/liteos_m/kernel/src/
Dlos_sortlink.c119 LOS_DL_LIST *nextNode = head->pstNext; in SortLinkNodeTimeUpdate() local
121 SortLinkList *listSorted = LOS_DL_LIST_ENTRY(nextNode, SortLinkList, sortLinkNode); in SortLinkNodeTimeUpdate()
123 nextNode = nextNode->pstNext; in SortLinkNodeTimeUpdate()
124 } while (nextNode != head); in SortLinkNodeTimeUpdate()
/kernel/liteos_m/kernel/src/mm/
Dlos_memory.c394 struct OsMemNodeHead *nextNode = NULL; local
403 nextNode = OsMemSentinelNodeGet(sentinelNode);
404 if (nextNode == node) {
408 sentinelNode = OS_MEM_END_NODE(nextNode, nextSize);
809 struct OsMemNodeHead *nextNode = NULL; local
812 nextNode = (struct OsMemNodeHead *)((UINTPTR)node + node->sizeAndFlag);
813 if (!OS_MEM_NODE_GET_LAST_FLAG(nextNode->sizeAndFlag) && !OS_MEM_IS_GAP_NODE(nextNode)) {
814 nextNode->ptr.prev = node->ptr.prev;
821 struct OsMemNodeHead *nextNode = NULL; local
827 nextNode = OS_MEM_NEXT_NODE(&newFreeNode->header);
[all …]
/kernel/uniproton/src/core/kernel/include/
Dprt_list_external.h61 …LINE INLINE void ListLowLevelDelete(struct TagListObject *prevNode, struct TagListObject *nextNode) in ListLowLevelDelete() argument
63 nextNode->prev = prevNode; in ListLowLevelDelete()
64 prevNode->next = nextNode; in ListLowLevelDelete()
/kernel/liteos_a/kernel/base/mem/tlsf/
Dlos_memory.c313 struct OsMemNodeHead *nextNode = NULL; in PreSentinelNodeGet() local
322 nextNode = OsMemSentinelNodeGet(sentinelNode); in PreSentinelNodeGet()
323 if (nextNode == node) { in PreSentinelNodeGet()
327 sentinelNode = OS_MEM_END_NODE(nextNode, nextSize); in PreSentinelNodeGet()
788 struct OsMemNodeHead *nextNode = NULL; in OsMemMergeNode() local
791 nextNode = (struct OsMemNodeHead *)((UINTPTR)node + node->sizeAndFlag); in OsMemMergeNode()
792 if (!OS_MEM_NODE_GET_LAST_FLAG(nextNode->sizeAndFlag)) { in OsMemMergeNode()
793 nextNode->ptr.prev = node->ptr.prev; in OsMemMergeNode()
800 struct OsMemNodeHead *nextNode = NULL; in OsMemSplitNode() local
806 nextNode = OS_MEM_NEXT_NODE(&newFreeNode->header); in OsMemSplitNode()
[all …]