Home
last modified time | relevance | path

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

/linux-6.1.9/Documentation/virt/kvm/
Dlocking.rst19 - Unlike kvm->slots_lock, kvm->slots_arch_lock is released before
20 synchronize_srcu(&kvm->srcu). Therefore kvm->slots_arch_lock
26 use the same memslots array. kvm->slots_lock and kvm->slots_arch_lock
28 must not take either kvm->slots_lock or kvm->slots_arch_lock.
264 ``kvm->slots_arch_lock``
/linux-6.1.9/virt/kvm/
Dkvm_main.c1149 mutex_init(&kvm->slots_arch_lock); in kvm_create_vm()
1573 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.1.9/include/linux/
Dkvm_host.h705 struct mutex slots_arch_lock; member
/linux-6.1.9/arch/x86/kvm/mmu/
Dmmu.c3608 mutex_lock(&kvm->slots_arch_lock); in mmu_first_shadow_root_alloc()
3652 mutex_unlock(&kvm->slots_arch_lock); in mmu_first_shadow_root_alloc()