Lines Matching refs:heaps
347 } heaps; member
1538 mutex_lock(&vm->heaps.lock); in panthor_vm_destroy()
1539 panthor_heap_pool_destroy(vm->heaps.pool); in panthor_vm_destroy()
1540 vm->heaps.pool = NULL; in panthor_vm_destroy()
1541 mutex_unlock(&vm->heaps.lock); in panthor_vm_destroy()
1843 mutex_lock(&vm->heaps.lock); in panthor_vm_free()
1844 if (drm_WARN_ON(&ptdev->base, vm->heaps.pool)) in panthor_vm_free()
1845 panthor_heap_pool_destroy(vm->heaps.pool); in panthor_vm_free()
1846 mutex_unlock(&vm->heaps.lock); in panthor_vm_free()
1847 mutex_destroy(&vm->heaps.lock); in panthor_vm_free()
1925 mutex_lock(&vm->heaps.lock); in panthor_vm_get_heap_pool()
1926 if (!vm->heaps.pool && create) { in panthor_vm_get_heap_pool()
1933 vm->heaps.pool = panthor_heap_pool_get(pool); in panthor_vm_get_heap_pool()
1935 pool = panthor_heap_pool_get(vm->heaps.pool); in panthor_vm_get_heap_pool()
1939 mutex_unlock(&vm->heaps.lock); in panthor_vm_get_heap_pool()
2287 mutex_init(&vm->heaps.lock); in panthor_vm_create()