/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/ |
D | pb_slab.c | 49 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 …]
|
D | pb_slab.h | 138 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);
|
D | pb_bufmgr_slab.c | 124 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/ |
D | nine_helpers.c | 37 pool->slabs = REALLOC(pool->slabs, in nine_range_pool_more() 42 pool->free = pool->slabs[pool->num_slabs++] = r; in nine_range_pool_more()
|
D | nine_helpers.h | 175 struct nine_range **slabs; member
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_bo.c | 93 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/ |
D | iris_bufmgr.c | 578 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/ |
D | amdgpu_bo.c | 643 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/ |
D | 17.1.5.rst | 135 - winsys/radeon: only call pb_slabs_reclaim when slabs are actually
|
D | 13.0.0.rst | 290 buffer allocation from slabs
|
D | 20.1.0.rst | 3579 - radv: allocate larger shader memory slabs if needed 4084 - gallium/pipebuffer: Use persistent maps for slabs
|
D | 19.0.0.rst | 1747 - winsys/amdgpu: always reclaim/release slabs if there is not enough
|
D | 21.1.0.rst | 3398 - 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
|
D | 20.2.0.rst | 3709 - amdgpu: add encrypted slabs support
|
/third_party/rust/crates/regex/regex-capi/examples/ |
D | sherlock.txt | 6790 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/ |
D | sherlock.txt | 6790 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/ |
D | huge.txt | 6790 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/ |
D | sherlock.txt | 6790 bare slabs of marble. 9096 moments afterwards the clang of the two slabs of metal, told me
|
/third_party/libbpf/.github/actions/build-selftests/ |
D | vmlinux.h | 39975 int slabs; member
|