Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_slab.h52 struct pb_slab;
64 struct pb_slab *slab; /* the slab that contains this buffer */
74 struct pb_slab struct
93 typedef struct pb_slab *(slab_alloc_fn)(void *priv,
103 typedef void (slab_free_fn)(void *priv, struct pb_slab *);
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()
Dpb_slab.c56 struct pb_slab *slab = entry->slab; in pb_slab_reclaim()
113 struct pb_slab *slab; in pb_slab_alloc()
139 list_is_empty(&LIST_ENTRY(struct pb_slab, group->slabs.next, head)->free)) in pb_slab_alloc()
144 slab = LIST_ENTRY(struct pb_slab, group->slabs.next, head); in pb_slab_alloc()
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.h114 struct pb_slab base;
135 struct pb_slab *amdgpu_bo_slab_alloc_encrypted(void *priv, unsigned heap,
138 struct pb_slab *amdgpu_bo_slab_alloc_normal(void *priv, unsigned heap,
141 void amdgpu_bo_slab_free(struct amdgpu_winsys *ws, struct pb_slab *slab);
150 struct amdgpu_slab *amdgpu_slab(struct pb_slab *slab) in amdgpu_slab()
Damdgpu_bo.c702 static struct pb_slab *amdgpu_bo_slab_alloc(void *priv, unsigned heap, in amdgpu_bo_slab_alloc()
818 struct pb_slab *amdgpu_bo_slab_alloc_encrypted(void *priv, unsigned heap, in amdgpu_bo_slab_alloc_encrypted()
825 struct pb_slab *amdgpu_bo_slab_alloc_normal(void *priv, unsigned heap, in amdgpu_bo_slab_alloc_normal()
832 void amdgpu_bo_slab_free(struct amdgpu_winsys *ws, struct pb_slab *pslab) in amdgpu_bo_slab_free()
/third_party/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.c773 struct pb_slab *radeon_bo_slab_alloc(void *priv, unsigned heap, in radeon_bo_slab_alloc()
832 void radeon_bo_slab_free(void *priv, struct pb_slab *pslab) in radeon_bo_slab_free()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_bo.c65 struct pb_slab base;
73 zink_slab(struct pb_slab *pslab) in zink_slab()
156 bo_slab_free(struct zink_screen *screen, struct pb_slab *pslab) in bo_slab_free()
823 static struct pb_slab *
926 static struct pb_slab *
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.h518 struct pb_slab *si_bindless_descriptor_slab_alloc(void *priv, unsigned heap, unsigned entry_size,
520 void si_bindless_descriptor_slab_free(void *priv, struct pb_slab *pslab);
/third_party/mesa3d/src/gallium/auxiliary/
Dmeson.build141 'pipebuffer/pb_slab.c',
142 'pipebuffer/pb_slab.h',
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_bufmgr.c182 struct pb_slab base;
589 iris_slab_free(void *priv, struct pb_slab *pslab) in iris_slab_free()
618 static struct pb_slab *
/third_party/mesa3d/docs/relnotes/
D21.3.0.rst2359 - iris: Suballocate BO using the Gallium pb_slab mechanism
2747 - gallium/pb_slab: use simple_mtx_t
D21.1.0.rst3400 - winsys/amdgpu,pb_slab: add slabs with 3/4 of power of two sizes to save memory
/third_party/mesa3d/ohos/
Ddependency_inputs.gni1761 ../src/gallium/auxiliary/pipebuffer/pb_slab.c
1762 ../src/gallium/auxiliary/pipebuffer/pb_slab.h