Lines Matching refs:mem_block
34 mmDumpMemInfo(const struct mem_block *heap)
40 const struct mem_block *p;
60 struct mem_block *
63 struct mem_block *heap, *block;
68 heap = (struct mem_block *) calloc(1, sizeof(struct mem_block));
72 block = (struct mem_block *) calloc(1, sizeof(struct mem_block));
97 static struct mem_block *
98 SliceBlock(struct mem_block *p,
102 struct mem_block *newblock;
106 newblock = (struct mem_block*) calloc(1, sizeof(struct mem_block));
130 newblock = (struct mem_block*) calloc(1, sizeof(struct mem_block));
167 struct mem_block *
168 mmAllocMem(struct mem_block *heap, unsigned size, unsigned align2, unsigned startSearch)
170 struct mem_block *p;
200 struct mem_block *
201 mmFindBlock(struct mem_block *heap, unsigned start)
203 struct mem_block *p;
215 Join2Blocks(struct mem_block *p)
222 struct mem_block *q = p->next;
240 mmFreeMem(struct mem_block *b)
269 mmDestroy(struct mem_block *heap)
271 struct mem_block *p;
277 struct mem_block *next = p->next;