Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dtc_redirect.c366 struct timespec now_ts; in rcv_tstamp() local
394 ret = clock_gettime(CLOCK_REALTIME, &now_ts); in rcv_tstamp()
396 now_ns = now_ts.tv_sec * NSEC_PER_SEC + now_ts.tv_nsec; in rcv_tstamp()
407 struct timespec now_ts; in snd_tstamp() local
414 ret = clock_gettime(CLOCK_TAI, &now_ts); in snd_tstamp()
416 now_ns = now_ts.tv_sec * NSEC_PER_SEC + now_ts.tv_nsec; in snd_tstamp()
/linux-6.1.9/drivers/net/dsa/sja1105/
Dsja1105_tas.c726 struct timespec64 base_time_ts, now_ts; in sja1105_tas_state_machine() local
773 now_ts = ns_to_timespec64(now); in sja1105_tas_state_machine()
777 now_ts.tv_sec, now_ts.tv_nsec); in sja1105_tas_state_machine()
/linux-6.1.9/drivers/scsi/
Dscsi_debug.c1816 ktime_t now_ts = ktime_get_boottime(); in resp_start_stop() local
1818 if (ktime_to_ns(now_ts) > ktime_to_ns(devip->create_ts)) { in resp_start_stop()
1819 u64 diff_ns = ktime_to_ns(ktime_sub(now_ts, devip->create_ts)); in resp_start_stop()
7453 ktime_t now_ts = ktime_get_boottime(); in resp_not_ready() local
7458 if (ktime_to_ns(now_ts) > ktime_to_ns(devip->create_ts)) { in resp_not_ready()
7459 diff_ns = ktime_to_ns(ktime_sub(now_ts, devip->create_ts)); in resp_not_ready()