Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/core/
Dheap.c35 struct HeapNode { struct
37 struct HeapNode* prev; argument
62 static struct HeapNode* gHeapHead; argument
65 static struct HeapNode *gHeapTail;
67 static inline struct HeapNode* heapPrvGetNext(struct HeapNode* node) in heapPrvGetNext()
69 return (gHeapTail == node) ? NULL : (struct HeapNode*)(node->data + node->size); in heapPrvGetNext()
75 struct HeapNode* node; in heapInit()
77 node = gHeapHead = (struct HeapNode*)ALIGNED_HEAP_START; in heapInit()
79 if (size < sizeof(struct HeapNode)) in heapInit()
86 node->size = size - sizeof(struct HeapNode); in heapInit()
[all …]