/external/mesa3d/src/gallium/auxiliary/pipebuffer/ |
pb_slab.c | 38 /* Slabs with allocation candidates. Typically, slabs in this list should 46 * Due to a race in new slab allocation, additional slabs in this list 49 struct list_head slabs; member in struct:pb_slab_group 54 pb_slab_reclaim(struct pb_slabs *slabs, struct pb_slab_entry *entry) 64 struct pb_slab_group *group = &slabs->groups[entry->group_index]; 65 LIST_ADDTAIL(&slab->head, &group->slabs); 70 slabs->slab_free(slabs->priv, slab); 75 pb_slabs_reclaim_locked(struct pb_slabs *slabs) [all...] |
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_slab.h | 32 * from larger buffers (called "slabs"). 135 pb_slab_alloc(struct pb_slabs *slabs, unsigned size, unsigned heap); 138 pb_slab_free(struct pb_slabs* slabs, struct pb_slab_entry *entry); 141 pb_slabs_reclaim(struct pb_slabs *slabs); 144 pb_slabs_init(struct pb_slabs *slabs, 153 pb_slabs_deinit(struct pb_slabs *slabs);
|
/external/llvm/include/llvm/Support/ |
Allocator.h | 121 /// This isn't strictly a bump-pointer allocator as it uses backing slabs of 152 // slabs as a matter of correctness. 154 : CurPtr(Old.CurPtr), End(Old.End), Slabs(std::move(Old.Slabs)), 160 Old.Slabs.clear(); 165 DeallocateSlabs(Slabs.begin(), Slabs.end()); 170 DeallocateSlabs(Slabs.begin(), Slabs.end()); 176 Slabs = std::move(RHS.Slabs) [all...] |
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
Allocator.h | 124 /// This isn't strictly a bump-pointer allocator as it uses backing slabs of 155 // slabs as a matter of correctness. 157 : CurPtr(Old.CurPtr), End(Old.End), Slabs(std::move(Old.Slabs)), 163 Old.Slabs.clear(); 168 DeallocateSlabs(Slabs.begin(), Slabs.end()); 173 DeallocateSlabs(Slabs.begin(), Slabs.end()); 179 Slabs = std::move(RHS.Slabs) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
Allocator.h | 124 /// This isn't strictly a bump-pointer allocator as it uses backing slabs of 154 // slabs as a matter of correctness. 156 : CurPtr(Old.CurPtr), End(Old.End), Slabs(std::move(Old.Slabs)), 162 Old.Slabs.clear(); 167 DeallocateSlabs(Slabs.begin(), Slabs.end()); 172 DeallocateSlabs(Slabs.begin(), Slabs.end()); 179 Slabs = std::move(RHS.Slabs) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Support/ |
Allocator.h | 124 /// This isn't strictly a bump-pointer allocator as it uses backing slabs of 154 // slabs as a matter of correctness. 156 : CurPtr(Old.CurPtr), End(Old.End), Slabs(std::move(Old.Slabs)), 162 Old.Slabs.clear(); 167 DeallocateSlabs(Slabs.begin(), Slabs.end()); 172 DeallocateSlabs(Slabs.begin(), Slabs.end()); 179 Slabs = std::move(RHS.Slabs) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Support/ |
Allocator.h | 124 /// This isn't strictly a bump-pointer allocator as it uses backing slabs of 154 // slabs as a matter of correctness. 156 : CurPtr(Old.CurPtr), End(Old.End), Slabs(std::move(Old.Slabs)), 162 Old.Slabs.clear(); 167 DeallocateSlabs(Slabs.begin(), Slabs.end()); 172 DeallocateSlabs(Slabs.begin(), Slabs.end()); 179 Slabs = std::move(RHS.Slabs) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Support/ |
Allocator.h | 124 /// This isn't strictly a bump-pointer allocator as it uses backing slabs of 154 // slabs as a matter of correctness. 156 : CurPtr(Old.CurPtr), End(Old.End), Slabs(std::move(Old.Slabs)), 162 Old.Slabs.clear(); 167 DeallocateSlabs(Slabs.begin(), Slabs.end()); 172 DeallocateSlabs(Slabs.begin(), Slabs.end()); 179 Slabs = std::move(RHS.Slabs) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/Support/ |
Allocator.h | 124 /// This isn't strictly a bump-pointer allocator as it uses backing slabs of 154 // slabs as a matter of correctness. 156 : CurPtr(Old.CurPtr), End(Old.End), Slabs(std::move(Old.Slabs)), 162 Old.Slabs.clear(); 167 DeallocateSlabs(Slabs.begin(), Slabs.end()); 172 DeallocateSlabs(Slabs.begin(), Slabs.end()); 179 Slabs = std::move(RHS.Slabs) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/Support/ |
Allocator.h | 124 /// This isn't strictly a bump-pointer allocator as it uses backing slabs of 154 // slabs as a matter of correctness. 156 : CurPtr(Old.CurPtr), End(Old.End), Slabs(std::move(Old.Slabs)), 162 Old.Slabs.clear(); 167 DeallocateSlabs(Slabs.begin(), Slabs.end()); 172 DeallocateSlabs(Slabs.begin(), Slabs.end()); 179 Slabs = std::move(RHS.Slabs) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/Support/ |
Allocator.h | 124 /// This isn't strictly a bump-pointer allocator as it uses backing slabs of 154 // slabs as a matter of correctness. 156 : CurPtr(Old.CurPtr), End(Old.End), Slabs(std::move(Old.Slabs)), 162 Old.Slabs.clear(); 167 DeallocateSlabs(Slabs.begin(), Slabs.end()); 172 DeallocateSlabs(Slabs.begin(), Slabs.end()); 179 Slabs = std::move(RHS.Slabs) [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
Allocator.h | 124 /// This isn't strictly a bump-pointer allocator as it uses backing slabs of 154 // slabs as a matter of correctness. 156 : CurPtr(Old.CurPtr), End(Old.End), Slabs(std::move(Old.Slabs)), 162 Old.Slabs.clear(); 167 DeallocateSlabs(Slabs.begin(), Slabs.end()); 172 DeallocateSlabs(Slabs.begin(), Slabs.end()); 179 Slabs = std::move(RHS.Slabs) [all...] |
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/Support/ |
Allocator.h | 124 /// This isn't strictly a bump-pointer allocator as it uses backing slabs of 154 // slabs as a matter of correctness. 156 : CurPtr(Old.CurPtr), End(Old.End), Slabs(std::move(Old.Slabs)), 162 Old.Slabs.clear(); 167 DeallocateSlabs(Slabs.begin(), Slabs.end()); 172 DeallocateSlabs(Slabs.begin(), Slabs.end()); 179 Slabs = std::move(RHS.Slabs) [all...] |
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/Support/ |
Allocator.h | 124 /// This isn't strictly a bump-pointer allocator as it uses backing slabs of 154 // slabs as a matter of correctness. 156 : CurPtr(Old.CurPtr), End(Old.End), Slabs(std::move(Old.Slabs)), 162 Old.Slabs.clear(); 167 DeallocateSlabs(Slabs.begin(), Slabs.end()); 172 DeallocateSlabs(Slabs.begin(), Slabs.end()); 179 Slabs = std::move(RHS.Slabs) [all...] |
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/Support/ |
Allocator.h | 124 /// This isn't strictly a bump-pointer allocator as it uses backing slabs of 154 // slabs as a matter of correctness. 156 : CurPtr(Old.CurPtr), End(Old.End), Slabs(std::move(Old.Slabs)), 162 Old.Slabs.clear(); 167 DeallocateSlabs(Slabs.begin(), Slabs.end()); 172 DeallocateSlabs(Slabs.begin(), Slabs.end()); 179 Slabs = std::move(RHS.Slabs) [all...] |
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/Support/ |
Allocator.h | 124 /// This isn't strictly a bump-pointer allocator as it uses backing slabs of 154 // slabs as a matter of correctness. 156 : CurPtr(Old.CurPtr), End(Old.End), Slabs(std::move(Old.Slabs)), 162 Old.Slabs.clear(); 167 DeallocateSlabs(Slabs.begin(), Slabs.end()); 172 DeallocateSlabs(Slabs.begin(), Slabs.end()); 179 Slabs = std::move(RHS.Slabs) [all...] |
/prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/Support/ |
Allocator.h | 124 /// This isn't strictly a bump-pointer allocator as it uses backing slabs of 154 // slabs as a matter of correctness. 156 : CurPtr(Old.CurPtr), End(Old.End), Slabs(std::move(Old.Slabs)), 162 Old.Slabs.clear(); 167 DeallocateSlabs(Slabs.begin(), Slabs.end()); 172 DeallocateSlabs(Slabs.begin(), Slabs.end()); 179 Slabs = std::move(RHS.Slabs) [all...] |
/prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/Support/ |
Allocator.h | 124 /// This isn't strictly a bump-pointer allocator as it uses backing slabs of 154 // slabs as a matter of correctness. 156 : CurPtr(Old.CurPtr), End(Old.End), Slabs(std::move(Old.Slabs)), 162 Old.Slabs.clear(); 167 DeallocateSlabs(Slabs.begin(), Slabs.end()); 172 DeallocateSlabs(Slabs.begin(), Slabs.end()); 179 Slabs = std::move(RHS.Slabs) [all...] |
/external/mesa3d/src/gallium/state_trackers/nine/ |
nine_helpers.c | 37 pool->slabs = REALLOC(pool->slabs, 42 pool->free = pool->slabs[pool->num_slabs++] = r;
|
/external/swiftshader/third_party/LLVM/unittests/ExecutionEngine/JIT/ |
JITMemoryManagerTest.cpp | 71 // try allocating three smaller functions that don't require additional slabs. 139 // Check that the small functions didn't allocate any new slabs. 200 // Make sure we didn't allocate any extra slabs for this tiny amount of data. 205 // only use two slabs for that. 230 // Check the number of slabs. 243 // We should start with no slabs. 266 // 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. 500 WSBMLISTADDTAIL(&slab->head, &header->slabs); 538 WSBMLISTADDTAIL(&slab->head, &header->slabs); 546 if (header->slabs.next == &header->slabs || 660 while (header->slabs.next == &header->slabs && count > 0) { 662 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 138 // Mock slab allocator that returns slabs aligned on 4096 bytes. There is no
|
/external/swiftshader/third_party/LLVM/unittests/Support/ |
AllocatorTest.cpp | 35 // Allocate enough bytes to create three slabs. 46 // Allocate enough bytes to create two slabs, reset the allocator, and do it 96 // Mock slab allocator that returns slabs aligned on 4096 bytes. There is no
|