heap_allocator
heap_add_area(heap_allocator *heap, area_id areaID, addr_t base, size_t size)
heap_remove_area(heap_allocator *heap, heap_area *area)
static heap_allocator *
heap_allocator *heap;
heap = (heap_allocator *)malloc(sizeof(heap_allocator)
heap = (heap_allocator *)base;
base += sizeof(heap_allocator);
size -= sizeof(heap_allocator);
heap->bins = (heap_bin *)((addr_t)heap + sizeof(heap_allocator));
heap_free_pages_added(heap_allocator *heap, heap_area *area, uint32 pageCount)
heap_free_pages_removed(heap_allocator *heap, heap_area *area, uint32 pageCount)
heap_allocate_contiguous_pages(heap_allocator *heap, uint32 pageCount,
heap_add_leak_check_info(heap_allocator *heap, addr_t address, size_t allocated,
heap_raw_alloc(heap_allocator *heap, size_t size, size_t alignment)
heap_allocate_from_bin(heap_allocator *heap, uint32 binIndex, size_t size)
heap_should_grow(heap_allocator *heap)
heap_memalign(heap_allocator *heap, size_t alignment, size_t size)
heap_free(heap_allocator *heap, void *address)
heap_set_get_caller(heap_allocator* heap, addr_t (*getCaller)())
heap_realloc(heap_allocator *heap, void *address, void **newAddress,
heap_allocator *heap = sHeaps[heapIndex];
heap_create_new_heap_area(heap_allocator *heap, const char *name, size_t size)
heap_allocator *heap = sHeaps[i];
static heap_allocator *sHeaps[HEAP_CLASS_COUNT * SMP_MAX_CPUS];
static heap_allocator *sVIPHeap;
static heap_allocator *sGrowHeap = NULL;
heap_allocator *heap = sHeaps[heapIndex];
heap_allocator *heap = sHeaps[(i + offset) % sHeapCount];
heap_allocator *heap = sHeaps[(i + offset) % sHeapCount];
dump_bin_list(heap_allocator *heap)
dump_allocator_areas(heap_allocator *heap)
dump_allocator(heap_allocator *heap, bool areas, bool bins)
dump_allocator((heap_allocator*)(addr_t)heapAddress, !stats, !stats);
heap_allocator *heap = sHeaps[heapIndex];
heap = (heap_allocator *)(addr_t)heapAddress;
heap_allocator *heap = (heap_allocator *)(addr_t)heapAddress;
heap_allocator *heap = sHeaps[heapIndex];
analyze_allocation_callers(heap_allocator *heap)
heap_allocator *heap = NULL;
heap = (heap_allocator*)(addr_t)heapAddress;
heap_validate_heap(heap_allocator *heap)
heap_raw_alloc(heap_allocator *heap, size_t size, size_t alignment)
heap_allocate_from_bin(heap_allocator *heap, uint32 binIndex, size_t size)
heap_memalign(heap_allocator *heap, size_t alignment, size_t size)
heap_free(heap_allocator *heap, void *address)
heap_realloc(heap_allocator *heap, void *address, void **newAddress,
heap_get_allocation_info(heap_allocator *heap, void *address, size_t *size,
heap_create_new_heap_area(heap_allocator *heap, const char *name, size_t size)
heap_allocator *heap = sHeaps[i];
heap_allocator *heap = sHeaps[heapClass];
heap_allocator *heap = sHeaps[i];
heap_allocator *heap = sHeaps[i];
static heap_allocator *sHeaps[HEAP_CLASS_COUNT];
dump_bin_list(heap_allocator *heap)
dump_allocator_areas(heap_allocator *heap)
dump_allocator(heap_allocator *heap, bool areas, bool bins)
heap_allocator *heap = sHeaps[classIndex];
heap_allocator *heap = sHeaps[classIndex];
heap_validate_heap(heap_allocator *heap)
heap_add_area(heap_allocator *heap, area_id areaID, addr_t base, size_t size)
heap_remove_area(heap_allocator *heap, heap_area *area)
static heap_allocator *
heap_allocator *heap = (heap_allocator *)base;
base += sizeof(heap_allocator);
size -= sizeof(heap_allocator);
heap_free_pages_added(heap_allocator *heap, heap_area *area, uint32 pageCount)
heap_free_pages_removed(heap_allocator *heap, heap_area *area, uint32 pageCount)
heap_allocate_contiguous_pages(heap_allocator *heap, uint32 pageCount,