Home
last modified time | relevance | path

Searched refs:used_bytes (Results 1 – 6 of 6) sorted by relevance

/art/runtime/gc/allocator/
Ddlmalloc.cc53 extern "C" void DlmallocMadviseCallback(void* start, void* end, size_t used_bytes, void* arg) { in DlmallocMadviseCallback() argument
55 if (used_bytes != 0) { in DlmallocMadviseCallback()
73 extern "C" void DlmallocBytesAllocatedCallback(void* start, void* end, size_t used_bytes, void* arg… in DlmallocBytesAllocatedCallback() argument
74 if (used_bytes == 0) { in DlmallocBytesAllocatedCallback()
78 *bytes_allocated += used_bytes + sizeof(size_t); in DlmallocBytesAllocatedCallback()
81 extern "C" void DlmallocObjectsAllocatedCallback(void* start, void* end, size_t used_bytes, void* a… in DlmallocObjectsAllocatedCallback() argument
82 if (used_bytes == 0) { in DlmallocObjectsAllocatedCallback()
Ddlmalloc.h40 extern "C" void DlmallocMadviseCallback(void* start, void* end, size_t used_bytes, void* /*arg*/);
45 extern "C" void DlmallocBytesAllocatedCallback(void* start, void* end, size_t used_bytes, void* arg…
46 extern "C" void DlmallocObjectsAllocatedCallback(void* start, void* end, size_t used_bytes, void* a…
Drosalloc.h244 …void InspectAllSlots(void (*handler)(void* start, void* end, size_t used_bytes, void* callback_arg…
553 void InspectAll(void (*handler)(void* start, void* end, size_t used_bytes, void* callback_arg),
585 static void BytesAllocatedCallback(void* start, void* end, size_t used_bytes, void* arg);
586 static void ObjectsAllocatedCallback(void* start, void* end, size_t used_bytes, void* arg);
Drosalloc.cc1115 void RosAlloc::Run::InspectAllSlots(void (*handler)(void* start, void* end, size_t used_bytes, void… in InspectAllSlots() argument
1539 void RosAlloc::InspectAll(void (*handler)(void* start, void* end, size_t used_bytes, void* callback… in InspectAll() argument
1587 size_t used_bytes = num_pages * kPageSize; in InspectAll() local
1588 handler(start, end, used_bytes, arg); in InspectAll()
1856 void RosAlloc::BytesAllocatedCallback(void* start, void* end, size_t used_bytes, void* arg) { in BytesAllocatedCallback() argument
1857 if (used_bytes == 0) { in BytesAllocatedCallback()
1861 *bytes_allocated += used_bytes; in BytesAllocatedCallback()
1864 void RosAlloc::ObjectsAllocatedCallback(void* start, void* end, size_t used_bytes, void* arg) { in ObjectsAllocatedCallback() argument
1865 if (used_bytes == 0) { in ObjectsAllocatedCallback()
/art/runtime/gc/space/
Ddlmalloc_space.cc307 static void MSpaceChunkCallback(void* start, void* end, size_t used_bytes, void* arg) { in MSpaceChunkCallback() argument
309 if (used_bytes < chunk_size) { in MSpaceChunkCallback()
310 size_t chunk_free_bytes = chunk_size - used_bytes; in MSpaceChunkCallback()
/art/runtime/
Ddebugger.cc4116 static void HeapChunkCallback(void* start, void* end, size_t used_bytes, void* arg) in HeapChunkCallback() argument
4119 reinterpret_cast<HeapChunkContext*>(arg)->HeapChunkCallback(start, end, used_bytes); in HeapChunkCallback()
4133 void HeapChunkCallback(void* start, void* /*end*/, size_t used_bytes) in HeapChunkCallback() argument
4138 if (used_bytes == 0) { in HeapChunkCallback()
4182 AppendChunk(state, start, used_bytes + chunk_overhead_); in HeapChunkCallback()
4183 startOfNextMemoryChunk_ = reinterpret_cast<char*>(start) + used_bytes + chunk_overhead_; in HeapChunkCallback()