Searched refs:wall_clock (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.15/arch/x86/kernel/ |
D | pvclock.c | 113 void pvclock_read_wallclock(struct pvclock_wall_clock *wall_clock, in pvclock_read_wallclock() argument 123 version = wall_clock->version; in pvclock_read_wallclock() 132 now.tv_sec = wall_clock->sec; in pvclock_read_wallclock() 133 now.tv_nsec = wall_clock->nsec; in pvclock_read_wallclock() 135 } while ((wall_clock->version & 1) || (version != wall_clock->version)); in pvclock_read_wallclock()
|
D | kvmclock.c | 51 static struct pvclock_wall_clock wall_clock __bss_decrypted; 63 wrmsrl(msr_kvm_wall_clock, slow_virt_to_phys(&wall_clock)); in kvm_get_wallclock() 65 pvclock_read_wallclock(&wall_clock, this_cpu_pvti(), now); in kvm_get_wallclock()
|
/Linux-v5.15/arch/arm/xen/ |
D | enlighten.c | 78 struct pvclock_wall_clock *wall_clock = &(s->wc); in xen_read_wallclock() local 82 version = wall_clock->version; in xen_read_wallclock() 84 now.tv_sec = ((uint64_t)wall_clock->sec_hi << 32) | wall_clock->sec; in xen_read_wallclock() 85 now.tv_nsec = wall_clock->nsec; in xen_read_wallclock() 87 } while ((wall_clock->version & 1) || (version != wall_clock->version)); in xen_read_wallclock()
|
/Linux-v5.15/arch/x86/xen/ |
D | time.c | 71 struct pvclock_wall_clock *wall_clock = &(s->wc); in xen_read_wallclock() local 75 pvclock_read_wallclock(wall_clock, vcpu_time, ts); in xen_read_wallclock()
|
/Linux-v5.15/include/linux/ |
D | timekeeping.h | 305 void read_persistent_wall_and_boot_offset(struct timespec64 *wall_clock,
|
/Linux-v5.15/arch/x86/kvm/ |
D | x86.h | 297 void kvm_write_wall_clock(struct kvm *kvm, gpa_t wall_clock, int sec_hi_ofs);
|
D | x86.c | 2101 void kvm_write_wall_clock(struct kvm *kvm, gpa_t wall_clock, int sec_hi_ofs) in kvm_write_wall_clock() argument 2109 if (!wall_clock) in kvm_write_wall_clock() 2112 r = kvm_read_guest(kvm, wall_clock, &version, sizeof(version)); in kvm_write_wall_clock() 2121 if (kvm_write_guest(kvm, wall_clock, &version, sizeof(version))) in kvm_write_wall_clock() 2135 kvm_write_guest(kvm, wall_clock, &wc, sizeof(wc)); in kvm_write_wall_clock() 2139 kvm_write_guest(kvm, wall_clock + sec_hi_ofs, in kvm_write_wall_clock() 2144 kvm_write_guest(kvm, wall_clock, &version, sizeof(version)); in kvm_write_wall_clock() 3389 vcpu->kvm->arch.wall_clock = data; in kvm_set_msr_common() 3396 vcpu->kvm->arch.wall_clock = data; in kvm_set_msr_common() 3732 msr_info->data = vcpu->kvm->arch.wall_clock; in kvm_get_msr_common() [all …]
|
/Linux-v5.15/arch/x86/include/asm/ |
D | kvm_host.h | 1082 gpa_t wall_clock; member
|