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(list, struct pb_slab, head); in pb_slab_manager_create_buffer()
Dpb_slab.c56 struct pb_slab *slab = entry->slab; in pb_slab_reclaim()
124 struct pb_slab *slab; in pb_slab_alloc_reclaimed()
150 list_is_empty(&list_entry(group->slabs.next, struct pb_slab, head)->free)) { in pb_slab_alloc_reclaimed()
159 slab = list_entry(group->slabs.next, struct pb_slab, head); in pb_slab_alloc_reclaimed()
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.h114 struct pb_slab base;
135 struct pb_slab *amdgpu_bo_slab_alloc(void *priv, unsigned heap, unsigned entry_size,
137 void amdgpu_bo_slab_free(struct amdgpu_winsys *ws, struct pb_slab *slab);
146 struct amdgpu_slab *amdgpu_slab(struct pb_slab *slab) in amdgpu_slab()
Damdgpu_bo.c706 struct pb_slab *amdgpu_bo_slab_alloc(void *priv, unsigned heap, unsigned entry_size, in amdgpu_bo_slab_alloc()
814 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.c769 struct pb_slab *radeon_bo_slab_alloc(void *priv, unsigned heap, in radeon_bo_slab_alloc()
828 void radeon_bo_slab_free(void *priv, struct pb_slab *pslab) in radeon_bo_slab_free()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.h528 struct pb_slab *si_bindless_descriptor_slab_alloc(void *priv, unsigned heap, unsigned entry_size,
530 void si_bindless_descriptor_slab_free(void *priv, struct pb_slab *pslab);
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_bo.c71 struct pb_slab base;
79 zink_slab(struct pb_slab *pslab) in zink_slab()
172 bo_slab_free(struct zink_screen *screen, struct pb_slab *pslab) in bo_slab_free()
1164 static struct pb_slab *
1261 static struct pb_slab *
/third_party/mesa3d/src/gallium/auxiliary/
Dmeson.build137 'pipebuffer/pb_slab.c',
138 'pipebuffer/pb_slab.h',
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_bufmgr.c175 struct pb_slab base;
618 iris_slab_free(void *priv, struct pb_slab *pslab) in iris_slab_free()
654 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.gni1737 "../src/gallium/auxiliary/pipebuffer/pb_slab.c",
1738 "../src/gallium/auxiliary/pipebuffer/pb_slab.h",