Lines Matching refs:halt_poll_ns
80 unsigned int halt_poll_ns = KVM_HALT_POLL_NS_DEFAULT;
81 module_param(halt_poll_ns, uint, 0644);
82 EXPORT_SYMBOL_GPL(halt_poll_ns);
84 /* Default doubles per-vcpu halt_poll_ns. */
89 /* The start value to grow halt_poll_ns from */
94 /* Default resets per-vcpu halt_poll_ns . */
3702 old = val = vcpu->halt_poll_ns;
3712 vcpu->halt_poll_ns = val;
3721 old = val = vcpu->halt_poll_ns;
3732 vcpu->halt_poll_ns = val;
3830 return READ_ONCE(halt_poll_ns);
3848 if (vcpu->halt_poll_ns > max_halt_poll_ns)
3849 vcpu->halt_poll_ns = max_halt_poll_ns;
3851 do_halt_poll = halt_poll_allowed && vcpu->halt_poll_ns;
3855 ktime_t stop = ktime_add_ns(start, vcpu->halt_poll_ns);
3893 if (halt_ns <= vcpu->halt_poll_ns)
3896 else if (vcpu->halt_poll_ns &&
3900 else if (vcpu->halt_poll_ns < max_halt_poll_ns &&
3904 vcpu->halt_poll_ns = 0;