Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dkvm_host.h378 } spin_loop; member
2196 vcpu->spin_loop.in_spin_loop = val; in kvm_vcpu_set_in_spin_loop()
2200 vcpu->spin_loop.dy_eligible = val; in kvm_vcpu_set_dy_eligible()
/linux-6.6.21/virt/kvm/
Dkvm_main.c3731 eligible = !vcpu->spin_loop.in_spin_loop || in kvm_vcpu_eligible_for_directed_yield()
3732 vcpu->spin_loop.dy_eligible; in kvm_vcpu_eligible_for_directed_yield()
3734 if (vcpu->spin_loop.in_spin_loop) in kvm_vcpu_eligible_for_directed_yield()
3735 kvm_vcpu_set_dy_eligible(vcpu, !vcpu->spin_loop.dy_eligible); in kvm_vcpu_eligible_for_directed_yield()