Searched refs:newCell (Results 1 – 1 of 1) sorted by relevance
365 Cell *newCell; // ptr to leftover block in OS_AllocFromHeap() local437 newCell = (Cell *) ((char *)cell + size); in OS_AllocFromHeap()438 newCell->size = leftoverSize; in OS_AllocFromHeap()440 newCell->hd = NULL; in OS_AllocFromHeap()444 newCell->prev = cell->prev; in OS_AllocFromHeap()445 newCell->next = cell->next; in OS_AllocFromHeap()447 if (newCell->next != NULL) in OS_AllocFromHeap()449 newCell->next->prev = newCell; in OS_AllocFromHeap()452 if (newCell->prev != NULL) in OS_AllocFromHeap()454 newCell->prev->next = newCell; in OS_AllocFromHeap()[all …]