Home
last modified time | relevance | path

Searched refs:slabs (Results 1 – 19 of 19) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_slab.c49 struct list_head slabs; member
54 pb_slab_reclaim(struct pb_slabs *slabs, struct pb_slab_entry *entry) in pb_slab_reclaim() argument
64 struct pb_slab_group *group = &slabs->groups[entry->group_index]; in pb_slab_reclaim()
65 list_addtail(&slab->head, &group->slabs); in pb_slab_reclaim()
70 slabs->slab_free(slabs->priv, slab); in pb_slab_reclaim()
77 pb_slabs_reclaim_locked(struct pb_slabs *slabs) in pb_slabs_reclaim_locked() argument
81 LIST_FOR_EACH_ENTRY_SAFE(entry, next, &slabs->reclaim, head) { in pb_slabs_reclaim_locked()
82 if (slabs->can_reclaim(slabs->priv, entry)) { in pb_slabs_reclaim_locked()
83 pb_slab_reclaim(slabs, entry); in pb_slabs_reclaim_locked()
99 pb_slabs_reclaim_all_locked(struct pb_slabs *slabs) in pb_slabs_reclaim_all_locked() argument
[all …]
Dpb_slab.h138 pb_slab_alloc_reclaimed(struct pb_slabs *slabs, unsigned size, unsigned heap, bool reclaim_all);
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_bufmgr_slab.c124 struct list_head slabs; member
208 list_addtail(&slab->head, &mgr->slabs); in pb_slab_buffer_destroy()
354 list_addtail(&slab->head, &mgr->slabs); in pb_slab_create()
396 if (mgr->slabs.next == &mgr->slabs) { in pb_slab_manager_create_buffer()
398 if (mgr->slabs.next == &mgr->slabs) { in pb_slab_manager_create_buffer()
405 list = mgr->slabs.next; in pb_slab_manager_create_buffer()
468 list_inithead(&mgr->slabs); in pb_slab_manager_create()
/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_helpers.c37 pool->slabs = REALLOC(pool->slabs, in nine_range_pool_more()
42 pool->free = pool->slabs[pool->num_slabs++] = r; in nine_range_pool_more()
Dnine_helpers.h175 struct nine_range **slabs; member
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_bo.c93 struct pb_slabs *slabs = &bo_slabs[i]; in get_slabs() local
95 if (size <= 1ULL << (slabs->min_order + slabs->num_orders - 1)) in get_slabs()
96 return slabs; in get_slabs()
561 struct pb_slabs *slabs = screen->pb.bo_slabs; in zink_bo_create() local
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() local
605 entry = pb_slab_alloc_reclaimed(slabs, alloc_size, heap, reclaim_all); in zink_bo_create()
610 entry = pb_slab_alloc_reclaimed(slabs, alloc_size, heap, true); in zink_bo_create()
1177 struct pb_slabs *slabs = screen->pb.bo_slabs; in bo_slab_alloc() local
1181 unsigned max_entry_size = 1 << (slabs[i].min_order + slabs[i].num_orders - 1); in bo_slab_alloc()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_bufmgr.c578 struct pb_slabs *slabs = &bufmgr->bo_slabs[i]; in get_slabs() local
580 if (size <= 1ull << (slabs->min_order + slabs->num_orders - 1)) in get_slabs()
581 return slabs; in get_slabs()
671 struct pb_slabs *slabs = bufmgr->bo_slabs; in iris_slab_alloc() local
676 1 << (slabs[i].min_order + slabs[i].num_orders - 1); in iris_slab_alloc()
820 struct pb_slabs *slabs = get_slabs(bufmgr, alloc_size); in alloc_bo_from_slabs() local
821 entry = pb_slab_alloc(slabs, alloc_size, heap); in alloc_bo_from_slabs()
824 pb_slabs_reclaim(slabs); in alloc_bo_from_slabs()
826 entry = pb_slab_alloc(slabs, alloc_size, heap); in alloc_bo_from_slabs()
857 pb_slab_free(slabs, &bo->slab.entry); in alloc_bo_from_slabs()
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.c643 struct pb_slabs *slabs = &ws->bo_slabs[i]; in get_slabs() local
645 if (size <= 1 << (slabs->min_order + slabs->num_orders - 1)) in get_slabs()
646 return slabs; in get_slabs()
666 struct pb_slabs *slabs; in amdgpu_bo_slab_destroy() local
670 slabs = get_slabs(ws, bo->base.size); in amdgpu_bo_slab_destroy()
677 pb_slab_free(slabs, &bo->u.slab.entry); in amdgpu_bo_slab_destroy()
1384 struct pb_slabs *slabs = get_slabs(ws, alloc_size); in amdgpu_bo_create() local
1385 entry = pb_slab_alloc(slabs, alloc_size, heap); in amdgpu_bo_create()
1390 entry = pb_slab_alloc(slabs, alloc_size, heap); in amdgpu_bo_create()
/third_party/mesa3d/docs/relnotes/
D17.1.5.rst135 - winsys/radeon: only call pb_slabs_reclaim when slabs are actually
D13.0.0.rst290 buffer allocation from slabs
D20.1.0.rst3579 - radv: allocate larger shader memory slabs if needed
4084 - gallium/pipebuffer: Use persistent maps for slabs
D19.0.0.rst1747 - winsys/amdgpu: always reclaim/release slabs if there is not enough
D21.1.0.rst3398 - winsys/amdgpu,radeonsi: add HUD counters for how much memory is wasted by slabs
3400 - winsys/amdgpu,pb_slab: add slabs with 3/4 of power of two sizes to save memory
D20.2.0.rst3709 - amdgpu: add encrypted slabs support
/third_party/rust/crates/regex/regex-capi/examples/
Dsherlock.txt6790 bare slabs of marble.
9096 moments afterwards the clang of the two slabs of metal, told me
/third_party/rust/crates/regex/bench/src/data/
Dsherlock.txt6790 bare slabs of marble.
9096 moments afterwards the clang of the two slabs of metal, told me
/third_party/rust/crates/memchr/bench/data/sherlock/
Dhuge.txt6790 bare slabs of marble.
9096 moments afterwards the clang of the two slabs of metal, told me
/third_party/rust/crates/aho-corasick/bench/data/
Dsherlock.txt6790 bare slabs of marble.
9096 moments afterwards the clang of the two slabs of metal, told me
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h39975 int slabs; member