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
770 * Return the accumulated stolen time for the vcore up until `now'.
792 unsigned long stolen)
804 dt->enqueue_to_dispatch_time = cpu_to_be32(stolen);
827 unsigned long stolen;
839 stolen = core_stolen - vcpu->arch.stolen_logged;
842 stolen += vcpu->arch.busy_stolen;
846 vpa->enqueue_dispatch_tb = cpu_to_be64(be64_to_cpu(vpa->enqueue_dispatch_tb) + stolen);
848 __kvmppc_create_dtl_entry(vcpu, vpa, vc->pcpu, now + kvmppc_get_tb_offset(vcpu), stolen);
858 unsigned long stolen;
865 stolen = vc->stolen_tb;
866 stolen_delta = stolen - vcpu->arch.stolen_logged;
867 vcpu->arch.stolen_logged = stolen;
869 vpa->enqueue_dispatch_tb = cpu_to_be64(stolen);
3456 /* Start accumulating stolen time */