Home
last modified time | relevance | path

Searched refs:time_now (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/md/
H A Ddm-ps-historical-service-time.c368 u64 time_now, struct path_selector *ps) in hst_compare() argument
396 if ((!out1 && stale1 < time_now) || (!out2 && stale2 < time_now) || in hst_compare()
421 if (stale2 < time_now) in hst_compare()
425 if (stale1 < time_now) in hst_compare()
435 u64 time_now = ktime_get_ns(); in hst_select_path() local
444 if (!best || (hst_compare(pi, best, time_now, ps) < 0)) in hst_select_path()
/linux/drivers/char/tpm/
H A Dtpm_tis_spi_cr50.c82 unsigned long time_now = jiffies; in cr50_ensure_access_delay() local
91 if (time_in_range_open(time_now, phy->last_access, allowed_access)) { in cr50_ensure_access_delay()
92 unsigned long remaining, timeout = allowed_access - time_now; in cr50_ensure_access_delay()
/linux/drivers/rtc/
H A Drtc-sun6i.c543 time64_t time_now; in sun6i_rtc_setalarm() local
551 time_now = rtc_tm_to_time64(&tm_now); in sun6i_rtc_setalarm()
552 if (time_set <= time_now) { in sun6i_rtc_setalarm()
556 if ((time_set - time_now) > U32_MAX) { in sun6i_rtc_setalarm()
561 counter_val = time_set - time_now; in sun6i_rtc_setalarm()
/linux/arch/x86/kvm/
H A Dtrace.h1357 TP_PROTO(int vcpu_id, int timer_index, u64 time_now, u64 exp_time),
1358 TP_ARGS(vcpu_id, timer_index, time_now, exp_time),
1363 __field(u64, time_now)
1370 __entry->time_now = time_now;
1375 __entry->vcpu_id, __entry->timer_index, __entry->time_now,
1383 TP_PROTO(int vcpu_id, int timer_index, u64 time_now, u64 count),
1384 TP_ARGS(vcpu_id, timer_index, time_now, count),
1389 __field(u64, time_now)
1396 __entry->time_now = time_now;
1401 __entry->vcpu_id, __entry->timer_index, __entry->time_now,
H A Dhyperv.c636 u64 time_now; in stimer_start() local
639 time_now = get_time_ref_counter(hv_stimer_to_vcpu(stimer)->kvm); in stimer_start()
644 if (time_now >= stimer->exp_time) { in stimer_start()
647 div64_u64_rem(time_now - stimer->exp_time, in stimer_start()
650 time_now + (stimer->count - remainder); in stimer_start()
653 stimer->exp_time = time_now + stimer->count; in stimer_start()
658 time_now, stimer->exp_time); in stimer_start()
662 100 * (stimer->exp_time - time_now)), in stimer_start()
667 if (time_now >= stimer->count) { in stimer_start()
680 time_now, stimer->count); in stimer_start()
[all …]
/linux/drivers/gpu/drm/i915/
H A Di915_hwmon.c675 u64 rotations, time_now, time; in hwm_fan_input_read() local
684 time_now = get_jiffies_64(); in hwm_fan_input_read()
692 time = jiffies_delta_to_msecs(time_now - fi->time_prev); in hwm_fan_input_read()
706 fi->time_prev = time_now; in hwm_fan_input_read()
/linux/drivers/media/common/siano/
H A Dsmscoreapi.c1478 unsigned long time_now = jiffies_to_msecs(jiffies); in smscore_onresponse() local
1481 last_sample_time = time_now; in smscore_onresponse()
1483 if (time_now - last_sample_time > 10000) { in smscore_onresponse()
1486 (time_now - last_sample_time))); in smscore_onresponse()
1488 last_sample_time = time_now; in smscore_onresponse()
/linux/drivers/net/ethernet/netronome/nfp/abm/
H A Dqdisc.c83 static void __nfp_abm_stats_update(struct nfp_abm_link *alink, u64 time_now) in __nfp_abm_stats_update() argument
85 alink->last_stats_update = time_now; in __nfp_abm_stats_update()
/linux/drivers/net/ethernet/sfc/siena/
H A Dptp.c2130 struct timespec64 time_now; in efx_phc_settime() local
2133 rc = efx_phc_gettime(ptp, &time_now); in efx_phc_settime()
2137 delta = timespec64_sub(*e_ts, time_now); in efx_phc_settime()
/linux/drivers/net/ethernet/sfc/
H A Dptp.c2172 struct timespec64 time_now; in efx_phc_settime() local
2175 rc = efx_phc_gettime(ptp, &time_now); in efx_phc_settime()
2179 delta = timespec64_sub(*e_ts, time_now); in efx_phc_settime()
/linux/drivers/scsi/aacraid/
H A Dcommsup.c1941 u32 time_now, time_last; in wakeup_fibctx_threads() local
1946 time_now = jiffies/HZ; in wakeup_fibctx_threads()
1980 if ((time_now - time_last) > aif_timeout) { in wakeup_fibctx_threads()