Searched refs:rdtsc (Results 1 – 24 of 24) sorted by relevance
/arch/x86/include/asm/ |
D | timex.h | 13 return rdtsc(); in random_get_entropy()
|
D | stackprotector.h | 66 tsc = rdtsc(); in boot_init_stack_canary()
|
D | tsc.h | 26 return rdtsc(); in get_cycles()
|
D | entry-common.h | 88 choose_random_kstack_offset(rdtsc() & 0xFF); in arch_exit_to_user_mode_prepare()
|
D | msr.h | 189 static __always_inline unsigned long long rdtsc(void) in rdtsc() function
|
/arch/x86/lib/ |
D | kaslr.c | 72 raw = rdtsc(); in kaslr_get_random_long()
|
D | delay.c | 195 *timer_val = rdtsc(); in read_current_timer()
|
/arch/x86/kernel/cpu/ |
D | vmware.c | 150 ns = mul_u64_u32_shr(rdtsc(), vmware_cyc2ns.cyc2ns_mul, in vmware_sched_clock() 159 unsigned long long tsc_now = rdtsc(); in vmware_cyc2ns_setup()
|
D | amd.c | 224 d = rdtsc(); in init_amd_k6() 227 d2 = rdtsc(); in init_amd_k6()
|
/arch/x86/kernel/ |
D | espfix_64.c | 105 rand = rdtsc(); in init_espfix_random()
|
D | tsc.c | 191 __set_cyc2ns_scale(tsc_khz, smp_processor_id(), rdtsc()); in cyc2ns_init_boot_cpu() 221 u64 tsc_now = rdtsc(); in native_sched_clock() 1008 set_cyc2ns_scale(tsc_khz, freq->policy->cpu, rdtsc()); in time_cpufreq_notifier()
|
D | hpet.c | 902 start = rdtsc(); in hpet_counting() 913 now = rdtsc(); in hpet_counting()
|
/arch/x86/kernel/cpu/mce/ |
D | apei.c | 58 m.tsc = rdtsc(); in apei_mce_report_mem_error()
|
D | core.c | 731 m.tsc = rdtsc(); in machine_check_poll() 1374 m.tsc = rdtsc(); in do_machine_check()
|
D | amd.c | 911 m.tsc = rdtsc(); in __log_error()
|
/arch/x86/kernel/apic/ |
D | apic.c | 480 tsc = rdtsc(); in lapic_next_deadline() 700 tsc = rdtsc(); in lapic_cal_handler() 882 tsc_start = rdtsc(); in calibrate_APIC_clock() 896 u64 tsc_now = rdtsc(); in calibrate_APIC_clock()
|
D | io_apic.c | 1590 start = rdtsc(); in delay_with_tsc() 1600 now = rdtsc(); in delay_with_tsc()
|
/arch/x86/kvm/ |
D | lapic.c | 1610 guest_tsc = kvm_read_l1_tsc(vcpu, rdtsc()); in __kvm_wait_lapic_expire() 1621 guest_tsc = kvm_read_l1_tsc(vcpu, rdtsc()); in __kvm_wait_lapic_expire() 1706 guest_tsc = kvm_read_l1_tsc(vcpu, rdtsc()); in start_sw_tscdeadline() 1754 u64 tscl = rdtsc(); in set_target_expiration() 1800 u64 tscl = rdtsc(); in advance_periodic_target_expiration()
|
D | pmu.c | 335 ctr_val = rdtsc(); in kvm_pmu_rdpmc_vmware()
|
D | x86.c | 2426 tsc = kvm_scale_tsc(vcpu, rdtsc(), vcpu->arch.l1_tsc_scaling_ratio); in kvm_compute_l1_tsc_offset() 2880 ret = __pvclock_read_cycles(&hv_clock, rdtsc()); in get_kvmclock_ns() 2982 host_tsc = rdtsc(); in kvm_guest_time_update() 3805 msr_info->data = kvm_scale_tsc(vcpu, rdtsc(), ratio) + offset; in kvm_get_msr_common() 4394 rdtsc() - vcpu->arch.last_host_tsc; in kvm_arch_vcpu_load() 4490 vcpu->arch.last_host_tsc = rdtsc(); in kvm_arch_vcpu_put() 9992 vcpu->arch.last_guest_tsc = kvm_read_l1_tsc(vcpu, rdtsc()); in vcpu_enter_guest() 11344 local_tsc = rdtsc(); in kvm_arch_hardware_enable()
|
D | hyperv.c | 556 tsc = kvm_read_l1_tsc(vcpu, rdtsc()); in get_time_ref_counter()
|
D | emulate.c | 4754 IIP(ImplicitOps, em_rdtsc, rdtsc, check_rdtsc),
|
/arch/x86/kvm/vmx/ |
D | vmx.c | 6683 tscl = rdtsc(); in vmx_update_hv_timer() 7564 tscl = rdtsc(); in vmx_set_hv_timer()
|
D | nested.c | 2082 u64 l1_scaled_tsc = kvm_read_l1_tsc(vcpu, rdtsc()) >> in vmx_calc_preemption_timer_value()
|