Searched refs:time_now (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/md/ |
| H A D | dm-ps-historical-service-time.c | 368 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/rtc/ |
| H A D | rtc-sun6i.c | 543 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 D | trace.h | 1357 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,
|
| /linux/drivers/media/common/siano/ |
| H A D | smscoreapi.c | 1478 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 D | qdisc.c | 83 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 D | ptp.c | 2130 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 D | ptp.c | 2172 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 D | commsup.c | 1941 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()
|