Searched refs:newFreeNode (Results 1 – 6 of 6) sorted by relevance
116 struct OsSecureHeapNode *newFreeNode = NULL; in OsSecureHeapSplitNode() local119 newFreeNode = (struct OsSecureHeapNode *)((UINT8 *)allocNode + allocSize); in OsSecureHeapSplitNode()120 newFreeNode->preNode = allocNode; in OsSecureHeapSplitNode()121 newFreeNode->size = allocNode->size - allocSize; in OsSecureHeapSplitNode()122 newFreeNode->used = OS_SECURE_HEAP_NODE_FREE; in OsSecureHeapSplitNode()124 nextNode = OS_SECURE_HEAP_NEXT_NODE(newFreeNode); in OsSecureHeapSplitNode()125 nextNode->preNode = newFreeNode; in OsSecureHeapSplitNode()131 OsSecureHeapListAdd(&g_secureHeapFreeList, &newFreeNode->freeNode); in OsSecureHeapSplitNode()
117 struct OsSecureHeapNode *newFreeNode = NULL; in OsSecureHeapSplitNode() local120 newFreeNode = (struct OsSecureHeapNode *)((UINT8 *)allocNode + allocSize); in OsSecureHeapSplitNode()121 newFreeNode->preNode = allocNode; in OsSecureHeapSplitNode()122 newFreeNode->size = allocNode->size - allocSize; in OsSecureHeapSplitNode()123 newFreeNode->used = OS_SECURE_HEAP_NODE_FREE; in OsSecureHeapSplitNode()125 nextNode = OS_SECURE_HEAP_NEXT_NODE(newFreeNode); in OsSecureHeapSplitNode()126 nextNode->preNode = newFreeNode; in OsSecureHeapSplitNode()132 OsSecureHeapListAdd(&g_secureHeapFreeList, &newFreeNode->freeNode); in OsSecureHeapSplitNode()
799 struct OsMemFreeNodeHead *newFreeNode = NULL; in OsMemSplitNode() local802 newFreeNode = (struct OsMemFreeNodeHead *)(VOID *)((UINT8 *)allocNode + allocSize); in OsMemSplitNode()803 newFreeNode->header.ptr.prev = allocNode; in OsMemSplitNode()804 newFreeNode->header.sizeAndFlag = allocNode->sizeAndFlag - allocSize; in OsMemSplitNode()806 nextNode = OS_MEM_NEXT_NODE(&newFreeNode->header); in OsMemSplitNode()808 nextNode->ptr.prev = &newFreeNode->header; in OsMemSplitNode()815 OsMemFreeNodeAdd(pool, newFreeNode); in OsMemSplitNode()
821 struct OsMemFreeNodeHead *newFreeNode = NULL; local824 newFreeNode = (struct OsMemFreeNodeHead *)(VOID *)((UINT8 *)allocNode + allocSize);825 newFreeNode->header.ptr.prev = allocNode;826 newFreeNode->header.sizeAndFlag = allocNode->sizeAndFlag - allocSize;828 nextNode = OS_MEM_NEXT_NODE(&newFreeNode->header);830 nextNode->ptr.prev = &newFreeNode->header;837 OsMemFreeNodeAdd(pool, newFreeNode);