Searched refs:heap (Results 1 - 25 of 66) sorted by relevance

123

/haiku/src/tests/system/boot/loader/
H A Dplatform_heap.cpp7 #include <boot/heap.h>
/haiku/headers/private/kernel/util/
H A DKernelReferenceable.h11 #include <heap.h>
/haiku/src/system/kernel/
H A Dheap.cpp14 #include <heap.h>
225 out.Print("heap allocate: 0x%08lx (%lu bytes)", fAddress, fSize);
246 out.Print("heap reallocate: 0x%08lx -> 0x%08lx (%lu bytes)",
267 out.Print("heap free: 0x%08lx", fAddress);
339 dump_bin_list(heap_allocator *heap) argument
341 for (uint32 i = 0; i < heap->bin_count; i++)
342 dump_bin(&heap->bins[i]);
348 dump_allocator_areas(heap_allocator *heap) argument
350 heap_area *area = heap->all_areas;
365 dump_allocator(heap_allocator *heap, boo argument
443 heap_allocator *heap = sHeaps[heapIndex]; local
448 heap_allocator *heap = (heap_allocator *)(addr_t)heapAddress; local
563 heap_allocator *heap = sHeaps[heapIndex]; local
700 analyze_allocation_callers(heap_allocator *heap) argument
782 heap_allocator *heap = NULL; local
849 heap_validate_heap(heap_allocator *heap) argument
1023 heap_add_area(heap_allocator *heap, area_id areaID, addr_t base, size_t size) argument
1110 heap_remove_area(heap_allocator *heap, heap_area *area) argument
1161 heap_allocator *heap; local
1218 heap_free_pages_added(heap_allocator *heap, heap_area *area, uint32 pageCount) argument
1260 heap_free_pages_removed(heap_allocator *heap, heap_area *area, uint32 pageCount) argument
1332 heap_allocate_contiguous_pages(heap_allocator *heap, uint32 pageCount, size_t alignment) argument
1399 heap_add_leak_check_info(heap_allocator *heap, addr_t address, size_t allocated, size_t size) argument
1413 heap_raw_alloc(heap_allocator *heap, size_t size, size_t alignment) argument
1436 heap_allocate_from_bin(heap_allocator *heap, uint32 binIndex, size_t size) argument
1515 heap_should_grow(heap_allocator *heap) argument
1523 heap_memalign(heap_allocator *heap, size_t alignment, size_t size) argument
1593 heap_free(heap_allocator *heap, void *address) argument
1764 heap_set_get_caller(heap_allocator* heap, addr_t (*getCaller)()) argument
1775 heap_realloc(heap_allocator *heap, void *address, void **newAddress, size_t newSize, uint32 flags) argument
1924 heap_allocator *heap = sHeaps[heapIndex]; local
1941 heap_create_new_heap_area(heap_allocator *heap, const char *name, size_t size) argument
1978 heap_allocator *heap = sHeaps[i]; local
2290 heap_allocator *heap = sHeaps[heapIndex]; local
2366 heap_allocator *heap = sHeaps[(i + offset) % sHeapCount]; local
2423 heap_allocator *heap = sHeaps[(i + offset) % sHeapCount]; local
[all...]
H A Dguarded_heap.cpp13 #include <heap.h>
51 guarded_heap* heap; member in struct:guarded_heap_area
74 RW_LOCK_INITIALIZER("guarded heap lock"),
87 GuardedHeapTraceEntry(guarded_heap* heap) argument
90 fHeap(heap)
101 Allocate(guarded_heap* heap, void* pageBase, uint32 flags) argument
103 GuardedHeapTraceEntry(heap),
112 out.Print("guarded heap allocate: heap: %p; page: %p; "
128 Free(guarded_heap* heap, voi argument
256 guarded_heap_pages_allocated(guarded_heap& heap, size_t pagesAllocated) argument
330 guarded_heap_area_init(guarded_heap& heap, area_id id, void* baseAddress, size_t size, uint32 flags) argument
371 guarded_heap_area_create(guarded_heap& heap, uint32 flags) argument
396 guarded_heap_add_area(guarded_heap& heap, int32 counter, uint32 flags) argument
413 guarded_heap_allocate(guarded_heap& heap, size_t size, size_t alignment, uint32 flags) argument
446 guarded_heap_get_locked_area_for(guarded_heap& heap, void* address) argument
755 guarded_heap* heap = &sGuardedHeap; local
[all...]
/haiku/src/system/libroot/posix/malloc_debug/
H A Dheap.cpp237 dump_bin_list(heap_allocator *heap) argument
239 for (uint32 i = 0; i < heap->bin_count; i++)
240 dump_bin(&heap->bins[i]);
246 dump_allocator_areas(heap_allocator *heap) argument
248 heap_area *area = heap->all_areas;
263 dump_allocator(heap_allocator *heap, bool areas, bool bins) argument
267 "empty_areas: %" B_PRIu32 "\n", heap, heap->name, heap->page_size,
268 heap
284 heap_allocator *heap = sHeaps[classIndex]; local
375 heap_allocator *heap = sHeaps[classIndex]; local
479 heap_validate_heap(heap_allocator *heap) argument
657 heap_add_area(heap_allocator *heap, area_id areaID, addr_t base, size_t size) argument
740 heap_remove_area(heap_allocator *heap, heap_area *area) argument
786 heap_allocator *heap = (heap_allocator *)base; local
829 heap_free_pages_added(heap_allocator *heap, heap_area *area, uint32 pageCount) argument
871 heap_free_pages_removed(heap_allocator *heap, heap_area *area, uint32 pageCount) argument
943 heap_allocate_contiguous_pages(heap_allocator *heap, uint32 pageCount, size_t alignment) argument
1022 heap_raw_alloc(heap_allocator *heap, size_t size, size_t alignment) argument
1045 heap_allocate_from_bin(heap_allocator *heap, uint32 binIndex, size_t size) argument
1114 heap_memalign(heap_allocator *heap, size_t alignment, size_t size) argument
1176 heap_free(heap_allocator *heap, void *address) argument
1391 heap_realloc(heap_allocator *heap, void *address, void **newAddress, size_t newSize) argument
1509 heap_get_allocation_info(heap_allocator *heap, void *address, size_t *size, thread_id *thread) argument
1617 heap_create_new_heap_area(heap_allocator *heap, const char *name, size_t size) argument
1774 heap_allocator *heap = sHeaps[i]; local
[all...]
H A Dguarded_heap.cpp175 guarded_heap* heap; member in struct:guarded_heap_area
198 RW_LOCK_INITIALIZER("guarded heap lock"),
359 if (area.heap->reuse_memory || force)
373 guarded_heap_pages_allocated(guarded_heap& heap, size_t pagesAllocated) argument
375 atomic_add((int32*)&heap.used_pages, pagesAllocated);
424 guarded_heap_pages_allocated(*area.heap, pagesNeeded);
433 guarded_heap_area_init(guarded_heap& heap, area_id id, void* baseAddress, argument
437 area->heap = &heap;
459 area->next = heap
468 guarded_heap_area_create(guarded_heap& heap, size_t size) argument
492 guarded_heap_add_area(guarded_heap& heap, uint32 counter) argument
564 guarded_heap_allocate(guarded_heap& heap, size_t size, size_t alignment) argument
606 guarded_heap_get_locked_area_for(guarded_heap& heap, void* address) argument
951 dump_guarded_heap(guarded_heap& heap) argument
972 dump_allocations(guarded_heap& heap, bool statsOnly, thread_id thread) argument
[all...]
/haiku/headers/cpp/
H A Dstack.h32 #include <heap.h>
/haiku/src/system/kernel/arch/x86/paging/
H A DX86PagingStructures.h15 #include <heap.h>
/haiku/src/system/kernel/arch/arm/paging/
H A DARMPagingStructures.h15 #include <heap.h>
/haiku/src/system/kernel/arch/m68k/paging/
H A DM68KPagingStructures.h15 #include <heap.h>
/haiku/src/system/kernel/arch/ppc/paging/
H A DPPCPagingStructures.h15 #include <heap.h>
/haiku/src/add-ons/kernel/drivers/graphics/common/
H A Dmemory_manager.c41 // memory heap
47 mem_block *heap; member in struct:mem_info
132 mem->heap_area = create_area(name, (void **)&mem->heap,
135 if (mem->heap_area < 0 || mem->heap == NULL)
139 mem->heap[i - 1].next = &mem->heap[i];
142 mem->heap[heapEntries - 1].next = NULL;
143 mem->unused = &mem->heap[1];
145 first = &mem->heap[0];
164 /** destroy heap */
[all...]
/haiku/src/tests/add-ons/kernel/kernelland_emu/
H A Dmisc.cpp17 #include <heap.h>
/haiku/headers/private/kernel/
H A Dheap.h25 // allocate 16MB initial heap for the kernel
27 // grow by another 4MB each time the heap runs out of memory
70 void heap_add_area(heap_allocator* heap, area_id areaID, addr_t base,
74 void* heap_memalign(heap_allocator* heap, size_t alignment, size_t size) _ALIGNED_BY_ARG(2);
75 status_t heap_free(heap_allocator* heap, void* address);
78 void heap_set_get_caller(heap_allocator* heap, addr_t (*getCaller)());
/haiku/src/system/libnetwork/netresolv/include/isc/
H A Dheap.h1 /* $NetBSD: heap.h,v 1.1.1.4 2009/04/12 16:35:44 christos Exp $ */
28 void **heap; member in struct:heap_context
/haiku/src/system/kernel/vm/
H A DVMKernelArea.cpp9 #include <heap.h>
H A DVMUserArea.cpp9 #include <heap.h>
/haiku/src/system/boot/platform/openfirmware/
H A Dheap.cpp10 #include <boot/heap.h>
34 printf("heap base = %p\n", *_base);
36 printf("heap top = %p\n", *_top);
/haiku/src/system/boot/platform/amiga_m68k/
H A Dstart.cpp10 #include <boot/heap.h>
/haiku/src/system/kernel/arch/x86/paging/32bit/
H A DX86PagingStructures32Bit.cpp15 #include <heap.h>
/haiku/src/system/kernel/arch/ppc/paging/460/
H A DPPCPagingStructures460.cpp15 #include <heap.h>
/haiku/src/system/kernel/arch/ppc/paging/classic/
H A DPPCPagingStructuresClassic.cpp15 #include <heap.h>
/haiku/src/system/kernel/arch/arm/paging/32bit/
H A DARMPagingStructures32Bit.cpp15 #include <heap.h>
/haiku/src/system/boot/platform/atari_m68k/
H A Dstart.cpp10 #include <boot/heap.h>
/haiku/src/system/kernel/arch/m68k/paging/040/
H A DM68KPagingStructures040.cpp15 #include <heap.h>

Completed in 927 milliseconds

123