Home
last modified time | relevance | path

Searched refs:pre_pcpu (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/arch/x86/kvm/vmx/
Dvmx.c7307 if (!WARN_ON_ONCE(vcpu->pre_pcpu == -1)) { in __pi_post_block()
7308 spin_lock(&per_cpu(blocked_vcpu_on_cpu_lock, vcpu->pre_pcpu)); in __pi_post_block()
7310 spin_unlock(&per_cpu(blocked_vcpu_on_cpu_lock, vcpu->pre_pcpu)); in __pi_post_block()
7311 vcpu->pre_pcpu = -1; in __pi_post_block()
7341 if (!WARN_ON_ONCE(vcpu->pre_pcpu != -1)) { in pi_pre_block()
7342 vcpu->pre_pcpu = vcpu->cpu; in pi_pre_block()
7343 spin_lock(&per_cpu(blocked_vcpu_on_cpu_lock, vcpu->pre_pcpu)); in pi_pre_block()
7346 vcpu->pre_pcpu)); in pi_pre_block()
7347 spin_unlock(&per_cpu(blocked_vcpu_on_cpu_lock, vcpu->pre_pcpu)); in pi_pre_block()
7365 dest = cpu_physical_id(vcpu->pre_pcpu); in pi_pre_block()
[all …]
/Linux-v5.4/include/linux/
Dkvm_host.h275 int pre_pcpu; member
/Linux-v5.4/virt/kvm/
Dkvm_main.c338 vcpu->pre_pcpu = -1; in kvm_vcpu_init()