Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_redirect.c426 struct timespec now_ts; in __rcv_tstamp() local
460 ret = clock_gettime(CLOCK_REALTIME, &now_ts); in __rcv_tstamp()
462 now_ns = now_ts.tv_sec * NSEC_PER_SEC + now_ts.tv_nsec; in __rcv_tstamp()
527 struct timespec now_ts; in snd_tstamp() local
534 ret = clock_gettime(CLOCK_TAI, &now_ts); in snd_tstamp()
536 now_ns = now_ts.tv_sec * NSEC_PER_SEC + now_ts.tv_nsec; in snd_tstamp()
/openbmc/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()
/openbmc/linux/drivers/scsi/
H A Dscsi_debug.c1804 ktime_t now_ts = ktime_get_boottime(); in resp_start_stop() local
1806 if (ktime_to_ns(now_ts) > ktime_to_ns(devip->create_ts)) { in resp_start_stop()
1807 u64 diff_ns = ktime_to_ns(ktime_sub(now_ts, devip->create_ts)); in resp_start_stop()
7350 ktime_t now_ts = ktime_get_boottime(); in resp_not_ready() local
7355 if (ktime_to_ns(now_ts) > ktime_to_ns(devip->create_ts)) { in resp_not_ready()
7356 diff_ns = ktime_to_ns(ktime_sub(now_ts, devip->create_ts)); in resp_not_ready()