OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:slab
(Results
1 - 25
of
204
) sorted by null
1
2
3
4
5
6
7
8
9
/external/llvm/lib/Support/
Allocator.cpp
44
/// StartNewSlab - Allocate a new
slab
and move the bump pointers over into
45
/// the new
slab
. Modifies CurPtr and End.
48
// to allocate more. Increase
slab
size to reduce mallocs and possibly memory
62
void BumpPtrAllocator::DeallocateSlabs(MemSlab *
Slab
) {
63
while (
Slab
) {
64
MemSlab *NextSlab =
Slab
->NextPtr;
68
sys::Memory::setRangeWritable(
Slab
+ 1,
Slab
->Size - sizeof(MemSlab));
69
memset(
Slab
+ 1, 0xCD,
Slab
->Size - sizeof(MemSlab))
[
all
...]
/external/llvm/unittests/Support/
AllocatorTest.cpp
82
// Test allocating just over the
slab
size. This tests a bug where before the
87
// Fill the
slab
right up until the end pointer.
91
// If we don't allocate a new
slab
, then we will have overflowed.
96
// Test allocating with a size larger than the initial
slab
size.
104
// Mock
slab
allocator that returns slabs aligned on 4096 bytes. There is no
113
// Allocate space for the alignment, the
slab
, and a void* that goes right
114
// before the
slab
.
118
// Make the
slab
.
119
MemSlab *
Slab
= (MemSlab*)(((uintptr_t)MemBase+sizeof(void*)+Alignment-1) &
121
Slab
->Size = Size
[
all
...]
/external/llvm/include/llvm/Support/
Allocator.h
51
/// MemSlab - This structure lives at the beginning of every
slab
allocated by
68
virtual void Deallocate(MemSlab *
Slab
) = 0;
71
/// MallocSlabAllocator - The default
slab
allocator for the bump allocator
83
virtual void Deallocate(MemSlab *
Slab
);
99
/// allocate a separate
slab
.
107
/// CurSlab - The
slab
that we are currently allocating into.
111
/// CurPtr - The current pointer into the current
slab
. This points to the
112
/// next free byte in the
slab
.
115
/// End - The end of the current
slab
.
128
/// StartNewSlab - Allocate a new
slab
and move the bump pointers over int
[
all
...]
/development/ndk/platforms/android-3/include/linux/
percpu.h
15
#include <linux/
slab
.h>
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/
percpu.h
15
#include <linux/
slab
.h>
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/
percpu.h
15
#include <linux/
slab
.h>
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/
percpu.h
15
#include <linux/
slab
.h>
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/
percpu.h
15
#include <linux/
slab
.h>
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/
percpu.h
15
#include <linux/
slab
.h>
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/linux/
percpu.h
15
#include <linux/
slab
.h>
/prebuilts/ndk/5/platforms/android-3/arch-arm/usr/include/linux/
percpu.h
15
#include <linux/
slab
.h>
/prebuilts/ndk/6/platforms/android-3/arch-arm/usr/include/linux/
percpu.h
15
#include <linux/
slab
.h>
/prebuilts/ndk/6/platforms/android-3/arch-x86/usr/include/linux/
percpu.h
15
#include <linux/
slab
.h>
/prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/linux/
percpu.h
15
#include <linux/
slab
.h>
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/linux/
percpu.h
15
#include <linux/
slab
.h>
/prebuilts/ndk/7/platforms/android-3/arch-arm/usr/include/linux/
percpu.h
15
#include <linux/
slab
.h>
/prebuilts/ndk/7/platforms/android-3/arch-x86/usr/include/linux/
percpu.h
15
#include <linux/
slab
.h>
/prebuilts/ndk/7/platforms/android-4/arch-arm/usr/include/linux/
percpu.h
15
#include <linux/
slab
.h>
/prebuilts/ndk/7/platforms/android-4/arch-x86/usr/include/linux/
percpu.h
15
#include <linux/
slab
.h>
/prebuilts/ndk/7/platforms/android-5/arch-arm/usr/include/linux/
percpu.h
15
#include <linux/
slab
.h>
/prebuilts/ndk/7/platforms/android-5/arch-x86/usr/include/linux/
percpu.h
15
#include <linux/
slab
.h>
/prebuilts/ndk/7/platforms/android-8/arch-arm/usr/include/linux/
percpu.h
15
#include <linux/
slab
.h>
/prebuilts/ndk/7/platforms/android-8/arch-x86/usr/include/linux/
percpu.h
15
#include <linux/
slab
.h>
/prebuilts/ndk/7/platforms/android-9/arch-arm/usr/include/linux/
percpu.h
15
#include <linux/
slab
.h>
/prebuilts/ndk/7/platforms/android-9/arch-x86/usr/include/linux/
percpu.h
15
#include <linux/
slab
.h>
Completed in 1631 milliseconds
1
2
3
4
5
6
7
8
9