Home
last modified time | relevance | path

Searched refs:now_ts (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_redirect.c491 struct timespec now_ts; in __rcv_tstamp() local
525 ret = clock_gettime(CLOCK_REALTIME, &now_ts); in __rcv_tstamp()
527 now_ns = now_ts.tv_sec * NSEC_PER_SEC + now_ts.tv_nsec; in __rcv_tstamp()
592 struct timespec now_ts; in snd_tstamp() local
599 ret = clock_gettime(CLOCK_TAI, &now_ts); in snd_tstamp()
601 now_ns = now_ts.tv_sec * NSEC_PER_SEC + now_ts.tv_nsec; in snd_tstamp()
/linux/drivers/net/dsa/sja1105/
H A Dsja1105_tas.c729 struct timespec64 base_time_ts, now_ts; in sja1105_tas_state_machine() local
776 now_ts = ns_to_timespec64(now); in sja1105_tas_state_machine()
780 now_ts.tv_sec, now_ts.tv_nsec); in sja1105_tas_state_machine()
/linux/drivers/scsi/
H A Dscsi_debug.c2176 ktime_t now_ts = ktime_get_boottime(); in resp_start_stop() local
2178 if (ktime_to_ns(now_ts) > ktime_to_ns(devip->create_ts)) { in resp_start_stop()
2179 u64 diff_ns = ktime_to_ns(ktime_sub(now_ts, devip->create_ts)); in resp_start_stop()
8262 ktime_t now_ts = ktime_get_boottime(); in resp_not_ready() local
8267 if (ktime_to_ns(now_ts) > ktime_to_ns(devip->create_ts)) { in resp_not_ready()
8268 diff_ns = ktime_to_ns(ktime_sub(now_ts, devip->create_ts)); in resp_not_ready()