Home
last modified time | relevance | path

Searched refs:mem_heap (Results 1 – 5 of 5) sorted by relevance

/third_party/mesa3d/src/drm-shim/
Ddevice.c106 util_vma_heap_init(&shim_device.mem_heap, shim_page_size, in drm_shim_device_init()
289 bo->mem_addr = util_vma_heap_alloc(&shim_device.mem_heap, size, shim_page_size); in drm_shim_bo_init()
330 util_vma_heap_free(&shim_device.mem_heap, bo->mem_addr, bo->size); in drm_shim_bo_put()
Ddrm_shim.h46 struct util_vma_heap mem_heap; member
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_device.c1882 struct tu_memory_heap *mem_heap = &device->physical_device->heap; in tu_AllocateMemory() local
1883 uint64_t mem_heap_used = p_atomic_read(&mem_heap->used); in tu_AllocateMemory()
1884 if (mem_heap_used > mem_heap->size) in tu_AllocateMemory()
1922 mem_heap_used = p_atomic_add_return(&mem_heap->used, mem->bo.size); in tu_AllocateMemory()
1923 if (mem_heap_used > mem_heap->size) { in tu_AllocateMemory()
1924 p_atomic_add(&mem_heap->used, -mem->bo.size); in tu_AllocateMemory()
/third_party/jerryscript/tools/
Dbuild.py205 build_options_append('JERRY_GLOBAL_HEAP_SIZE', arguments.mem_heap)
/third_party/mesa3d/src/intel/vulkan/
Danv_device.c3631 struct anv_memory_heap *mem_heap = in anv_AllocateMemory() local
3634 uint64_t mem_heap_used = p_atomic_read(&mem_heap->used); in anv_AllocateMemory()
3635 if (mem_heap_used + aligned_alloc_size > mem_heap->size) in anv_AllocateMemory()
3847 mem_heap_used = p_atomic_add_return(&mem_heap->used, mem->bo->size); in anv_AllocateMemory()
3848 if (mem_heap_used > mem_heap->size) { in anv_AllocateMemory()
3849 p_atomic_add(&mem_heap->used, -mem->bo->size); in anv_AllocateMemory()