Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dtime64.h66 struct timespec64 ts_delta; in timespec64_add() local
67 set_normalized_timespec64(&ts_delta, lhs.tv_sec + rhs.tv_sec, in timespec64_add()
69 return ts_delta; in timespec64_add()
78 struct timespec64 ts_delta; in timespec64_sub() local
79 set_normalized_timespec64(&ts_delta, lhs.tv_sec - rhs.tv_sec, in timespec64_sub()
81 return ts_delta; in timespec64_sub()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dtxtimestamp.c122 int64_t ts_delta = timespec_to_ns64(t_end) - timespec_to_ns64(t_start); in add_timing_event() local
125 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
[all …]
/kernel/linux/linux-5.10/kernel/time/
Dtimekeeping.c1302 struct timespec64 ts_delta, xt; in do_settimeofday64() local
1315 ts_delta = timespec64_sub(*ts, xt); in do_settimeofday64()
1317 if (timespec64_compare(&tk->wall_to_monotonic, &ts_delta) > 0) { in do_settimeofday64()
1322 tk_set_wall_to_mono(tk, timespec64_sub(tk->wall_to_monotonic, ts_delta)); in do_settimeofday64()
1335 audit_tk_injoffset(ts_delta); in do_settimeofday64()
1757 struct timespec64 ts_new, ts_delta; in timekeeping_resume() local
1784 ts_delta = ns_to_timespec64(nsec); in timekeeping_resume()
1787 ts_delta = timespec64_sub(ts_new, timekeeping_suspend_time); in timekeeping_resume()
1793 __timekeeping_inject_sleeptime(tk, &ts_delta); in timekeeping_resume()
/kernel/linux/linux-5.10/kernel/
Dsmp.c148 u64 ts2, ts_delta; in csd_lock_wait_toolong() local
162 ts_delta = ts2 - *ts1; in csd_lock_wait_toolong()
163 if (likely(ts_delta <= CSD_LOCK_TIMEOUT)) in csd_lock_wait_toolong()
/kernel/linux/linux-5.10/include/linux/qed/
Deth_common.h249 __le32 ts_delta; member