Searched refs:mem_heap (Results 1 – 5 of 5) sorted by relevance
/third_party/mesa3d/src/drm-shim/ |
D | device.c | 108 util_vma_heap_init(&shim_device.mem_heap, shim_page_size, in drm_shim_device_init() 328 bo->mem_addr = util_vma_heap_alloc(&shim_device.mem_heap, size, shim_page_size); in drm_shim_bo_init() 373 util_vma_heap_free(&shim_device.mem_heap, bo->mem_addr, bo->size); in drm_shim_bo_put()
|
D | drm_shim.h | 49 struct util_vma_heap mem_heap; member
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_device.c | 2283 struct tu_memory_heap *mem_heap = &device->physical_device->heap; in tu_AllocateMemory() local 2284 uint64_t mem_heap_used = p_atomic_read(&mem_heap->used); in tu_AllocateMemory() 2285 if (mem_heap_used > mem_heap->size) in tu_AllocateMemory() 2323 mem_heap_used = p_atomic_add_return(&mem_heap->used, mem->bo->size); in tu_AllocateMemory() 2324 if (mem_heap_used > mem_heap->size) { in tu_AllocateMemory() 2325 p_atomic_add(&mem_heap->used, -mem->bo->size); in tu_AllocateMemory()
|
/third_party/jerryscript/tools/ |
D | build.py | 205 build_options_append('JERRY_GLOBAL_HEAP_SIZE', arguments.mem_heap)
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_device.c | 3799 struct anv_memory_heap *mem_heap = in anv_AllocateMemory() local 3802 uint64_t mem_heap_used = p_atomic_read(&mem_heap->used); in anv_AllocateMemory() 3803 if (mem_heap_used + aligned_alloc_size > mem_heap->size) in anv_AllocateMemory() 4020 mem_heap_used = p_atomic_add_return(&mem_heap->used, mem->bo->size); in anv_AllocateMemory() 4021 if (mem_heap_used > mem_heap->size) { in anv_AllocateMemory() 4022 p_atomic_add(&mem_heap->used, -mem->bo->size); in anv_AllocateMemory()
|