Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/md/
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-6.6.21/drivers/char/tpm/
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-6.6.21/arch/x86/kvm/
Dtrace.h1259 TP_PROTO(int vcpu_id, int timer_index, u64 time_now, u64 exp_time),
1260 TP_ARGS(vcpu_id, timer_index, time_now, exp_time),
1265 __field(u64, time_now)
1272 __entry->time_now = time_now;
1277 __entry->vcpu_id, __entry->timer_index, __entry->time_now,
1285 TP_PROTO(int vcpu_id, int timer_index, u64 time_now, u64 count),
1286 TP_ARGS(vcpu_id, timer_index, time_now, count),
1291 __field(u64, time_now)
1298 __entry->time_now = time_now;
1303 __entry->vcpu_id, __entry->timer_index, __entry->time_now,
Dhyperv.c632 u64 time_now; in stimer_start() local
635 time_now = get_time_ref_counter(hv_stimer_to_vcpu(stimer)->kvm); in stimer_start()
640 if (time_now >= stimer->exp_time) { in stimer_start()
643 div64_u64_rem(time_now - stimer->exp_time, in stimer_start()
646 time_now + (stimer->count - remainder); in stimer_start()
649 stimer->exp_time = time_now + stimer->count; in stimer_start()
654 time_now, stimer->exp_time); in stimer_start()
658 100 * (stimer->exp_time - time_now)), in stimer_start()
663 if (time_now >= stimer->count) { in stimer_start()
676 time_now, stimer->count); in stimer_start()
[all …]
/linux-6.6.21/drivers/rtc/
Drtc-sun6i.c542 time64_t time_now; in sun6i_rtc_setalarm() local
550 time_now = rtc_tm_to_time64(&tm_now); in sun6i_rtc_setalarm()
551 if (time_set <= time_now) { in sun6i_rtc_setalarm()
555 if ((time_set - time_now) > U32_MAX) { in sun6i_rtc_setalarm()
560 counter_val = time_set - time_now; in sun6i_rtc_setalarm()
/linux-6.6.21/net/netfilter/
Dnf_conntrack_standalone.c105 u_int64_t time_now; member
156 st->time_now = ktime_get_real_ns(); in ct_seq_start()
234 delta_time = st->time_now - tstamp->start; in ct_show_delta_time()
/linux-6.6.21/drivers/scsi/aacraid/
Dcommsup.c1704 unsigned long time_now, flagv = 0; in aac_check_health() local
1727 time_now = jiffies/HZ; in aac_check_health()
1759 if ((time_now - time_last) > aif_timeout) { in aac_check_health()
2070 u32 time_now, time_last; in wakeup_fibctx_threads() local
2075 time_now = jiffies/HZ; in wakeup_fibctx_threads()
2109 if ((time_now - time_last) > aif_timeout) { in wakeup_fibctx_threads()
/linux-6.6.21/drivers/media/common/siano/
Dsmscoreapi.c1483 unsigned long time_now = jiffies_to_msecs(jiffies); in smscore_onresponse() local
1486 last_sample_time = time_now; in smscore_onresponse()
1488 if (time_now - last_sample_time > 10000) { in smscore_onresponse()
1491 (time_now - last_sample_time))); in smscore_onresponse()
1493 last_sample_time = time_now; in smscore_onresponse()
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/abm/
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-6.6.21/drivers/net/ethernet/sfc/
Dptp.c2184 struct timespec64 time_now; in efx_phc_settime() local
2187 rc = efx_phc_gettime(ptp, &time_now); in efx_phc_settime()
2191 delta = timespec64_sub(*e_ts, time_now); in efx_phc_settime()
/linux-6.6.21/drivers/net/ethernet/sfc/siena/
Dptp.c2136 struct timespec64 time_now; in efx_phc_settime() local
2139 rc = efx_phc_gettime(ptp, &time_now); in efx_phc_settime()
2143 delta = timespec64_sub(*e_ts, time_now); in efx_phc_settime()