Lines Matching refs:next_free
48 for (p = heap->next_free; p != heap; p = p->next_free) { in mmDumpMemInfo()
77 heap->next_free = block; in mmInit()
83 block->next_free = heap; in mmInit()
115 newblock->next_free = p->next_free; in SliceBlock()
117 p->next_free->prev_free = newblock; in SliceBlock()
118 p->next_free = newblock; in SliceBlock()
140 newblock->next_free = p->next_free; in SliceBlock()
142 p->next_free->prev_free = newblock; in SliceBlock()
143 p->next_free = newblock; in SliceBlock()
153 p->next_free->prev_free = p->prev_free; in SliceBlock()
154 p->prev_free->next_free = p->next_free; in SliceBlock()
156 p->next_free = 0; in SliceBlock()
174 for (p = heap->next_free; p != heap; p = p->next_free) { in mmAllocMem()
210 q->next_free->prev_free = q->prev_free; in Join2Blocks()
211 q->prev_free->next_free = q->next_free; in Join2Blocks()
234 b->next_free = b->heap->next_free; in mmFreeMem()
236 b->next_free->prev_free = b; in mmFreeMem()
237 b->prev_free->next_free = b; in mmFreeMem()