Lines Matching defs:heap
69 alloc(struct heap *heap, word_t size, word_t alignment_bits)
74 struct mem_node *prev = heap->head;
117 heap->num_allocs++;
130 dealloc(struct heap *heap, void *ptr, word_t size)
135 struct mem_node *prev = heap->head;
166 heap->num_allocs--;
171 add_mem_pool(struct heap *heap, void *ptr, word_t size)
175 dealloc(heap, ptr, size);
176 heap->num_allocs++;
181 init_allocator(struct heap *init_heap, struct mem_node *init_mem_node)