Home
last modified time | relevance | path

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

/RvlSDK-3.1/build/libraries/os/src/
DOSAlloc.c132 HeapDesc* hd; // from which the block is allocated member
340 HeapDesc* hd; in OSAllocFromHeap() local
354 hd = &HeapArray[heap]; in OSAllocFromHeap()
361 for (cell = hd->free; cell != NULL; cell = cell->next) in OSAllocFromHeap()
377 ASSERTMSG(cell->hd == NULL, OS_ERR_ALLOCFROMHEAP_BROKENHEAP); in OSAllocFromHeap()
383 hd->free = DLExtract(hd->free, cell); in OSAllocFromHeap()
394 newCell->hd = NULL; in OSAllocFromHeap()
406 ASSERTMSG(hd->free == cell, OS_ERR_ALLOCFROMHEAP_BROKENHEAP); in OSAllocFromHeap()
407 hd->free = newCell; in OSAllocFromHeap()
412 hd->allocated = DLAddFront(hd->allocated, cell); in OSAllocFromHeap()
[all …]