Home
last modified time | relevance | path

Searched refs:tmp_vcpu (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/arch/riscv/kvm/
Daia_device.c17 struct kvm_vcpu *tmp_vcpu; in unlock_vcpus() local
20 tmp_vcpu = kvm_get_vcpu(kvm, vcpu_lock_idx); in unlock_vcpus()
21 mutex_unlock(&tmp_vcpu->mutex); in unlock_vcpus()
32 struct kvm_vcpu *tmp_vcpu; in lock_all_vcpus() local
35 kvm_for_each_vcpu(c, tmp_vcpu, kvm) { in lock_all_vcpus()
36 if (!mutex_trylock(&tmp_vcpu->mutex)) { in lock_all_vcpus()
/linux-6.6.21/arch/arm64/kvm/
Darm.c1640 struct kvm_vcpu *tmp_vcpu; in unlock_vcpus() local
1643 tmp_vcpu = kvm_get_vcpu(kvm, vcpu_lock_idx); in unlock_vcpus()
1644 mutex_unlock(&tmp_vcpu->mutex); in unlock_vcpus()
1658 struct kvm_vcpu *tmp_vcpu; in lock_all_vcpus() local
1670 kvm_for_each_vcpu(c, tmp_vcpu, kvm) { in lock_all_vcpus()
1671 if (!mutex_trylock(&tmp_vcpu->mutex)) { in lock_all_vcpus()