Home
last modified time | relevance | path

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

/linux/Documentation/virt/kvm/
H A Dlocking.rst20 - vcpu->mutex is taken outside kvm->slots_lock and kvm->slots_arch_lock
27 use the same memslots array. kvm->slots_lock and kvm->slots_arch_lock
29 must not take either kvm->slots_lock or kvm->slots_arch_lock.
48 - kvm->slots_arch_lock instead is released before the call to
289 ``kvm->slots_arch_lock``
/linux/arch/x86/kvm/mmu/
H A Dpage_track.c200 mutex_lock(&kvm->slots_arch_lock); in kvm_enable_external_write_tracking()
234 mutex_unlock(&kvm->slots_arch_lock); in kvm_enable_external_write_tracking()
H A Dmmu.c2463 * i.e. reaching this point is fully serialized by slots_arch_lock. in kvm_mmu_child_role()
4131 mutex_lock(&kvm->slots_arch_lock); in mmu_first_shadow_root_alloc()
4179 mutex_unlock(&kvm->slots_arch_lock); in mmu_alloc_shadow_roots()
/linux/virt/kvm/
H A Dkvm_main.c1133 mutex_init(&kvm->slots_arch_lock); in kvm_create_vm()
1657 * acquiring the slots_arch_lock in an srcu critical section. in kvm_swap_active_memslots()
1659 mutex_unlock(&kvm->slots_arch_lock); in kvm_swap_active_memslots()
1855 mutex_lock(&kvm->slots_arch_lock); in kvm_delete_memslot()
1860 * slots_arch_lock in kvm_swap_active_memslots() and re-acquiring the lock in kvm_delete_memslot()
1862 * slots_arch_lock, thus the active slot's data is guaranteed to be fresh. in kvm_delete_memslot()
1935 mutex_lock(&kvm->slots_arch_lock); in kvm_set_memslot()
1953 mutex_unlock(&kvm->slots_arch_lock); in kvm_set_memslot()
1995 * No need to refresh new->arch, changes after dropping slots_arch_lock in kvm_check_memslot_overlap()
2007 * Changing the active memslots also release slots_arch_lock in kvm_set_memory_region()
[all...]
/linux/arch/s390/kvm/s390/
H A Ds390.c1196 * kvm->slots_arch_lock to avoid races with ourselves,
1242 * Must be called with kvm->slots_arch_lock to avoid races with ourselves,
1278 guard(mutex)(&kvm->slots_arch_lock); in kvm_s390_vm_set_migration()
2979 scoped_guard(mutex, &kvm->slots_arch_lock) in kvm_arch_vm_ioctl()
2994 mutex_lock(&kvm->slots_arch_lock); in kvm_arch_vm_ioctl()
2996 mutex_unlock(&kvm->slots_arch_lock); in kvm_arch_vm_ioctl()
/linux/include/linux/
H A Dkvm_host.h773 struct mutex slots_arch_lock;
786 struct mutex slots_arch_lock; global() member