Lines Matching refs:heap
22 #include <lib/heap.h>
82 // order of magnitude: heap.free_lists[NUMBER_OF_BUCKETS]
108 // Exception: to avoid OS free/alloc churn when right on the edge, the heap
135 // When we grow the heap we have to have somewhere in the freelist to put the
154 // All individual memory areas on the heap start with this.
172 struct heap {
173 // Total bytes allocated from the OS for the heap.
176 // Bytes of usable free space in the heap.
198 static struct heap theheap;
918 // Grow heap by at least 12% if we can.
922 // Try to add a new OS allocation to the heap, reducing the size until
1076 // sentinels) so we need to grow the gross heap size by this much more.
1109 LTRACEF("Growing heap by 0x%zx bytes, new ptr %p\n", size, ptr);