Home
last modified time | relevance | path

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

/external/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()
75 pb_slabs_reclaim_locked(struct pb_slabs *slabs) in pb_slabs_reclaim_locked() argument
77 while (!list_is_empty(&slabs->reclaim)) { in pb_slabs_reclaim_locked()
79 LIST_ENTRY(struct pb_slab_entry, slabs->reclaim.next, head); in pb_slabs_reclaim_locked()
81 if (!slabs->can_reclaim(slabs->priv, entry)) in pb_slabs_reclaim_locked()
84 pb_slab_reclaim(slabs, entry); in pb_slabs_reclaim_locked()
[all …]
Dpb_slab.h135 pb_slab_alloc(struct pb_slabs *slabs, unsigned size, unsigned heap);
138 pb_slab_free(struct pb_slabs* slabs, struct pb_slab_entry *entry);
141 pb_slabs_reclaim(struct pb_slabs *slabs);
144 pb_slabs_init(struct pb_slabs *slabs,
153 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()
/external/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
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.c633 struct pb_slabs *slabs = &bo_slabs[i]; in get_slabs() local
635 if (size <= 1 << (slabs->min_order + slabs->num_orders - 1)) in get_slabs()
636 return slabs; in get_slabs()
682 struct pb_slabs *slabs = ((flags & RADEON_FLAG_ENCRYPTED) && ws->info.has_tmz_support) ? in amdgpu_bo_slab_alloc() local
687 unsigned max_entry_size = 1 << (slabs[i].min_order + slabs[i].num_orders - 1); in amdgpu_bo_slab_alloc()
1301 struct pb_slabs *slabs = ((flags & RADEON_FLAG_ENCRYPTED) && ws->info.has_tmz_support) ? in amdgpu_bo_create() local
1303 struct pb_slabs *last_slab = &slabs[NUM_SLAB_ALLOCATORS - 1]; in amdgpu_bo_create()
1311 alignment <= MAX2(1 << slabs[0].min_order, util_next_power_of_two(size))) { in amdgpu_bo_create()
1318 struct pb_slabs *slabs = get_slabs(ws, size, flags); in amdgpu_bo_create() local
1319 entry = pb_slab_alloc(slabs, size, heap); in amdgpu_bo_create()
[all …]
/external/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
D20.2.0.rst3709 - amdgpu: add encrypted slabs support
/external/bc/include/
Dvm.h761 BcVec slabs; member
/external/mesa3d/src/amd/vulkan/
Dradv_shader.h413 struct list_head slabs; member
Dradv_shader.c788 list_for_each_entry(struct radv_shader_slab, slab, &device->shader_slabs, slabs) { in radv_alloc_shader_memory()
834 list_add(&slab->slabs, &device->shader_slabs); in radv_alloc_shader_memory()
846 list_for_each_entry_safe(struct radv_shader_slab, slab, &device->shader_slabs, slabs) { in radv_destroy_shader_slabs()
Dradv_debug.c796 list_for_each_entry(struct radv_shader_slab, slab, &device->shader_slabs, slabs) { in radv_get_faulty_shader()
/external/bc/src/
Dvm.c675 bc_slabvec_free(&vm->slabs);
1607 bc_slabvec_init(&vm->slabs);
Dvector.c452 id.name = bc_slabvec_strdup(&vm->slabs, name); in bc_map_insert()
/external/bc/manuals/
Ddevelopment.md1514 slabs.
2177 : Tests string allocation in slabs, to ensure slabs work.
3812 These vectors allocate what I call "slabs," which are just an allocation of a
3815 The vector itself holds slabs, and when the slab vector is asked to allocate a
5182 [187]: #slabs-and-slab-vectors
/external/libtextclassifier/native/annotator/pod_ner/test_data/
Dvocab.txt28762 slabs
/external/kotlinx.coroutines/benchmarks/src/jmh/resources/
Dospd.txt.gz
/external/libbpf/.github/actions/build-selftests/
Dvmlinux.h39975 int slabs; member
/external/cldr/tools/cldr-code/src/main/resources/org/unicode/cldr/util/data/transforms/
Dinternal_raw_IPA-old.txt180236 slabs %25839 slæbz
Dinternal_raw_IPA.txt150947 slabs %34464 slæbz