Lines Matching refs:mem_block
34 u_mmDumpMemInfo(const struct mem_block *heap)
41 const struct mem_block *p;
69 struct mem_block *
72 struct mem_block *heap, *block;
77 heap = CALLOC_STRUCT(mem_block);
81 block = CALLOC_STRUCT(mem_block);
106 static struct mem_block *
107 SliceBlock(struct mem_block *p,
111 struct mem_block *newblock;
115 newblock = CALLOC_STRUCT(mem_block);
139 newblock = CALLOC_STRUCT(mem_block);
176 struct mem_block *
177 u_mmAllocMem(struct mem_block *heap, int size, int align2, int startSearch)
179 struct mem_block *p;
216 struct mem_block *
217 u_mmFindBlock(struct mem_block *heap, int start)
219 struct mem_block *p;
231 Join2Blocks(struct mem_block *p)
238 struct mem_block *q = p->next;
256 u_mmFreeMem(struct mem_block *b)
285 u_mmDestroy(struct mem_block *heap)
287 struct mem_block *p;
293 struct mem_block *next = p->next;