Home
last modified time | relevance | path

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

/Linux-v5.15/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.
/Linux-v5.15/virt/kvm/
Dkvm_main.c1042 mutex_init(&kvm->slots_arch_lock); in kvm_create_vm()
1461 mutex_unlock(&kvm->slots_arch_lock); in install_new_memslots()
1548 mutex_lock(&kvm->slots_arch_lock); in kvm_set_memslot()
1552 mutex_unlock(&kvm->slots_arch_lock); in kvm_set_memslot()
1581 mutex_lock(&kvm->slots_arch_lock); in kvm_set_memslot()
1610 mutex_unlock(&kvm->slots_arch_lock); in kvm_set_memslot()
/Linux-v5.15/include/linux/
Dkvm_host.h553 struct mutex slots_arch_lock; member
/Linux-v5.15/arch/x86/kvm/
Dx86.c11446 mutex_lock(&kvm->slots_arch_lock); in alloc_all_memslots_rmaps()
11453 mutex_unlock(&kvm->slots_arch_lock); in alloc_all_memslots_rmaps()
11462 mutex_unlock(&kvm->slots_arch_lock); in alloc_all_memslots_rmaps()
11473 mutex_unlock(&kvm->slots_arch_lock); in alloc_all_memslots_rmaps()