HomeSort by relevance Sort by last modified time
    Searched defs:slab (Results 1 - 15 of 15) sorted by null

  /external/mesa3d/src/gallium/auxiliary/pipebuffer/
pb_slab.c 33 /* All slab allocations from the same heap and with the same size belong
43 * The intention is to keep serving allocations from the same slab as long
46 * Due to a race in new slab allocation, additional slabs in this list
56 struct pb_slab *slab = entry->slab; local
59 LIST_ADD(&entry->head, &slab->free);
60 slab->num_free++;
62 /* Add slab to the group's list if it isn't already linked. */
63 if (!slab->head.next) {
65 LIST_ADDTAIL(&slab->head, &group->slabs)
103 struct pb_slab *slab; local
    [all...]
pb_slab.h 31 * Helper library for carving out smaller allocations (called "(slab) entries")
55 /* Descriptor of a slab entry.
63 struct pb_slab *slab; /* the slab that contains this buffer */ member in struct:pb_slab_entry
67 /* Descriptor of a slab from which many entries are carved out.
81 /* Callback function that is called when a new slab needs to be allocated
85 * of entries. All entries that belong to the slab must be added to the free
96 /* Callback function that is called when all entries of a slab have been freed.
98 * The callback must free the slab and all its entries. It must not call any of
107 /* Manager of slab allocations. The user of this utility library should embe
    [all...]
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...]
  /device/google/contexthub/firmware/os/core/
eventQ.c 23 #include <slab.h>
66 struct SlabAllocator *slab = slabAllocatorNew(sizeof(struct EvtRecord), local
69 if (q && slab) {
71 q->evtsSlab = slab;
79 if (slab)
80 slabAllocatorDestroy(slab);
  /external/mesa3d/src/gallium/winsys/amdgpu/drm/
amdgpu_bo.h 55 } slab; member in union:amdgpu_winsys_bo::__anon30263
61 amdgpu_bo_handle bo; /* NULL for slab entries */
98 void amdgpu_bo_slab_free(void *priv, struct pb_slab *slab);
107 struct amdgpu_slab *amdgpu_slab(struct pb_slab *slab)
109 return (struct amdgpu_slab *)slab;
amdgpu_bo.c 161 assert(bo->bo && "must not be called for slab entries");
193 assert(bo->bo); /* slab buffers have a separate vtbl */
296 real = bo->u.slab.real;
326 real = bo->bo ? bo : bo->u.slab.real;
459 bo = container_of(entry, bo, u.slab.entry);
470 pb_slab_free(&bo->ws->bo_slabs, &bo->u.slab.entry);
483 struct amdgpu_slab *slab = CALLOC_STRUCT(amdgpu_slab); local
488 if (!slab)
509 slab->buffer = amdgpu_winsys_bo(amdgpu_bo_create(&ws->base,
512 if (!slab->buffer
556 struct amdgpu_slab *slab = amdgpu_slab(pslab); local
    [all...]
amdgpu_cs.h 54 } slab; member in union:amdgpu_cs_buffer::__anon30266
  /external/mesa3d/src/gallium/winsys/radeon/drm/
radeon_drm_bo.h 57 } slab; member in union:radeon_bo::__anon30269
63 uint32_t handle; /* 0 for slab entries */
91 void radeon_bo_slab_free(void *priv, struct pb_slab *slab);
radeon_drm_cs.h 40 } slab; member in union:radeon_bo_item::__anon30272
123 index = cs->csc->slab_buffers[index].u.slab.real_idx;
radeon_drm_bo.c 81 for (num_idle = 0; num_idle < bo->u.slab.num_fences; ++num_idle) {
82 if (radeon_real_bo_is_busy(bo->u.slab.fences[num_idle])) {
86 radeon_bo_reference(&bo->u.slab.fences[num_idle], NULL);
88 memmove(&bo->u.slab.fences[0], &bo->u.slab.fences[num_idle],
89 (bo->u.slab.num_fences - num_idle) * sizeof(bo->u.slab.fences[0]));
90 bo->u.slab.num_fences -= num_idle;
111 while (bo->u.slab.num_fences) {
113 radeon_bo_reference(&fence, bo->u.slab.fences[0])
742 struct radeon_slab *slab = CALLOC_STRUCT(radeon_slab); local
815 struct radeon_slab *slab = (struct radeon_slab *)pslab; local
    [all...]
  /external/mesa3d/src/gallium/drivers/nouveau/
nouveau_mm.c 53 mm_slab_alloc(struct mm_slab *slab)
57 if (slab->free == 0)
60 for (i = 0; i < (slab->count + 31) / 32; ++i) {
61 b = ffs(slab->bits[i]) - 1;
64 assert(n < slab->count);
65 slab->free--;
66 slab->bits[i] &= ~(1 << b);
74 mm_slab_free(struct mm_slab *slab, int i)
76 assert(i < slab->count);
77 slab->bits[i / 32] |= 1 << (i % 32)
123 struct mm_slab *slab; local
168 struct mm_slab *slab; local
219 struct mm_slab *slab = (struct mm_slab *)alloc->priv; local
269 struct mm_slab *slab, *next; local
    [all...]
  /external/libchrome/base/process/
process_metrics.h 290 // Linux/Android/Chrome OS. Shmem/slab/gem_objects/gem_size are Chrome OS only.
347 int slab = 0; member in struct:base::SystemMemoryInfoKB
  /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;
471 slab->buffers = calloc(numBuffers, sizeof(*slab->buffers))
529 struct _WsbmSlab *slab = buf->parent; local
580 struct _WsbmSlab *slab; local
655 struct _WsbmSlab *slab; local
801 struct _WsbmSlab *slab; local
    [all...]
  /dalvik/dx/etc/
jasmin.jar 
  /prebuilts/tools/common/jasmin/
jasmin.jar 

Completed in 292 milliseconds