Lines Matching defs: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 . */
3420 old = val = vcpu->halt_poll_ns;
3430 vcpu->halt_poll_ns = val;
3439 old = val = vcpu->halt_poll_ns;
3450 vcpu->halt_poll_ns = val;
3548 return READ_ONCE(halt_poll_ns);
3566 if (vcpu->halt_poll_ns > max_halt_poll_ns)
3567 vcpu->halt_poll_ns = max_halt_poll_ns;
3569 do_halt_poll = halt_poll_allowed && vcpu->halt_poll_ns;
3573 ktime_t stop = ktime_add_ns(start, vcpu->halt_poll_ns);
3611 if (halt_ns <= vcpu->halt_poll_ns)
3614 else if (vcpu->halt_poll_ns &&
3618 else if (vcpu->halt_poll_ns < max_halt_poll_ns &&
3622 vcpu->halt_poll_ns = 0;