Home
last modified time | relevance | path

Searched refs:slots_arch_lock (Results 1 – 4 of 4) sorted by relevance

/linux-6.3-rc2/Documentation/virt/kvm/
A Dlocking.rst23 use the same memslots array. kvm->slots_lock and kvm->slots_arch_lock
25 must not take either kvm->slots_lock or kvm->slots_arch_lock.
37 - kvm->slots_arch_lock instead is released before the call to
271 ``kvm->slots_arch_lock``
/linux-6.3-rc2/virt/kvm/
A Dkvm_main.c1141 mutex_init(&kvm->slots_arch_lock); in kvm_create_vm()
1565 mutex_unlock(&kvm->slots_arch_lock); in kvm_swap_active_memslots()
1746 mutex_lock(&kvm->slots_arch_lock); in kvm_invalidate_memslot()
1826 mutex_lock(&kvm->slots_arch_lock); in kvm_set_memslot()
1844 mutex_unlock(&kvm->slots_arch_lock); in kvm_set_memslot()
1862 mutex_unlock(&kvm->slots_arch_lock); in kvm_set_memslot()
/linux-6.3-rc2/include/linux/
A Dkvm_host.h718 struct mutex slots_arch_lock; member
/linux-6.3-rc2/arch/x86/kvm/mmu/
A Dmmu.c3678 mutex_lock(&kvm->slots_arch_lock); in mmu_first_shadow_root_alloc()
3722 mutex_unlock(&kvm->slots_arch_lock); in mmu_first_shadow_root_alloc()

Completed in 31 milliseconds