Home
last modified time | relevance | path

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

/linux-6.12.1/arch/x86/include/asm/vdso/
Dgettimeofday.h199 const struct pvclock_vcpu_time_info *pvti = &pvclock_page.pvti; in vread_pvclock() local
226 version = pvclock_read_begin(pvti); in vread_pvclock()
228 if (unlikely(!(pvti->flags & PVCLOCK_TSC_STABLE_BIT))) in vread_pvclock()
231 ret = __pvclock_read_cycles(pvti, rdtsc_ordered()); in vread_pvclock()
232 } while (pvclock_read_retry(pvti, version)); in vread_pvclock()
/linux-6.12.1/arch/x86/kernel/
Dkvmclock.c143 if ((src->pvti.flags & PVCLOCK_GUEST_STOPPED) != 0) { in kvm_check_and_clear_guest_paused()
144 src->pvti.flags &= ~PVCLOCK_GUEST_STOPPED; in kvm_check_and_clear_guest_paused()
175 pa = slow_virt_to_phys(&src->pvti) | 0x01ULL; in kvm_register_clock()
252 flags = pvclock_read_flags(&hv_clock_boot[0].pvti); in kvm_setup_vsyscall_timeinfo()
320 flags = pvclock_read_flags(&hv_clock_boot[0].pvti); in kvmclock_init()
Dpvclock.c156 void pvclock_set_pvti_cpu0_va(struct pvclock_vsyscall_time_info *pvti) in pvclock_set_pvti_cpu0_va() argument
159 pvti_cpu0_va = pvti; in pvclock_set_pvti_cpu0_va()
/linux-6.12.1/arch/x86/xen/
Dtime.c421 t.addr.v = &xen_clock->pvti; in xen_restore_time_memory_area()
454 t.addr.v = &ti->pvti; in xen_setup_vsyscall_time_info()
468 if (!(ti->pvti.flags & PVCLOCK_TSC_STABLE_BIT)) { in xen_setup_vsyscall_time_info()
511 struct pvclock_vcpu_time_info *pvti; in xen_time_init() local
547 pvti = &__this_cpu_read(xen_vcpu)->time; in xen_time_init()
548 if (pvti->flags & PVCLOCK_TSC_STABLE_BIT) { in xen_time_init()
/linux-6.12.1/tools/arch/x86/include/asm/
Dpvclock.h88 struct pvclock_vcpu_time_info pvti; member
94 void pvclock_set_pvti_cpu0_va(struct pvclock_vsyscall_time_info *pvti);
/linux-6.12.1/arch/x86/include/asm/
Dpvclock.h93 struct pvclock_vcpu_time_info pvti; member
99 void pvclock_set_pvti_cpu0_va(struct pvclock_vsyscall_time_info *pvti);
Dkvmclock.h11 return &this_cpu_read(hv_clock_per_cpu)->pvti; in this_cpu_pvti()
/linux-6.12.1/tools/testing/selftests/kvm/x86_64/
Dkvm_clock_test.c34 static void guest_main(vm_paddr_t pvti_pa, struct pvclock_vcpu_time_info *pvti) in guest_main() argument
40 GUEST_SYNC_CLOCK(i, __pvclock_read_cycles(pvti, rdtsc())); in guest_main()
/linux-6.12.1/arch/x86/entry/vdso/
Dvma.c186 struct pvclock_vsyscall_time_info *pvti = in vvar_fault() local
188 if (pvti && vclock_was_used(VDSO_CLOCKMODE_PVCLOCK)) { in vvar_fault()
190 __pa(pvti) >> PAGE_SHIFT, in vvar_fault()