Home
last modified time | relevance | path

Searched refs:end_ns (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/tools/testing/selftests/net/
Dstress_reuseport_listen.c72 unsigned long start_ns, end_ns; in main() local
94 end_ns = end_ts.tv_sec * NSEC_PER_SEC + end_ts.tv_nsec; in main()
97 (end_ns - start_ns) / NSEC_PER_SEC, in main()
98 (end_ns - start_ns) / NSEC_PER_USEC); in main()
/linux-6.6.21/tools/testing/selftests/timers/
Draw_skew.c62 long long start_ns, end_ns; in diff_timespec() local
65 end_ns = ts_to_nsec(end); in diff_timespec()
66 return end_ns - start_ns; in diff_timespec()
Dadjtick.c61 long long start_ns, end_ns; in diff_timespec() local
64 end_ns = ts_to_nsec(end); in diff_timespec()
66 return end_ns - start_ns; in diff_timespec()
/linux-6.6.21/tools/testing/selftests/mm/
Dmremap_test.c283 long long start_ns, end_ns, align_mask, ret, offset; in remap_region() local
351 end_ns = t_end.tv_sec * NS_PER_SEC + t_end.tv_nsec; in remap_region()
352 ret = end_ns - start_ns; in remap_region()
/linux-6.6.21/tools/lib/bpf/
Dringbuf.c525 __u64 start_ns, end_ns, ns_per_s = 1000000000; in ns_elapsed_timespec() local
528 end_ns = (__u64)end->tv_sec * ns_per_s + end->tv_nsec; in ns_elapsed_timespec()
530 return end_ns - start_ns; in ns_elapsed_timespec()
/linux-6.6.21/drivers/net/ethernet/sfc/
Dptp.c876 unsigned start_ns, end_ns; in efx_ptp_read_timeset() local
886 end_ns = timeset->host_end & MC_NANOSECOND_MASK; in efx_ptp_read_timeset()
888 if (end_ns < start_ns) in efx_ptp_read_timeset()
889 end_ns += NSEC_PER_SEC; in efx_ptp_read_timeset()
891 timeset->window = end_ns - start_ns; in efx_ptp_read_timeset()
/linux-6.6.21/drivers/net/ethernet/sfc/siena/
Dptp.c895 unsigned start_ns, end_ns; in efx_ptp_read_timeset() local
905 end_ns = timeset->host_end & MC_NANOSECOND_MASK; in efx_ptp_read_timeset()
907 if (end_ns < start_ns) in efx_ptp_read_timeset()
908 end_ns += NSEC_PER_SEC; in efx_ptp_read_timeset()
910 timeset->window = end_ns - start_ns; in efx_ptp_read_timeset()
/linux-6.6.21/include/trace/events/
Dbtrfs.h2319 __field( u64, end_ns )
2329 __entry->end_ns = ktime_get_ns();
2330 __entry->diff_ns = __entry->end_ns - start_ns;
2338 __entry->start_ns, __entry->end_ns, __entry->diff_ns,