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
173
) sorted by null
1
2
3
4
5
6
7
/external/llvm/lib/Support/
Allocator.cpp
45
/// StartNewSlab - Allocate a new
slab
and move the bump pointers over into
46
/// the new
slab
. Modifies CurPtr and End.
49
// to allocate more. Increase
slab
size to reduce mallocs and possibly memory
63
void BumpPtrAllocator::DeallocateSlabs(MemSlab *
Slab
) {
64
while (
Slab
) {
65
MemSlab *NextSlab =
Slab
->NextPtr;
69
sys::Memory::setRangeWritable(
Slab
+ 1,
Slab
->Size - sizeof(MemSlab));
70
memset(
Slab
+ 1, 0xCD,
Slab
->Size - sizeof(MemSlab))
[
all
...]
/external/llvm/unittests/Support/
AllocatorTest.cpp
81
// Test allocating just over the
slab
size. This tests a bug where before the
86
// Fill the
slab
right up until the end pointer.
90
// If we don't allocate a new
slab
, then we will have overflowed.
95
// Test allocating with a size larger than the initial
slab
size.
103
// Mock
slab
allocator that returns slabs aligned on 4096 bytes. There is no
112
// Allocate space for the alignment, the
slab
, and a void* that goes right
113
// before the
slab
.
117
// Make the
slab
.
118
MemSlab *
Slab
= (MemSlab*)(((uintptr_t)MemBase+sizeof(void*)+Alignment-1) &
120
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
) LLVM_OVERRIDE;
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 932 milliseconds
1
2
3
4
5
6
7