Searched refs:slab_size (Results 1 – 9 of 9) sorted by relevance
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_mempool.c | 49 if (pool->bo_pool && bo_sz == pool->base.slab_size && in panvk_pool_alloc_backing() 64 if (bo->size == pool->base.slab_size) in panvk_pool_alloc_backing() 84 if (unlikely(bo == NULL || (offset + sz) >= pool->base.slab_size)) { in panvk_pool_alloc_aligned() 86 ALIGN_POT(MAX2(pool->base.slab_size, sz), in panvk_pool_alloc_aligned() 105 unsigned create_flags, size_t slab_size, const char *label, in PAN_POOL_ALLOCATOR() 109 pan_pool_init(&pool->base, dev, create_flags, slab_size, label); in PAN_POOL_ALLOCATOR() 116 panvk_pool_alloc_backing(pool, pool->base.slab_size); in PAN_POOL_ALLOCATOR()
|
D | panvk_mempool.h | 78 size_t slab_size, const char *label, bool prealloc);
|
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
D | pan_mempool.c | 72 unsigned create_flags, size_t slab_size, const char *label, in panfrost_pool_init() argument 76 pan_pool_init(&pool->base, dev, create_flags, slab_size, label); in panfrost_pool_init() 83 panfrost_pool_alloc_backing(pool, pool->base.slab_size); in panfrost_pool_init() 154 if (unlikely(bo == NULL || (offset + sz) >= pool->base.slab_size)) { in panfrost_pool_alloc_aligned() 156 ALIGN_POT(MAX2(pool->base.slab_size, sz), 4096)); in panfrost_pool_alloc_aligned()
|
D | pan_mempool.h | 85 size_t slab_size, const char *label, bool prealloc, bool
|
/third_party/mesa3d/src/panfrost/lib/ |
D | pan_pool.h | 47 size_t slab_size; member 52 unsigned create_flags, size_t slab_size, const char *label) in pan_pool_init() argument 56 pool->slab_size = slab_size; in pan_pool_init()
|
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
D | amdgpu_bo.c | 714 unsigned slab_size = 0; in amdgpu_bo_slab_alloc() local 725 slab_size = max_entry_size * 2; in amdgpu_bo_slab_alloc() 738 if (entry_size * 5 > slab_size) in amdgpu_bo_slab_alloc() 739 slab_size = util_next_power_of_two(entry_size * 5); in amdgpu_bo_slab_alloc() 746 slab_size < ws->info.pte_fragment_size) in amdgpu_bo_slab_alloc() 747 slab_size = ws->info.pte_fragment_size; in amdgpu_bo_slab_alloc() 751 assert(slab_size != 0); in amdgpu_bo_slab_alloc() 754 slab_size, slab_size, in amdgpu_bo_slab_alloc() 759 slab_size = slab->buffer->base.size; in amdgpu_bo_slab_alloc() 761 slab->base.num_entries = slab_size / entry_size; in amdgpu_bo_slab_alloc() [all …]
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_bo.c | 175 ASSERTED unsigned slab_size = slab->buffer->base.size; in bo_slab_free() local 177 assert(slab->base.num_entries * slab->entry_size <= slab_size); in bo_slab_free() 1169 unsigned slab_size = 0; in bo_slab_alloc() local 1185 slab_size = max_entry_size * 2; in bo_slab_alloc() 1198 if (entry_size * 5 > slab_size) in bo_slab_alloc() 1199 slab_size = util_next_power_of_two(entry_size * 5); in bo_slab_alloc() 1205 assert(slab_size != 0); in bo_slab_alloc() 1207 slab->buffer = zink_bo(zink_bo_create(screen, slab_size, slab_size, heap, 0, NULL)); in bo_slab_alloc() 1211 slab_size = slab->buffer->base.size; in bo_slab_alloc() 1213 slab->base.num_entries = slab_size / entry_size; in bo_slab_alloc() [all …]
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_bufmgr.c | 664 unsigned slab_size = 0; in iris_slab_alloc() local 680 slab_size = max_entry_size * 2; in iris_slab_alloc() 696 if (entry_size * 5 > slab_size) in iris_slab_alloc() 697 slab_size = util_next_power_of_two(entry_size * 5); in iris_slab_alloc() 707 if (i == NUM_SLAB_ALLOCATORS - 1 && slab_size < pte_size) in iris_slab_alloc() 708 slab_size = pte_size; in iris_slab_alloc() 713 assert(slab_size != 0); in iris_slab_alloc() 716 iris_bo_alloc(bufmgr, "slab", slab_size, slab_size, memzone, flags); in iris_slab_alloc() 720 slab_size = slab->bo->size; in iris_slab_alloc() 722 slab->base.num_entries = slab_size / entry_size; in iris_slab_alloc()
|
/third_party/libbpf/.github/actions/build-selftests/ |
D | vmlinux.h | 56484 unsigned int slab_size; member
|