Lines Matching refs:next_free
52 for (p = heap->next_free; p != heap; p = p->next_free) { in mmDumpMemInfo()
81 heap->next_free = block; in mmInit()
87 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()
144 newblock->next_free = p->next_free; in SliceBlock()
146 p->next_free->prev_free = newblock; in SliceBlock()
147 p->next_free = newblock; in SliceBlock()
157 p->next_free->prev_free = p->prev_free; in SliceBlock()
158 p->prev_free->next_free = p->next_free; in SliceBlock()
160 p->next_free = 0; in SliceBlock()
178 for (p = heap->next_free; p != heap; p = p->next_free) { in mmAllocMem()
214 q->next_free->prev_free = q->prev_free; in Join2Blocks()
215 q->prev_free->next_free = q->next_free; in Join2Blocks()
238 b->next_free = b->heap->next_free; in mmFreeMem()
240 b->next_free->prev_free = b; in mmFreeMem()
241 b->prev_free->next_free = b; in mmFreeMem()