Home
last modified time | relevance | path

Searched refs:ktime_get_mono_fast_ns (Results 1 – 16 of 16) sorted by relevance

/linux/kernel/
H A Dwatchdog_perf.c60 ktime_t delta, now = ktime_get_mono_fast_ns(); in watchdog_check_timestamp()
80 __this_cpu_write(last_timestamp, ktime_get_mono_fast_ns()); in watchdog_init_timestamp()
H A Dsmp.c251 ts2 = ktime_get_mono_fast_ns(); in csd_lock_wait_toolong()
326 ts1 = ts0 = ktime_get_mono_fast_ns(); in __csd_lock_wait()
/linux/kernel/rcu/
H A Drcuscale.c565 t = ktime_get_mono_fast_ns(); in rcu_scale_writer()
585 *wdp = ktime_get_mono_fast_ns(); in rcu_scale_writer()
607 t = ktime_get_mono_fast_ns(); in rcu_scale_writer()
748 start_time = ktime_get_mono_fast_ns(); in kfree_scale_thread()
789 end_time = ktime_get_mono_fast_ns(); in kfree_scale_thread()
H A Drefscale.c930 start = ktime_get_mono_fast_ns(); in ref_scale_reader()
934 duration = ktime_get_mono_fast_ns() - start; in ref_scale_reader()
H A Dsrcutree.c263 ssp->srcu_sup->srcu_last_gp_end = ktime_get_mono_fast_ns(); in init_srcu_struct_fields()
903 WRITE_ONCE(sup->srcu_last_gp_end, ktime_get_mono_fast_ns()); in srcu_gp_end()
1226 t = ktime_get_mono_fast_ns(); in srcu_should_expedite()
/linux/drivers/base/power/
H A Druntime.c87 now = ktime_get_mono_fast_ns(); in update_pm_runtime_accounting()
91 * Because ktime_get_mono_fast_ns() is not monotonic during in update_pm_runtime_accounting()
191 if (expires > ktime_get_mono_fast_ns()) in pm_runtime_autosuspend_expiration()
1026 if (expires > 0 && expires <= ktime_get_mono_fast_ns()) { in pm_suspend_timer_fn()
1062 expires = ktime_get_mono_fast_ns() + (u64)delay * NSEC_PER_MSEC; in pm_schedule_suspend()
1580 dev->power.accounting_timestamp = ktime_get_mono_fast_ns(); in pm_runtime_enable()
/linux/include/linux/
H A Dpm_runtime.h230 * mechanism to the current time as returned by ktime_get_mono_fast_ns().
234 WRITE_ONCE(dev->power.last_busy, ktime_get_mono_fast_ns()); in pm_runtime_mark_last_busy()
/linux/kernel/bpf/
H A Drqspinlock.c219 u64 time = ktime_get_mono_fast_ns(); in check_timeout()
H A Dhelpers.c181 return ktime_get_mono_fast_ns(); in BPF_CALL_0()
H A Dcore.c3212 u64 time = ktime_get_mono_fast_ns(); in bpf_check_timed_may_goto()
/linux/kernel/time/
H A Dtimekeeping.c414 * @ktime_get_mono_fast_ns.
453 * ktime_get_mono_fast_ns - Fast NMI safe access to clock monotonic
484 u64 notrace ktime_get_mono_fast_ns(void) in ktime_get_mono_fast_ns() function
488 EXPORT_SYMBOL_GPL(ktime_get_mono_fast_ns);
493 * Contrary to ktime_get_mono_fast_ns() this is always correct because the
523 * The caveats vs. timestamp ordering as documented for ktime_get_mono_fast_ns()
530 return (ktime_get_mono_fast_ns() + ktime_to_ns(data_race(tk->offs_boot))); in ktime_get_boot_fast_ns()
547 return (ktime_get_mono_fast_ns() + ktime_to_ns(data_race(tk->offs_tai))); in ktime_get_tai_fast_ns()
554 * See ktime_get_mono_fast_ns() for documentation of the time stamp ordering.
/linux/Documentation/core-api/
H A Dtimekeeping.rst132 .. c:function:: u64 ktime_get_mono_fast_ns( void )
/linux/drivers/ufs/host/
H A Dufs-mediatek.c426 timeout = ktime_get_mono_fast_ns() + retry_ms * 1000000UL; in ufs_mtk_wait_idle_state()
433 time_checked = ktime_get_mono_fast_ns(); in ufs_mtk_wait_idle_state()
/linux/kernel/debug/kdb/
H A Dkdb_main.c2378 u64 uptime = ktime_get_mono_fast_ns(); in kdb_sysinfo()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_device.c6087 expires = ktime_get_mono_fast_ns() + NSEC_PER_SEC * 4ULL; in amdgpu_device_suspend_display_audio()
6093 if (expires < ktime_get_mono_fast_ns()) { in amdgpu_device_suspend_display_audio()
/linux/kernel/trace/
H A Dtrace.c1757 { ktime_get_mono_fast_ns, "mono", 1 },