Lines Matching defs:heap
72 ualloc(struct heap* heap, word_t size)
76 void* chunk = alloc(heap, size + 8);
89 alloc(struct heap* heap, word_t size)
93 struct mem_node *prev = heap->head;
134 heap->num_allocs++;
146 udealloc(struct heap* heap, void* ptr)
153 dealloc(heap, store, size);
159 dealloc(struct heap* heap, void* ptr, word_t size)
164 struct mem_node *prev = heap->head;
192 heap->num_allocs--;
197 add_mem_pool(struct heap *heap, void *ptr, word_t size)
201 dealloc(heap, ptr, size);
202 heap->num_allocs++;
207 init_allocator(struct heap *init_heap, struct mem_node *init_mem_node)