Lines Matching refs:next_free
50 for(p = heap->next_free; p != heap; p = p->next_free) { in mmDumpMemInfo()
80 heap->next_free = block; in mmInit()
86 block->next_free = heap; in mmInit()
119 newblock->next_free = p->next_free; in SliceBlock()
121 p->next_free->prev_free = newblock; in SliceBlock()
122 p->next_free = newblock; in SliceBlock()
143 newblock->next_free = p->next_free; in SliceBlock()
145 p->next_free->prev_free = newblock; in SliceBlock()
146 p->next_free = newblock; in SliceBlock()
156 p->next_free->prev_free = p->prev_free; in SliceBlock()
157 p->prev_free->next_free = p->next_free; in SliceBlock()
159 p->next_free = 0; in SliceBlock()
178 for (p = heap->next_free; p != heap; p = p->next_free) { in mmAllocMem()
230 q->next_free->prev_free = q->prev_free; in Join2Blocks()
231 q->prev_free->next_free = q->next_free; in Join2Blocks()
255 b->next_free = b->heap->next_free; in mmFreeMem()
257 b->next_free->prev_free = b; in mmFreeMem()
258 b->prev_free->next_free = b; in mmFreeMem()