Searched refs:ts_delta (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/include/linux/ |
D | time64.h | 71 struct timespec64 ts_delta; in timespec64_add() local 72 set_normalized_timespec64(&ts_delta, lhs.tv_sec + rhs.tv_sec, in timespec64_add() 74 return ts_delta; in timespec64_add() 83 struct timespec64 ts_delta; in timespec64_sub() local 84 set_normalized_timespec64(&ts_delta, lhs.tv_sec - rhs.tv_sec, in timespec64_sub() 86 return ts_delta; in timespec64_sub()
|
/linux-6.6.21/tools/testing/selftests/net/ |
D | txtimestamp.c | 122 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, "%" PRId64 " ns", ts_delta); in __print_ts_delta_formatted() 175 fprintf(stderr, "%" PRId64 " us", ts_delta / NSEC_PER_USEC); in __print_ts_delta_formatted() 181 int64_t ts_delta; in __print_timestamp() local [all …]
|
/linux-6.6.21/kernel/ |
D | smp.c | 220 u64 ts2, ts_delta; in csd_lock_wait_toolong() local 236 ts_delta = ts2 - *ts1; in csd_lock_wait_toolong() 237 if (likely(ts_delta <= csd_lock_timeout_ns || csd_lock_timeout_ns == 0)) in csd_lock_wait_toolong() 250 ts_delta = ts2 - ts0; in csd_lock_wait_toolong() 252 firsttime ? "Detected" : "Continued", *bug_id, raw_smp_processor_id(), ts_delta, in csd_lock_wait_toolong() 259 BUG_ON(panic_on_ipistall > 0 && (s64)ts_delta > ((s64)panic_on_ipistall * NSEC_PER_MSEC)); in csd_lock_wait_toolong()
|
/linux-6.6.21/kernel/time/ |
D | timekeeping.c | 1315 struct timespec64 ts_delta, xt; in do_settimeofday64() local 1328 ts_delta = timespec64_sub(*ts, xt); in do_settimeofday64() 1330 if (timespec64_compare(&tk->wall_to_monotonic, &ts_delta) > 0) { in do_settimeofday64() 1335 tk_set_wall_to_mono(tk, timespec64_sub(tk->wall_to_monotonic, ts_delta)); in do_settimeofday64() 1348 audit_tk_injoffset(ts_delta); in do_settimeofday64() 1782 struct timespec64 ts_new, ts_delta; in timekeeping_resume() local 1809 ts_delta = ns_to_timespec64(nsec); in timekeeping_resume() 1812 ts_delta = timespec64_sub(ts_new, timekeeping_suspend_time); in timekeeping_resume() 1818 __timekeeping_inject_sleeptime(tk, &ts_delta); in timekeeping_resume()
|
/linux-6.6.21/include/linux/qed/ |
D | eth_common.h | 250 __le32 ts_delta; member
|