Home
last modified time | relevance | path

Searched refs:pb_slabs (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_slab.h53 struct pb_slabs;
113 struct pb_slabs struct
138 pb_slab_alloc_reclaimed(struct pb_slabs *slabs, unsigned size, unsigned heap, bool reclaim_all); argument
141 pb_slab_alloc(struct pb_slabs *slabs, unsigned size, unsigned heap);
144 pb_slab_free(struct pb_slabs* slabs, struct pb_slab_entry *entry);
147 pb_slabs_reclaim(struct pb_slabs *slabs);
150 pb_slabs_init(struct pb_slabs *slabs,
159 pb_slabs_deinit(struct pb_slabs *slabs);
Dpb_slab.c54 pb_slab_reclaim(struct pb_slabs *slabs, struct pb_slab_entry *entry) in pb_slab_reclaim()
77 pb_slabs_reclaim_locked(struct pb_slabs *slabs) in pb_slabs_reclaim_locked()
99 pb_slabs_reclaim_all_locked(struct pb_slabs *slabs) in pb_slabs_reclaim_all_locked()
119 pb_slab_alloc_reclaimed(struct pb_slabs *slabs, unsigned size, unsigned heap, bool reclaim_all) in pb_slab_alloc_reclaimed()
193 pb_slab_alloc(struct pb_slabs *slabs, unsigned size, unsigned heap) in pb_slab_alloc()
205 pb_slab_free(struct pb_slabs* slabs, struct pb_slab_entry *entry) in pb_slab_free()
219 pb_slabs_reclaim(struct pb_slabs *slabs) in pb_slabs_reclaim()
234 pb_slabs_init(struct pb_slabs *slabs, in pb_slabs_init()
283 pb_slabs_deinit(struct pb_slabs *slabs) in pb_slabs_deinit()
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_winsys.h59 struct pb_slabs bo_slabs;
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_winsys.h66 struct pb_slabs bo_slabs[NUM_SLAB_ALLOCATORS];
Damdgpu_bo.c639 static struct pb_slabs *get_slabs(struct amdgpu_winsys *ws, uint64_t size) in get_slabs()
643 struct pb_slabs *slabs = &ws->bo_slabs[i]; in get_slabs()
666 struct pb_slabs *slabs; in amdgpu_bo_slab_destroy()
1355 struct pb_slabs *last_slab = &ws->bo_slabs[NUM_SLAB_ALLOCATORS - 1]; in amdgpu_bo_create()
1384 struct pb_slabs *slabs = get_slabs(ws, alloc_size); in amdgpu_bo_create()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_bo.c84 static struct pb_slabs *
90 struct pb_slabs *bo_slabs = screen->pb.bo_slabs; in get_slabs()
93 struct pb_slabs *slabs = &bo_slabs[i]; in get_slabs()
561 struct pb_slabs *slabs = screen->pb.bo_slabs; in zink_bo_create()
563 struct pb_slabs *last_slab = &slabs[NUM_SLAB_ALLOCATORS - 1]; in zink_bo_create()
596 struct pb_slabs *slabs = get_slabs(screen, alloc_size, flags); in zink_bo_create()
1177 struct pb_slabs *slabs = screen->pb.bo_slabs; in bo_slab_alloc()
Dzink_screen.h136 struct pb_slabs bo_slabs[NUM_SLAB_ALLOCATORS];
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_bufmgr.c245 struct pb_slabs bo_slabs[NUM_SLAB_ALLOCATORS];
574 static struct pb_slabs *
578 struct pb_slabs *slabs = &bufmgr->bo_slabs[i]; in get_slabs()
671 struct pb_slabs *slabs = bufmgr->bo_slabs; in iris_slab_alloc()
786 struct pb_slabs *last_slab = &bufmgr->bo_slabs[NUM_SLAB_ALLOCATORS - 1]; in alloc_bo_from_slabs()
820 struct pb_slabs *slabs = get_slabs(bufmgr, alloc_size); in alloc_bo_from_slabs()