Searched refs:ts_now (Results 1 – 2 of 2) sorted by relevance
| /linux/tools/testing/selftests/rseq/ |
| H A D | slice_test.c | 109 struct timespec ts_start, ts_now; in noise_thread() local 113 clock_gettime(CLOCK_MONOTONIC, &ts_now); in noise_thread() 114 } while (!elapsed(&ts_start, &ts_now, p->noise_nsecs)); in noise_thread() 165 struct timespec ts_start, ts_now; in TEST_F() local 179 clock_gettime(CLOCK_MONOTONIC, &ts_now); in TEST_F() 180 } while (!elapsed(&ts_cs, &ts_now, variant->slice_nsecs)); in TEST_F() 210 clock_gettime(CLOCK_MONOTONIC, &ts_now); in TEST_F() 211 } while (!elapsed(&ts_start, &ts_now, variant->total_nsecs)); in TEST_F()
|
| /linux/net/ipv4/ |
| H A D | syncookies.c | 65 u64 ts, ts_now = tcp_ns_to_ts(false, now); in cookie_init_timestamp() local 74 ts = (ts_now >> TSBITS) << TSBITS; in cookie_init_timestamp() 76 if (ts > ts_now) in cookie_init_timestamp()
|