| /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/char/tpm/ |
| H A D | tpm_tis_spi_cr50.c | 82 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 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,
|
| H A D | hyperv.c | 636 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 D | i915_hwmon.c | 675 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 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()
|