/external/llvm/include/llvm/Support/ |
Allocator.h | 118 /// This isn't strictly a bump-pointer allocator as it uses backing slabs of 149 // slabs as a matter of correctness. 151 : CurPtr(Old.CurPtr), End(Old.End), Slabs(std::move(Old.Slabs)), 157 Old.Slabs.clear(); 162 DeallocateSlabs(Slabs.begin(), Slabs.end()); 167 DeallocateSlabs(Slabs.begin(), Slabs.end()); 173 Slabs = std::move(RHS.Slabs) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/pipebuffer/ |
pb_bufmgr_slab.c | 99 * It adds/removes slabs as needed in order to meet the allocation/destruction 124 * Partial slabs 126 * Full slabs are not stored in any list. Empty slabs are destroyed 129 struct list_head slabs; member in struct:pb_slab_manager 136 * Wrapper around several slabs, therefore capable of handling buffers of 213 LIST_ADDTAIL(&slab->head, &mgr->slabs); 297 * Called when we ran out of free slabs. 359 /* Add this slab to the list of partial slabs */ 360 LIST_ADDTAIL(&slab->head, &mgr->slabs); [all...] |
pb_bufmgr.h | 146 * Allow a range of buffer size, by aggregating multiple slabs sub-allocators
|
/external/mesa3d/src/gallium/auxiliary/pipebuffer/ |
pb_bufmgr_slab.c | 99 * It adds/removes slabs as needed in order to meet the allocation/destruction 124 * Partial slabs 126 * Full slabs are not stored in any list. Empty slabs are destroyed 129 struct list_head slabs; member in struct:pb_slab_manager 136 * Wrapper around several slabs, therefore capable of handling buffers of 213 LIST_ADDTAIL(&slab->head, &mgr->slabs); 297 * Called when we ran out of free slabs. 359 /* Add this slab to the list of partial slabs */ 360 LIST_ADDTAIL(&slab->head, &mgr->slabs); [all...] |
pb_bufmgr.h | 146 * Allow a range of buffer size, by aggregating multiple slabs sub-allocators
|
/external/llvm/unittests/ExecutionEngine/JIT/ |
JITMemoryManagerTest.cpp | 70 // try allocating three smaller functions that don't require additional slabs. 138 // Check that the small functions didn't allocate any new slabs. 199 // Make sure we didn't allocate any extra slabs for this tiny amount of data. 204 // only use two slabs for that. 229 // Check the number of slabs. 242 // We should start with no slabs. 265 // We should start with no slabs.
|
/hardware/intel/common/libwsbm/src/ |
wsbm_slabpool.c | 151 struct _WsbmListHead slabs; member in struct:_WsbmSlabSizeHeader 210 * FIXME: Perhaps arrange timeout slabs in size buckets for fast 323 * to efficiently reuse slabs. 496 WSBMLISTADDTAIL(&slab->head, &header->slabs); 534 WSBMLISTADDTAIL(&slab->head, &header->slabs); 542 if (header->slabs.next == &header->slabs || 656 while (header->slabs.next == &header->slabs && count > 0) { 658 if (header->slabs.next != &header->slabs [all...] |
/system/extras/showslab/ |
showslab.c | 27 unsigned long nr_slabs; /* number of slabs in this cache */ 37 unsigned long nr_slabs; /* total number of slabs */ 38 unsigned long nr_active_slabs; /* total number of active slabs*/ 298 fprintf(stderr, " l: number of sLabs\n"); 313 " Active / Total Slabs (%% used) : %lu / %lu (%.1f%%)\n" 334 "OBJS", "ACTIVE", "USE", "OBJ SIZE", "SLABS",
|
/external/llvm/unittests/Support/ |
AllocatorTest.cpp | 49 // Allocate enough bytes to create three slabs. 60 // Allocate enough bytes to create two slabs, reset the allocator, and do it 118 // Mock slab allocator that returns slabs aligned on 4096 bytes. There is no
|
/ndk/sources/cxx-stl/gabi++/src/ |
cxxabi.cc | 87 // This allocates large blocks of memory, called 'slabs' that can contain 89 // followed by a pointer, used to put all slabs in a single linked list. 186 void* slab_list_; // Linked list of slabs.
|
/external/llvm/lib/ExecutionEngine/JIT/ |
JITMemoryManager.cpp | 44 STATISTIC(NumSlabs, "Number of slabs of memory allocated by the JIT"); 290 /// least this much unless more is requested. Currently, in 512k slabs. 293 /// DefaultSlabSize - Allocate globals and stubs into slabs of 64K (probably 313 // Memory slabs allocated by the JIT. We refer to them as slabs so we don't [all...] |