Home
last modified time | relevance | path

Searched refs:ts_delta (Results 1 – 5 of 5) sorted by relevance

/linux/include/linux/
A Dtime64.h68 struct timespec64 ts_delta; in timespec64_add() local
69 set_normalized_timespec64(&ts_delta, lhs.tv_sec + rhs.tv_sec, in timespec64_add()
71 return ts_delta; in timespec64_add()
80 struct timespec64 ts_delta; in timespec64_sub() local
81 set_normalized_timespec64(&ts_delta, lhs.tv_sec - rhs.tv_sec, in timespec64_sub()
83 return ts_delta; in timespec64_sub()
/linux/tools/testing/selftests/net/
A Dtxtimestamp.c125 if (ts_delta < te->min) in add_timing_event()
126 te->min = ts_delta; in add_timing_event()
127 if (ts_delta > te->max) in add_timing_event()
128 te->max = ts_delta; in add_timing_event()
129 te->total += ts_delta; in add_timing_event()
170 static void __print_ts_delta_formatted(int64_t ts_delta) in __print_ts_delta_formatted() argument
173 fprintf(stderr, "%lu ns", ts_delta); in __print_ts_delta_formatted()
175 fprintf(stderr, "%lu us", ts_delta / NSEC_PER_USEC); in __print_ts_delta_formatted()
181 int64_t ts_delta; in __print_timestamp() local
196 ts_delta = timespec_to_ns64(cur) - timespec_to_ns64(&ts_usr); in __print_timestamp()
[all …]
/linux/kernel/time/
A Dtimekeeping.c1296 struct timespec64 ts_delta, xt; in do_settimeofday64() local
1309 ts_delta = timespec64_sub(*ts, xt); in do_settimeofday64()
1311 if (timespec64_compare(&tk->wall_to_monotonic, &ts_delta) > 0) { in do_settimeofday64()
1316 tk_set_wall_to_mono(tk, timespec64_sub(tk->wall_to_monotonic, ts_delta)); in do_settimeofday64()
1329 audit_tk_injoffset(ts_delta); in do_settimeofday64()
1761 struct timespec64 ts_new, ts_delta; in timekeeping_resume() local
1788 ts_delta = ns_to_timespec64(nsec); in timekeeping_resume()
1791 ts_delta = timespec64_sub(ts_new, timekeeping_suspend_time); in timekeeping_resume()
1797 __timekeeping_inject_sleeptime(tk, &ts_delta); in timekeeping_resume()
/linux/kernel/
A Dsmp.c329 u64 ts2, ts_delta; in csd_lock_wait_toolong() local
343 ts_delta = ts2 - *ts1; in csd_lock_wait_toolong()
344 if (likely(ts_delta <= CSD_LOCK_TIMEOUT)) in csd_lock_wait_toolong()
/linux/include/linux/qed/
A Deth_common.h250 __le32 ts_delta; member

Completed in 17 milliseconds