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.c220 struct vmware_steal_time *steal = &per_cpu(vmw_steal_time, cpu); in vmware_steal_clock() local
224 clock = READ_ONCE(steal->clock); in vmware_steal_clock()
229 initial_high = READ_ONCE(steal->clock_high); in vmware_steal_clock()
232 low = READ_ONCE(steal->clock_low); in vmware_steal_clock()
235 high = READ_ONCE(steal->clock_high); in vmware_steal_clock()
/arch/s390/kernel/
Dvtime.c208 u64 steal, avg_steal; in vtime_flush() local
213 steal = S390_lowcore.steal_timer; in vtime_flush()
215 if ((s64) steal > 0) { in vtime_flush()
217 account_steal_time(cputime_to_nsecs(steal)); in vtime_flush()
218 avg_steal += steal; in vtime_flush()
/arch/x86/include/uapi/asm/
Dkvm_para.h62 __u64 steal; member
/arch/x86/kernel/
Dkvm.c403 u64 steal; in kvm_steal_clock() local
411 steal = src->steal; in kvm_steal_clock()
415 return steal; in kvm_steal_clock()
/arch/arm64/include/asm/
Dkvm_host.h549 } steal; member
1025 vcpu_arch->steal.base = GPA_INVALID; in kvm_arm_pvtime_vcpu_init()
1030 return (vcpu_arch->steal.base != GPA_INVALID); in kvm_arm_is_pvtime_enabled()
/arch/x86/kvm/
Dx86.c3287 u64 steal; in record_steal_time() local
3364 unsafe_get_user(steal, &st->steal, out); in record_steal_time()
3365 steal += current->sched_info.run_delay - in record_steal_time()
3368 unsafe_put_user(steal, &st->steal, out); in record_steal_time()
/arch/arm/
DKconfig1579 bool "Paravirtual steal time accounting"
1582 Select this option to enable fine granularity task steal time
/arch/arm64/
DKconfig1290 bool "Paravirtual steal time accounting"
1293 Select this option to enable fine granularity task steal time
/arch/x86/
DKconfig835 bool "Paravirtual steal time accounting"
838 Select this option to enable fine granularity task steal time