Searched refs:mmu_lock (Results 1 – 6 of 6) sorted by relevance
84 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()
65 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()
1185 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()
1404 struct mutex mmu_lock; member
1809 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()
8656 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()