Home
last modified time | relevance | path

Searched refs:mmu_lock (Results 1 – 6 of 6) sorted by relevance

/drivers/misc/habanalabs/common/mmu/
Dmmu.c84 mutex_init(&ctx->mmu_lock); in hl_mmu_ctx_init()
121 mutex_destroy(&ctx->mmu_lock); in hl_mmu_ctx_fini()
575 mutex_lock(&ctx->mmu_lock); in hl_mmu_get_tlb_info()
584 mutex_unlock(&ctx->mmu_lock); in hl_mmu_get_tlb_info()
/drivers/misc/habanalabs/common/
Dcommand_buffer.c65 mutex_lock(&ctx->mmu_lock); in cb_map_mem()
85 mutex_unlock(&ctx->mmu_lock); in cb_map_mem()
102 mutex_unlock(&ctx->mmu_lock); in cb_map_mem()
119 mutex_lock(&ctx->mmu_lock); in cb_unmap_mem()
131 mutex_unlock(&ctx->mmu_lock); in cb_unmap_mem()
Dmemory.c1185 mutex_lock(&ctx->mmu_lock); in map_device_va()
1189 mutex_unlock(&ctx->mmu_lock); in map_device_va()
1198 mutex_unlock(&ctx->mmu_lock); in map_device_va()
1333 mutex_lock(&ctx->mmu_lock); in unmap_device_va()
1347 mutex_unlock(&ctx->mmu_lock); in unmap_device_va()
2124 mutex_lock(&ctx->mmu_lock); in hl_vm_ctx_fini()
2130 mutex_unlock(&ctx->mmu_lock); in hl_vm_ctx_fini()
Dhabanalabs.h1404 struct mutex mmu_lock; member
/drivers/gpu/drm/i915/gvt/
Dkvmgt.c1809 write_lock(&kvm->mmu_lock); in kvmgt_page_track_add()
1818 write_unlock(&kvm->mmu_lock); in kvmgt_page_track_add()
1843 write_lock(&kvm->mmu_lock); in kvmgt_page_track_remove()
1852 write_unlock(&kvm->mmu_lock); in kvmgt_page_track_remove()
1878 write_lock(&kvm->mmu_lock); in kvmgt_page_track_flush_slot()
1887 write_unlock(&kvm->mmu_lock); in kvmgt_page_track_flush_slot()
/drivers/misc/habanalabs/gaudi/
Dgaudi.c8656 mutex_lock(&ctx->mmu_lock); in gaudi_internal_cb_pool_init()
8662 mutex_unlock(&ctx->mmu_lock); in gaudi_internal_cb_pool_init()
8691 mutex_lock(&ctx->mmu_lock); in gaudi_internal_cb_pool_fini()
8697 mutex_unlock(&ctx->mmu_lock); in gaudi_internal_cb_pool_fini()