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(struct pb_slabs *slabs, unsigned size, unsigned heap); argument
141 pb_slab_free(struct pb_slabs* slabs, struct pb_slab_entry *entry);
144 pb_slabs_reclaim(struct pb_slabs *slabs);
147 pb_slabs_init(struct pb_slabs *slabs,
156 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()
108 pb_slab_alloc(struct pb_slabs *slabs, unsigned size, unsigned heap) in pb_slab_alloc()
184 pb_slab_free(struct pb_slabs* slabs, struct pb_slab_entry *entry) in pb_slab_free()
198 pb_slabs_reclaim(struct pb_slabs *slabs) in pb_slabs_reclaim()
213 pb_slabs_init(struct pb_slabs *slabs, in pb_slabs_init()
262 pb_slabs_deinit(struct pb_slabs *slabs) in pb_slabs_deinit()
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_winsys.h66 struct pb_slabs bo_slabs[NUM_SLAB_ALLOCATORS];
67 struct pb_slabs bo_slabs_encrypted[NUM_SLAB_ALLOCATORS];
Damdgpu_bo.c632 static struct pb_slabs *get_slabs(struct amdgpu_winsys *ws, uint64_t size, in get_slabs()
635 struct pb_slabs *bo_slabs = ((flags & RADEON_FLAG_ENCRYPTED) && ws->info.has_tmz_support) ? in get_slabs()
639 struct pb_slabs *slabs = &bo_slabs[i]; in get_slabs()
662 struct pb_slabs *slabs; in amdgpu_bo_slab_destroy()
720 struct pb_slabs *slabs = ((flags & RADEON_FLAG_ENCRYPTED) && ws->info.has_tmz_support) ? in amdgpu_bo_slab_alloc()
1377 struct pb_slabs *slabs = ((flags & RADEON_FLAG_ENCRYPTED) && ws->info.has_tmz_support) ? in amdgpu_bo_create()
1379 struct pb_slabs *last_slab = &slabs[NUM_SLAB_ALLOCATORS - 1]; in amdgpu_bo_create()
1413 struct pb_slabs *slabs = get_slabs(ws, alloc_size, flags); in amdgpu_bo_create()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_bo.c78 static struct pb_slabs *
84 struct pb_slabs *bo_slabs = screen->pb.bo_slabs; in get_slabs()
87 struct pb_slabs *slabs = &bo_slabs[i]; in get_slabs()
536 struct pb_slabs *slabs = screen->pb.bo_slabs; in zink_bo_create()
538 struct pb_slabs *last_slab = &slabs[NUM_SLAB_ALLOCATORS - 1]; in zink_bo_create()
571 struct pb_slabs *slabs = get_slabs(screen, alloc_size, flags); in zink_bo_create()
837 struct pb_slabs *slabs = screen->pb.bo_slabs; in bo_slab_alloc()
Dzink_screen.h103 struct pb_slabs bo_slabs[NUM_SLAB_ALLOCATORS];
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_winsys.h59 struct pb_slabs bo_slabs;
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_bufmgr.c241 struct pb_slabs bo_slabs[NUM_SLAB_ALLOCATORS];
545 static struct pb_slabs *
549 struct pb_slabs *slabs = &bufmgr->bo_slabs[i]; in get_slabs()
634 struct pb_slabs *slabs = bufmgr->bo_slabs; in iris_slab_alloc()
736 struct pb_slabs *last_slab = &bufmgr->bo_slabs[NUM_SLAB_ALLOCATORS - 1]; in alloc_bo_from_slabs()
771 struct pb_slabs *slabs = get_slabs(bufmgr, alloc_size); in alloc_bo_from_slabs()