Home
last modified time | relevance | path

Searched refs:start_ns (Results 1 – 14 of 14) sorted by relevance

/linux/tools/testing/selftests/net/
H A Dstress_reuseport_listen.c72 unsigned long start_ns, end_ns; in main() local
93 start_ns = start_ts.tv_sec * NSEC_PER_SEC + start_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/tools/testing/selftests/timers/
H A Draw_skew.c60 long long start_ns, end_ns; in diff_timespec() local
62 start_ns = ts_to_nsec(start); in diff_timespec()
64 return end_ns - start_ns; in diff_timespec()
H A Dadjtick.c57 long long start_ns, end_ns; in diff_timespec() local
59 start_ns = ts_to_nsec(start); in diff_timespec()
62 return end_ns - start_ns; in diff_timespec()
/linux/drivers/net/ethernet/renesas/
H A Dravb_ptp.c213 u64 start_ns; in ravb_ptp_perout() local
216 start_ns = req->start.sec * NSEC_PER_SEC + req->start.nsec; in ravb_ptp_perout()
219 if (start_ns > U32_MAX) { in ravb_ptp_perout()
234 perout->target = (u32)start_ns; in ravb_ptp_perout()
236 error = ravb_ptp_update_compare(priv, (u32)start_ns); in ravb_ptp_perout()
/linux/arch/riscv/kernel/
H A Dunaligned_access_speed.c34 u64 start_ns; in measure_cycles() local
45 start_ns = ktime_get_mono_fast_ns(); in measure_cycles()
46 while (ktime_get_mono_fast_ns() < start_ns + MISALIGNED_ACCESS_NS) { in measure_cycles()
/linux/tools/lib/bpf/
H A Dringbuf.c622 __u64 start_ns, end_ns, ns_per_s = 1000000000; in ns_elapsed_timespec() local
624 start_ns = (__u64)start->tv_sec * ns_per_s + start->tv_nsec; in ns_elapsed_timespec()
627 return end_ns - start_ns; in ns_elapsed_timespec()
/linux/include/trace/events/
H A Dbtrfs.h3141 u64 start_ns, int flush, int error),
3143 TP_ARGS(fs_info, flags, bytes, start_ns, flush, error),
3148 __field( u64, start_ns )
3156 __entry->start_ns = start_ns;
3163 __entry->bytes, __entry->start_ns,
3169 TP_PROTO(const struct extent_buffer *eb, u64 start_ns),
3171 TP_ARGS(eb, start_ns),
3176 __field( u64, start_ns )
3186 __entry->start_ns = start_ns;
3188 __entry->diff_ns = __entry->end_ns - start_ns;
[all …]
/linux/fs/btrfs/
H A Dspace-info.c1686 u64 start_ns, u64 orig_bytes, in handle_reserve_ticket() argument
1727 orig_bytes, start_ns, flush, ticket->error); in handle_reserve_ticket()
1795 u64 start_ns = 0; in reserve_bytes() local
1872 start_ns = ktime_get_ns(); in reserve_bytes()
1918 return handle_reserve_ticket(space_info, &ticket, start_ns, orig_bytes, flush); in reserve_bytes()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dptp.c144 static void ptp_hrtimer_start(struct ptp *ptp, ktime_t start_ns) in ptp_hrtimer_start() argument
148 period_ns = ktime_set(0, (NSEC_PER_SEC + 100 - start_ns)); in ptp_hrtimer_start()
/linux/tools/testing/selftests/mm/
H A Dmremap_test.c978 long long start_ns, end_ns, align_mask, ret, offset; in mremap_move_multi_invalid_vmas()
1063 start_ns = t_start.tv_sec * NS_PER_SEC + t_start.tv_nsec; in remap_region()
1065 ret = end_ns - start_ns; in remap_region()
1000 long long start_ns, end_ns, align_mask, ret, offset; remap_region() local
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dreg_bounds.c1510 __u64 start_ns; in verify_case_op()
1650 u64 elapsed_ns = get_time_ns() - ctx->start_ns; in gen_vals()
1930 ctx.start_ns = get_time_ns();
1969 ctx.start_ns = get_time_ns(); in validate_gen_range_vs_range()
2026 ctx.start_ns = get_time_ns(); in test_reg_bounds_gen_ranges_u32_u64()
2146 ctx.start_ns = get_time_ns();
1455 __u64 start_ns; global() member
/linux/drivers/net/ethernet/sfc/siena/
H A Dptp.c895 unsigned start_ns, end_ns; in efx_ptp_read_timeset() local
904 start_ns = timeset->host_start & MC_NANOSECOND_MASK; in efx_ptp_read_timeset()
907 if (end_ns < start_ns) in efx_ptp_read_timeset()
910 timeset->window = end_ns - start_ns; in efx_ptp_read_timeset()
/linux/drivers/net/ethernet/sfc/
H A Dptp.c882 unsigned start_ns, end_ns; in efx_ptp_read_timeset() local
891 start_ns = timeset->host_start & MC_NANOSECOND_MASK; in efx_ptp_read_timeset()
894 if (end_ns < start_ns) in efx_ptp_read_timeset()
897 timeset->window = end_ns - start_ns; in efx_ptp_read_timeset()
/linux/drivers/ptp/
H A Dptp_ocp.c222 u32 start_ns; member
2322 ktime_t start_ns; in ptp_ocp_signal_set() local
2335 start_ns = ktime_set(ts.tv_sec, ts.tv_nsec) + NSEC_PER_MSEC; in ptp_ocp_signal_set()
2338 s->start = DIV64_U64_ROUND_UP(start_ns, s->period); in ptp_ocp_signal_set()
2349 if (s->start < start_ns) in ptp_ocp_signal_set()
2400 iowrite32(ts.tv_nsec, &reg->start_ns); in ptp_ocp_signal_enable()