/external/mesa3d/src/gallium/drivers/nouveau/ |
nouveau_mm.c | 46 mm_slab_alloc(struct mm_slab *slab) 50 if (slab->free == 0) 53 for (i = 0; i < (slab->count + 31) / 32; ++i) { 54 b = ffs(slab->bits[i]) - 1; 57 assert(n < slab->count); 58 slab->free--; 59 slab->bits[i] &= ~(1 << b); 67 mm_slab_free(struct mm_slab *slab, int i) 69 assert(i < slab->count); 70 slab->bits[i / 32] |= 1 << (i % 32) 116 struct mm_slab *slab; local 161 struct mm_slab *slab; local 212 struct mm_slab *slab = (struct mm_slab *)alloc->priv; local 262 struct mm_slab *slab, *next; local [all...] |
/external/mesa3d/src/gallium/auxiliary/pipebuffer/ |
pb_bufmgr_slab.c | 55 * Buffer in a slab. 63 struct pb_slab *slab; member in struct:pb_slab_buffer 69 /** Offset relative to the start of the slab buffer. */ 79 * Slab -- a contiguous piece of memory. 116 * Alignment, usage to be used to allocate the slab buffers. 139 * This buffer manager just dispatches buffer allocations to the appropriate slab 140 * manager, according to the requested buffer size, or by passes the slab 191 * Delete a buffer from the slab delayed list and put 192 * it on the slab FREE list. 198 struct pb_slab *slab = buf->slab local 302 struct pb_slab *slab; local 379 struct pb_slab *slab; local [all...] |
/external/llvm/unittests/Support/ |
AllocatorTest.cpp | 96 // Test allocating just over the slab size. This tests a bug where before the 101 // Fill the slab right up until the end pointer. 105 // If we don't allocate a new slab, then we will have overflowed. 110 // Test allocating with a size larger than the initial slab size. 118 // Test requesting alignment that goes past the end of the current slab. 123 // Aligning the current slab pointer is likely to move it past the end of the 124 // slab, which would confuse any unsigned comparisons with the difference of 131 // Mock slab allocator that returns slabs aligned on 4096 bytes. There is no 140 // Allocate space for the alignment, the slab, and a void* that goes right 141 // before the slab [all...] |
/hardware/intel/common/libwsbm/src/ |
wsbm_slabpool.c | 277 * Add a _SlabKernelBO to the free slab manager. 307 * Get a _SlabKernelBO for us to use as storage for a slab. 449 struct _WsbmSlab *slab; local 455 slab = calloc(1, sizeof(*slab)); 456 if (!slab) 459 slab->kbo = wsbmAllocKernelBO(header); 460 if (!slab->kbo) { 465 numBuffers = slab->kbo->actualSize / header->bufSize; 467 slab->buffers = calloc(numBuffers, sizeof(*slab->buffers)) 525 struct _WsbmSlab *slab = buf->parent; local 576 struct _WsbmSlab *slab; local 651 struct _WsbmSlab *slab; local 797 struct _WsbmSlab *slab; local [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>
|