Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/include/asm/vdso/
Dgettimeofday.h192 const struct pvclock_vcpu_time_info *pvti = &pvclock_page.pvti; in vread_pvclock() local
219 version = pvclock_read_begin(pvti); in vread_pvclock()
221 if (unlikely(!(pvti->flags & PVCLOCK_TSC_STABLE_BIT))) in vread_pvclock()
224 ret = __pvclock_read_cycles(pvti, rdtsc_ordered()); in vread_pvclock()
225 } while (pvclock_read_retry(pvti, version)); in vread_pvclock()
/Linux-v5.4/arch/x86/kernel/
Dkvmclock.c59 return &this_cpu_read(hv_clock_per_cpu)->pvti; in this_cpu_pvti()
154 if ((src->pvti.flags & PVCLOCK_GUEST_STOPPED) != 0) { in kvm_check_and_clear_guest_paused()
155 src->pvti.flags &= ~PVCLOCK_GUEST_STOPPED; in kvm_check_and_clear_guest_paused()
179 pa = slow_virt_to_phys(&src->pvti) | 0x01ULL; in kvm_register_clock()
271 flags = pvclock_read_flags(&hv_clock_boot[0].pvti); in kvm_setup_vsyscall_timeinfo()
337 flags = pvclock_read_flags(&hv_clock_boot[0].pvti); in kvmclock_init()
Dpvclock.c146 void pvclock_set_pvti_cpu0_va(struct pvclock_vsyscall_time_info *pvti) in pvclock_set_pvti_cpu0_va() argument
149 pvti_cpu0_va = pvti; in pvclock_set_pvti_cpu0_va()
/Linux-v5.4/arch/x86/xen/
Dtime.c410 t.addr.v = &xen_clock->pvti; in xen_restore_time_memory_area()
442 t.addr.v = &ti->pvti; in xen_setup_vsyscall_time_info()
456 if (!(ti->pvti.flags & PVCLOCK_TSC_STABLE_BIT)) { in xen_setup_vsyscall_time_info()
475 struct pvclock_vcpu_time_info *pvti; in xen_time_init() local
503 pvti = &__this_cpu_read(xen_vcpu)->time; in xen_time_init()
504 if (pvti->flags & PVCLOCK_TSC_STABLE_BIT) { in xen_time_init()
/Linux-v5.4/arch/x86/include/asm/
Dpvclock.h91 struct pvclock_vcpu_time_info pvti; member
97 void pvclock_set_pvti_cpu0_va(struct pvclock_vsyscall_time_info *pvti);
/Linux-v5.4/arch/x86/entry/vdso/
Dvma.c113 struct pvclock_vsyscall_time_info *pvti = in vvar_fault() local
115 if (pvti && vclock_was_used(VCLOCK_PVCLOCK)) { in vvar_fault()
117 __pa(pvti) >> PAGE_SHIFT, in vvar_fault()
/Linux-v5.4/drivers/ptp/
Dptp_kvm.c46 src = &hv_clock[cpu].pvti; in ptp_kvm_get_time_fn()