Documented in 1 files:

Defined in 1 files as a function:

Referenced in 14 files:

Smatch caller information:

arch/x86/kernel/cpu/resctrl/pseudo_lock.c resctrl_arch_measure_cycles_lat_fn() -> rdtsc_ordered()

Type Parameter Key Value
LOCK2 irq

arch/x86/kernel/cpu/resctrl/pseudo_lock.c resctrl_arch_measure_cycles_lat_fn() -> rdtsc_ordered()

Type Parameter Key Value
LOCK2 irq

arch/x86/kernel/cpu/resctrl/pseudo_lock.c resctrl_arch_measure_cycles_lat_fn() -> rdtsc_ordered()

Type Parameter Key Value
LOCK2 irq

arch/x86/lib/delay.c delay_halt() -> rdtsc_ordered()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ctlr->io_mutex

arch/x86/lib/delay.c delay_halt() -> rdtsc_ordered()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ctlr->io_mutex

arch/x86/lib/delay.c delay_tsc() -> rdtsc_ordered()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ctlr->io_mutex

arch/x86/lib/delay.c delay_tsc() -> rdtsc_ordered()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ctlr->io_mutex

arch/x86/lib/delay.c delay_tsc() -> rdtsc_ordered()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ctlr->io_mutex

drivers/clocksource/hyperv_timer.c hv_read_tsc_page_tsc() -> rdtsc_ordered()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

arch/x86/kernel/kvmclock.c kvm_clock_get_cycles_snapshot() -> rdtsc_ordered()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &adapter->tmreg_lock
HALF_LOCKED2 &bp->lock
HALF_LOCKED2 &bp->tsu_clk_lock
HALF_LOCKED2 &cpts->lock
HALF_LOCKED2 &cpts->ptp_clk_mutex
HALF_LOCKED2 &dt->tod_lock
HALF_LOCKED2 &fbd->time_lock
HALF_LOCKED2 &hellcreek->ptp_lock
HALF_LOCKED2 &igb->tmreg_lock
HALF_LOCKED2 &pdata->tstamp_lock
HALF_LOCKED2 &pf->adapter->ptp_gltsyn_time_lock
HALF_LOCKED2 &phc_info->lock
HALF_LOCKED2 &priv->lock
HALF_LOCKED2 &priv->mutex
HALF_LOCKED2 &ptp->ptp_lock.lock
HALF_LOCKED2 &tai->lock
HALF_LOCKED2 &tp->lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags

arch/x86/coco/sev/vc-handle.c __vc_handle_secure_tsc_msrs() -> rdtsc_ordered()

Type Parameter Key Value
PREEMPT_ADD
TASK_NOT_RUNNING
HALF_LOCKED2 _T->flags

kernel/time/timekeeping.c arch_inlined_clocksource_read() -> rdtsc_ordered()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 flags
HALF_LOCKED2 irq

arch/x86/kvm/x86.c hv_read_tsc_page_tsc() -> rdtsc_ordered()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &kvm->arch.tsc_write_lock

arch/x86/kvm/x86.c read_tsc() -> rdtsc_ordered()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &kvm->arch.tsc_write_lock

arch/x86/events/msr.c msr_read_counter() -> rdtsc_ordered()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &event->child_mutex

arch/x86/kernel/trace_clock.c trace_clock_x86_tsc() -> rdtsc_ordered()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

arch/x86/entry/vdso/vdso32/vclock_gettime.c __arch_get_hw_counter() -> rdtsc_ordered()

Type Parameter Key Value

arch/x86/entry/vdso/vdso32/vclock_gettime.c hv_read_tsc_page_tsc() -> rdtsc_ordered()

Type Parameter Key Value

arch/x86/entry/vdso/vdso32/vclock_gettime.c vread_pvclock() -> rdtsc_ordered()

Type Parameter Key Value

arch/x86/entry/vdso/vdso64/vclock_gettime.c __arch_get_hw_counter() -> rdtsc_ordered()

Type Parameter Key Value

arch/x86/entry/vdso/vdso64/vclock_gettime.c hv_read_tsc_page_tsc() -> rdtsc_ordered()

Type Parameter Key Value

arch/x86/entry/vdso/vdso64/vclock_gettime.c vread_pvclock() -> rdtsc_ordered()

Type Parameter Key Value

arch/x86/kernel/pvclock.c __pvclock_clocksource_read() -> rdtsc_ordered()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

arch/x86/kernel/tsc.c read_tsc() -> rdtsc_ordered()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 flags
HALF_LOCKED2 global &watchdog_lock
HALF_LOCKED2 irq

arch/x86/kernel/cpu/mce/inject.c do_inject() -> rdtsc_ordered()

Type Parameter Key Value
LOCK2 &attr->mutex
TYPE_LOCK (struct simple_attr)->mutex

arch/x86/kernel/tsc_sync.c check_tsc_warp() -> rdtsc_ordered()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

arch/x86/kernel/tsc_sync.c check_tsc_warp() -> rdtsc_ordered()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING