Searched refs:theheap (Results 1 – 2 of 2) sorted by relevance
53 static struct heap theheap; variable76 dprintf(INFO, "\tbase %p, len 0x%zx\n", theheap.base, theheap.len); in miniheap_dump()79 mutex_acquire(&theheap.lock); in miniheap_dump()257 if (theheap.remaining < theheap.low_watermark) { in miniheap_alloc()258 theheap.low_watermark = theheap.remaining; in miniheap_alloc()473 if ((uintptr_t)ptr < (uintptr_t)theheap.base || theheap.base == 0) in heap_grow()474 theheap.base = ptr; in heap_grow()477 if (endptr > (uintptr_t)theheap.base + theheap.len) { in heap_grow()478 theheap.len = (uintptr_t)endptr - (uintptr_t)theheap.base; in heap_grow()506 theheap.base = ptr; in miniheap_init()[all …]
86 static struct heap theheap; variable91 mutex_acquire(&theheap.lock); in lock()95 mutex_release(&theheap.lock); in unlock()106 (unsigned long)theheap.size, in cmpct_dump()233 theheap.remaining += size; in create_free_area()246 theheap.size -= size; in free_to_os()307 remaining = theheap.remaining; in TestTrimHelper()373 ASSERT(theheap.remaining == 0); in cmpct_test_trim()834 theheap.size += size; in heap_grow()844 mutex_init(&theheap.lock); in cmpct_init()[all …]
Completed in 6 milliseconds