Searched refs:allocation (Results 1 - 12 of 12) sorted by last modified time

/haiku/src/bin/
H A Dleak_analyser.sh40 allocation, so can match in the header line as well as any
135 ALLOCATIONS=$(cat "$FILENAME" | grep -E "^allocation: |^ " | tr '\n' '^' \
/haiku/headers/private/kernel/util/
H A DOpenHashTable.h300 allocation is returned. If no resizing is needed, 0 is returned.
325 /*! Resizes the table using the given allocation. The allocation must not
328 meantime, the method free()s the given allocation and returns \c false,
329 unless \a force is \c true, in which case the supplied allocation is
335 bool Resize(void* allocation, size_t size, bool force = false, argument
339 fAllocator.Free(allocation);
343 _Resize((ValueType**)allocation, size / sizeof(ValueType*), oldTable);
/haiku/src/system/kernel/slab/
H A DMemoryManager.cpp615 // Requested size greater than a large chunk or an aligned allocation.
626 "slab large raw allocation", size, B_FULL_LOCK,
713 // Probably a large allocation. Look up the VM area.
740 // Seems we have a raw chunk allocation.
994 // prepare the allocation entry others can wait on
1868 kprintf("%5" B_PRIu32 " %p raw allocation up to %p\n", i,
2055 MemoryManager::_AddTrackingInfo(void* allocation, size_t size, argument
2058 _TrackingInfoFor(allocation, size)->Init(traceEntry);
H A DSlab.cpp365 void* allocation, size_t allocationSize)
412 void* allocation, size_t allocationSize)
417 if (fAddressFilter != 0 && (addr_t)allocation != fAddressFilter)
435 kprintf("allocation %p, size: %" B_PRIuSIZE, allocation,
468 void* allocation, size_t allocationSize)
487 kprintf("allocation %p, size: %" B_PRIuSIZE "\n", allocation,
680 kprintf("Object cache allocation tracking not available. "
758 kprintf("Object cache allocation trackin
364 ProcessTrackingInfo(AllocationTrackingInfo* info, void* allocation, size_t allocationSize) argument
411 ProcessTrackingInfo(AllocationTrackingInfo* info, void* allocation, size_t allocationSize) argument
467 ProcessTrackingInfo(AllocationTrackingInfo* info, void* allocation, size_t allocationSize) argument
[all...]
H A DMemoryManager.h209 static void _AddTrackingInfo(void* allocation, size_t size,
211 static AllocationTrackingInfo* _TrackingInfoFor(void* allocation,
310 MemoryManager::_TrackingInfoFor(void* allocation, size_t size) argument
312 return (AllocationTrackingInfo*)((uint8*)allocation + size
H A Dslab_debug.h32 // Macros determining whether allocation tracking is actually available.
36 // The object cache code needs to do allocation tracking.
40 // The memory manager code needs to do allocation tracking.
45 // allocation tracking.
61 void* allocation,
/haiku/src/system/kernel/vm/
H A DVMAnonymousCache.cpp276 // SWAP_SLOT_NONE, this forces Write() adjust allocation amount
378 void* allocation; local
387 allocation = malloc(size);
388 if (allocation == NULL)
393 } while (!sSwapHashTable.Resize(allocation, size));
/haiku/src/system/boot/loader/
H A Dheap.cpp263 LargeAllocation* allocation = new(std::nothrow) LargeAllocation; local
264 if (allocation == NULL) {
269 if (allocation->Allocate(size) != B_OK) {
271 delete allocation;
275 sLargeAllocations.InsertUnchecked(allocation);
276 TRACE("malloc_large(%lu) -> %p\n", size, allocation->Address());
277 return allocation->Address();
284 LargeAllocation* allocation = sLargeAllocations.Lookup(address); local
285 if (allocation == NULL)
286 panic("free_large(%p): unknown allocation!\
519 LargeAllocation* allocation = sLargeAllocations.Lookup(oldBuffer); local
[all...]
/haiku/src/tools/fs_shell/
H A DOpenHashTable.h300 allocation is returned. If no resizing is needed, 0 is returned.
325 /*! Resizes the table using the given allocation. The allocation must not
328 meantime, the method free()s the given allocation and returns \c false,
329 unless \a force is \c true, in which case the supplied allocation is
335 bool Resize(void* allocation, size_t size, bool force = false, argument
339 fAllocator.Free(allocation);
343 _Resize((ValueType**)allocation, size / sizeof(ValueType*), oldTable);
/haiku/src/system/kernel/debug/
H A Ddebug_heap.cpp285 void* allocation = debug_malloc(allocationSize); local
286 if (allocation == NULL)
289 memset(allocation, 0, allocationSize);
290 return allocation;
/haiku/src/tests/system/kernel/swap/
H A Dswap_test_heap.cpp38 uint32_t* allocation = (uint32_t*)malloc(allocationSize); local
39 if (allocation == NULL) {
44 printf("Allocated %lu MB at %p. Filling the allocation...\n",
45 (unsigned long)allocationSize / 1024 / 1024, allocation);
49 allocation[i] = i;
58 printf("\rDone filling the allocation. Starting test iterations...\n");
67 if (allocation[i] != i) {
/haiku/src/bin/unzip/
H A Dcrctab.c61 error: Dynamic allocation of CRC table not safe with reentrant code.
120 ziperr(ZE_MEM, "crc_table allocation");

Completed in 143 milliseconds