Home
last modified time | relevance | path

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

/arch/x86/entry/vsyscall/
Dvsyscall_gtod.c31 int vclock_mode = tk->tkr_mono.clock->archdata.vclock_mode; in update_vsyscall() local
36 WRITE_ONCE(vclocks_used, READ_ONCE(vclocks_used) | (1 << vclock_mode)); in update_vsyscall()
41 vdata->vclock_mode = vclock_mode; in update_vsyscall()
/arch/x86/entry/vdso/
Dvclock_gettime.c170 if (gtod->vclock_mode == VCLOCK_TSC) in vgetsns()
173 else if (gtod->vclock_mode == VCLOCK_PVCLOCK) in vgetsns()
191 mode = gtod->vclock_mode; in do_realtime()
212 mode = gtod->vclock_mode; in do_monotonic()
/arch/x86/include/asm/
Dclocksource.h12 int vclock_mode; member
Dvgtod.h19 int vclock_mode; member
/arch/x86/kernel/
Dkvmclock.c335 kvm_clock.archdata.vclock_mode = VCLOCK_PVCLOCK; in kvm_setup_vsyscall_timeinfo()
Dtsc.c1100 .archdata = { .vclock_mode = VCLOCK_TSC },
/arch/x86/kvm/
Dx86.c1132 int vclock_mode; member
1155 vdata->clock.vclock_mode = tk->tkr_mono.clock->archdata.vclock_mode; in update_pvclock_gtod()
1370 (gtod->clock.vclock_mode == VCLOCK_TSC && vcpus_matched)) in kvm_track_tsc_matching()
1375 ka->use_master_clock, gtod->clock.vclock_mode); in kvm_track_tsc_matching()
1614 mode = gtod->clock.vclock_mode; in do_monotonic_boot()
1629 if (pvclock_gtod_data.clock.vclock_mode != VCLOCK_TSC) in kvm_get_time_and_clockread()
1681 int vclock_mode; in pvclock_update_vm_gtod_copy() local
1702 vclock_mode = pvclock_gtod_data.clock.vclock_mode; in pvclock_update_vm_gtod_copy()
1703 trace_kvm_update_master_clock(ka->use_master_clock, vclock_mode, in pvclock_update_vm_gtod_copy()
5940 if (gtod->clock.vclock_mode != VCLOCK_TSC && in pvclock_gtod_notify()