Home
last modified time | relevance | path

Searched refs:rdtsc (Results 1 – 24 of 24) sorted by relevance

/arch/x86/include/asm/
Dtimex.h13 return rdtsc(); in random_get_entropy()
Dstackprotector.h66 tsc = rdtsc(); in boot_init_stack_canary()
Dtsc.h26 return rdtsc(); in get_cycles()
Dentry-common.h88 choose_random_kstack_offset(rdtsc() & 0xFF); in arch_exit_to_user_mode_prepare()
Dmsr.h189 static __always_inline unsigned long long rdtsc(void) in rdtsc() function
/arch/x86/lib/
Dkaslr.c72 raw = rdtsc(); in kaslr_get_random_long()
Ddelay.c195 *timer_val = rdtsc(); in read_current_timer()
/arch/x86/kernel/cpu/
Dvmware.c150 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()
Damd.c224 d = rdtsc(); in init_amd_k6()
227 d2 = rdtsc(); in init_amd_k6()
/arch/x86/kernel/
Despfix_64.c105 rand = rdtsc(); in init_espfix_random()
Dtsc.c191 __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()
Dhpet.c902 start = rdtsc(); in hpet_counting()
913 now = rdtsc(); in hpet_counting()
/arch/x86/kernel/cpu/mce/
Dapei.c58 m.tsc = rdtsc(); in apei_mce_report_mem_error()
Dcore.c731 m.tsc = rdtsc(); in machine_check_poll()
1374 m.tsc = rdtsc(); in do_machine_check()
Damd.c911 m.tsc = rdtsc(); in __log_error()
/arch/x86/kernel/apic/
Dapic.c480 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()
Dio_apic.c1590 start = rdtsc(); in delay_with_tsc()
1600 now = rdtsc(); in delay_with_tsc()
/arch/x86/kvm/
Dlapic.c1610 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()
Dpmu.c335 ctr_val = rdtsc(); in kvm_pmu_rdpmc_vmware()
Dx86.c2426 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()
Dhyperv.c556 tsc = kvm_read_l1_tsc(vcpu, rdtsc()); in get_time_ref_counter()
Demulate.c4754 IIP(ImplicitOps, em_rdtsc, rdtsc, check_rdtsc),
/arch/x86/kvm/vmx/
Dvmx.c6683 tscl = rdtsc(); in vmx_update_hv_timer()
7564 tscl = rdtsc(); in vmx_set_hv_timer()
Dnested.c2082 u64 l1_scaled_tsc = kvm_read_l1_tsc(vcpu, rdtsc()) >> in vmx_calc_preemption_timer_value()