Searched refs:wall_clock (Results 1 – 5 of 5) sorted by relevance
/arch/x86/kernel/ |
D | pvclock.c | 118 void pvclock_read_wallclock(struct pvclock_wall_clock *wall_clock, in pvclock_read_wallclock() argument 128 version = wall_clock->version; in pvclock_read_wallclock() 130 now.tv_sec = wall_clock->sec; in pvclock_read_wallclock() 131 now.tv_nsec = wall_clock->nsec; in pvclock_read_wallclock() 133 } while ((wall_clock->version & 1) || (version != wall_clock->version)); in pvclock_read_wallclock()
|
D | kvmclock.c | 44 static struct pvclock_wall_clock wall_clock; variable 57 low = (int)__pa_symbol(&wall_clock); in kvm_get_wallclock() 58 high = ((u64)__pa_symbol(&wall_clock) >> 32); in kvm_get_wallclock() 66 pvclock_read_wallclock(&wall_clock, vcpu_time, now); in kvm_get_wallclock()
|
/arch/x86/xen/ |
D | time.c | 175 struct pvclock_wall_clock *wall_clock = &(s->wc); in xen_read_wallclock() local 179 pvclock_read_wallclock(wall_clock, vcpu_time, ts); in xen_read_wallclock()
|
/arch/x86/kvm/ |
D | x86.c | 1083 static void kvm_write_wall_clock(struct kvm *kvm, gpa_t wall_clock) in kvm_write_wall_clock() argument 1090 if (!wall_clock) in kvm_write_wall_clock() 1093 r = kvm_read_guest(kvm, wall_clock, &version, sizeof(version)); in kvm_write_wall_clock() 1102 kvm_write_guest(kvm, wall_clock, &version, sizeof(version)); in kvm_write_wall_clock() 1120 kvm_write_guest(kvm, wall_clock, &wc, sizeof(wc)); in kvm_write_wall_clock() 1123 kvm_write_guest(kvm, wall_clock, &version, sizeof(version)); in kvm_write_wall_clock() 2154 vcpu->kvm->arch.wall_clock = data; in kvm_set_msr_common() 2539 data = vcpu->kvm->arch.wall_clock; in kvm_get_msr_common()
|
/arch/x86/include/asm/ |
D | kvm_host.h | 581 gpa_t wall_clock; member
|