Lines Matching defs:stolen
254 * We use the vcpu_load/put functions to measure stolen time.
264 * as stolen time.
266 * Hence we accumulate stolen time when the vcpu can run as part of
267 * a vcore using vc->stolen_tb, and the stolen time when the vcpu
270 * stolen time for a vcore when it is inactive, or for a vcpu
278 * stolen.
282 * lock. The stolen times are measured in units of timebase ticks.
289 * the stolen cycles in busy_stolen. RUNNING is not a preemptible
366 * Account stolen time when preempted while the vcpu task is
719 * Return the accumulated stolen time for the vcore up until `now'.
741 unsigned long stolen)
753 dt->enqueue_to_dispatch_time = cpu_to_be32(stolen);
776 unsigned long stolen;
788 stolen = core_stolen - vcpu->arch.stolen_logged;
791 stolen += vcpu->arch.busy_stolen;
795 vpa->enqueue_dispatch_tb = cpu_to_be64(be64_to_cpu(vpa->enqueue_dispatch_tb) + stolen);
797 __kvmppc_create_dtl_entry(vcpu, vpa, vc->pcpu, now + vc->tb_offset, stolen);
807 unsigned long stolen;
814 stolen = vc->stolen_tb;
815 stolen_delta = stolen - vcpu->arch.stolen_logged;
816 vcpu->arch.stolen_logged = stolen;
818 vpa->enqueue_dispatch_tb = cpu_to_be64(stolen);
3391 /* Start accumulating stolen time */