Home
last modified time | relevance | path

Searched refs:steal (Results 1 – 10 of 10) sorted by relevance

/arch/arm64/kvm/
Dpvtime.c16 u64 base = vcpu->arch.steal.base; in kvm_update_stolen_time()
17 u64 last_steal = vcpu->arch.steal.last_steal; in kvm_update_stolen_time()
19 u64 steal = 0; in kvm_update_stolen_time() local
26 if (!kvm_get_guest(kvm, base + offset, steal)) { in kvm_update_stolen_time()
27 steal = le64_to_cpu(steal); in kvm_update_stolen_time()
28 vcpu->arch.steal.last_steal = READ_ONCE(current->sched_info.run_delay); in kvm_update_stolen_time()
29 steal += vcpu->arch.steal.last_steal - last_steal; in kvm_update_stolen_time()
30 kvm_put_guest(kvm, base + offset, cpu_to_le64(steal)); in kvm_update_stolen_time()
43 if (vcpu->arch.steal.base != GPA_INVALID) in kvm_hypercall_pv_features()
55 u64 base = vcpu->arch.steal.base; in kvm_init_stolen_time()
[all …]
/arch/x86/kernel/cpu/
Dvmware.c219 struct vmware_steal_time *steal = &per_cpu(vmw_steal_time, cpu); in vmware_steal_clock() local
223 clock = READ_ONCE(steal->clock); in vmware_steal_clock()
228 initial_high = READ_ONCE(steal->clock_high); in vmware_steal_clock()
231 low = READ_ONCE(steal->clock_low); in vmware_steal_clock()
234 high = READ_ONCE(steal->clock_high); in vmware_steal_clock()
/arch/s390/kernel/
Dvtime.c211 u64 steal, avg_steal; in vtime_flush() local
216 steal = S390_lowcore.steal_timer; in vtime_flush()
218 if ((s64) steal > 0) { in vtime_flush()
220 account_steal_time(cputime_to_nsecs(steal)); in vtime_flush()
221 avg_steal += steal; in vtime_flush()
/arch/x86/include/uapi/asm/
Dkvm_para.h59 __u64 steal; member
/arch/x86/kernel/
Dkvm.c428 u64 steal; in kvm_steal_clock() local
436 steal = src->steal; in kvm_steal_clock()
440 return steal; in kvm_steal_clock()
/arch/arm64/include/asm/
Dkvm_host.h375 } steal; member
689 vcpu_arch->steal.base = GPA_INVALID; in kvm_arm_pvtime_vcpu_init()
694 return (vcpu_arch->steal.base != GPA_INVALID); in kvm_arm_is_pvtime_enabled()
/arch/x86/kvm/
Dx86.c3035 u64 steal; in record_steal_time() local
3107 unsafe_get_user(steal, &st->steal, out); in record_steal_time()
3108 steal += current->sched_info.run_delay - in record_steal_time()
3111 unsafe_put_user(steal, &st->steal, out); in record_steal_time()
/arch/arm/
DKconfig1627 bool "Paravirtual steal time accounting"
1630 Select this option to enable fine granularity task steal time
/arch/arm64/
DKconfig1191 bool "Paravirtual steal time accounting"
1194 Select this option to enable fine granularity task steal time
/arch/x86/
DKconfig833 bool "Paravirtual steal time accounting"
836 Select this option to enable fine granularity task steal time