Home
last modified time | relevance | path

Searched refs:pb_slab (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_slab.h51 struct pb_slab;
63 struct pb_slab *slab; /* the slab that contains this buffer */
72 struct pb_slab struct
91 typedef struct pb_slab *(slab_alloc_fn)(void *priv,
101 typedef void (slab_free_fn)(void *priv, struct pb_slab *);
Dpb_slab.c56 struct pb_slab *slab = entry->slab; in pb_slab_reclaim()
103 struct pb_slab *slab; in pb_slab_alloc()
118 list_is_empty(&LIST_ENTRY(struct pb_slab, group->slabs.next, head)->free)) in pb_slab_alloc()
123 slab = LIST_ENTRY(struct pb_slab, group->slabs.next, head); in pb_slab_alloc()
Dpb_bufmgr_slab.c50 struct pb_slab;
62 struct pb_slab *slab;
76 struct pb_slab struct
193 struct pb_slab *slab = buf->slab; in pb_slab_buffer_destroy()
296 struct pb_slab *slab; in pb_slab_create()
302 slab = CALLOC_STRUCT(pb_slab); in pb_slab_create()
373 struct pb_slab *slab; in pb_slab_manager_create_buffer()
406 slab = LIST_ENTRY(struct pb_slab, list, head); in pb_slab_manager_create_buffer()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.h122 struct pb_slab base;
141 struct pb_slab *amdgpu_bo_slab_alloc_encrypted(void *priv, unsigned heap,
144 struct pb_slab *amdgpu_bo_slab_alloc_normal(void *priv, unsigned heap,
147 void amdgpu_bo_slab_free(void *priv, struct pb_slab *slab);
156 struct amdgpu_slab *amdgpu_slab(struct pb_slab *slab) in amdgpu_slab()
Damdgpu_bo.c664 static struct pb_slab *amdgpu_bo_slab_alloc(void *priv, unsigned heap, in amdgpu_bo_slab_alloc()
756 struct pb_slab *amdgpu_bo_slab_alloc_encrypted(void *priv, unsigned heap, in amdgpu_bo_slab_alloc_encrypted()
763 struct pb_slab *amdgpu_bo_slab_alloc_normal(void *priv, unsigned heap, in amdgpu_bo_slab_alloc_normal()
770 void amdgpu_bo_slab_free(void *priv, struct pb_slab *pslab) in amdgpu_bo_slab_free()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_bo.h74 struct pb_slab base;
84 struct pb_slab *radeon_bo_slab_alloc(void *priv, unsigned heap,
87 void radeon_bo_slab_free(void *priv, struct pb_slab *slab);
Dradeon_drm_bo.c772 struct pb_slab *radeon_bo_slab_alloc(void *priv, unsigned heap, in radeon_bo_slab_alloc()
830 void radeon_bo_slab_free(void *priv, struct pb_slab *pslab) in radeon_bo_slab_free()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.h523 struct pb_slab *si_bindless_descriptor_slab_alloc(void *priv, unsigned heap, unsigned entry_size,
525 void si_bindless_descriptor_slab_free(void *priv, struct pb_slab *pslab);
/external/mesa3d/src/gallium/auxiliary/
DMakefile.sources122 pipebuffer/pb_slab.c \
123 pipebuffer/pb_slab.h \
Dmeson.build142 'pipebuffer/pb_slab.c',
143 'pipebuffer/pb_slab.h',