Home
last modified time | relevance | path

Searched refs:wall_clock (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/arch/x86/kernel/
Dpvclock.c124 void pvclock_read_wallclock(struct pvclock_wall_clock *wall_clock, in pvclock_read_wallclock() argument
134 version = wall_clock->version; in pvclock_read_wallclock()
143 now.tv_sec = wall_clock->sec; in pvclock_read_wallclock()
144 now.tv_nsec = wall_clock->nsec; in pvclock_read_wallclock()
146 } while ((wall_clock->version & 1) || (version != wall_clock->version)); in pvclock_read_wallclock()
Dkvmclock.c66 static struct pvclock_wall_clock wall_clock __bss_decrypted;
87 wrmsrl(msr_kvm_wall_clock, slow_virt_to_phys(&wall_clock)); in kvm_get_wallclock()
89 pvclock_read_wallclock(&wall_clock, this_cpu_pvti(), now); in kvm_get_wallclock()
/Linux-v4.19/arch/arm/xen/
Denlighten.c111 struct pvclock_wall_clock *wall_clock = &(s->wc); in xen_read_wallclock() local
115 version = wall_clock->version; in xen_read_wallclock()
117 now.tv_sec = ((uint64_t)wall_clock->sec_hi << 32) | wall_clock->sec; in xen_read_wallclock()
118 now.tv_nsec = wall_clock->nsec; in xen_read_wallclock()
120 } while ((wall_clock->version & 1) || (version != wall_clock->version)); in xen_read_wallclock()
/Linux-v4.19/arch/x86/xen/
Dtime.c70 struct pvclock_wall_clock *wall_clock = &(s->wc); in xen_read_wallclock() local
74 pvclock_read_wallclock(wall_clock, vcpu_time, ts); in xen_read_wallclock()
/Linux-v4.19/include/linux/
Dtimekeeping.h261 void read_persistent_wall_and_boot_offset(struct timespec64 *wall_clock,
/Linux-v4.19/arch/x86/kvm/
Dx86.c1327 static void kvm_write_wall_clock(struct kvm *kvm, gpa_t wall_clock) in kvm_write_wall_clock() argument
1334 if (!wall_clock) in kvm_write_wall_clock()
1337 r = kvm_read_guest(kvm, wall_clock, &version, sizeof(version)); in kvm_write_wall_clock()
1346 if (kvm_write_guest(kvm, wall_clock, &version, sizeof(version))) in kvm_write_wall_clock()
1365 kvm_write_guest(kvm, wall_clock, &wc, sizeof(wc)); in kvm_write_wall_clock()
1368 kvm_write_guest(kvm, wall_clock, &version, sizeof(version)); in kvm_write_wall_clock()
2420 vcpu->kvm->arch.wall_clock = data; in kvm_set_msr_common()
2712 msr_info->data = vcpu->kvm->arch.wall_clock; in kvm_get_msr_common()
/Linux-v4.19/arch/x86/include/asm/
Dkvm_host.h823 gpa_t wall_clock; member