Home
last modified time | relevance | path

Searched refs:start_ns (Results 1 – 12 of 12) 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/arch/riscv/kernel/
H A Dunaligned_access_speed.c37 u64 start_ns; in measure_cycles() local
48 start_ns = ktime_get_mono_fast_ns(); in measure_cycles()
49 while (ktime_get_mono_fast_ns() < start_ns + MISALIGNED_ACCESS_NS) { in measure_cycles()
/linux/include/trace/events/
H A Dbtrfs.h2259 u64 start_ns, int flush, int error),
2261 TP_ARGS(fs_info, flags, bytes, start_ns, flush, error),
2266 __field( u64, start_ns )
2274 __entry->start_ns = start_ns;
2281 __entry->bytes, __entry->start_ns,
2287 TP_PROTO(const struct extent_buffer *eb, u64 start_ns),
2289 TP_ARGS(eb, start_ns),
2294 __field( u64, start_ns )
2304 __entry->start_ns = start_ns;
2306 __entry->diff_ns = __entry->end_ns - start_ns;
[all …]
/linux/fs/btrfs/
H A Dspace-info.c1679 u64 start_ns, u64 orig_bytes, in handle_reserve_ticket() argument
1719 orig_bytes, start_ns, flush, ticket->error); in handle_reserve_ticket()
1787 u64 start_ns = 0; in reserve_bytes() local
1864 start_ns = ktime_get_ns(); in reserve_bytes()
1910 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.c1000 long long start_ns, end_ns, align_mask, ret, offset; in remap_region() local
1152 start_ns = t_start.tv_sec * NS_PER_SEC + t_start.tv_nsec; in remap_region()
1154 ret = end_ns - start_ns; in remap_region()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dreg_bounds.c1455 __u64 start_ns; member
1590 u64 elapsed_ns = get_time_ns() - ctx->start_ns; in verify_case_opt()
1870 ctx.start_ns = get_time_ns(); in validate_gen_range_vs_const_64()
1909 ctx.start_ns = get_time_ns(); in validate_gen_range_vs_const_32()
1966 ctx.start_ns = get_time_ns(); in validate_gen_range_vs_range()
2086 ctx.start_ns = get_time_ns(); in validate_rand_ranges()
/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/iio/adc/
H A Dad7606.c874 int wreg, start_ns, step_ns, stop_ns; in ad7606_set_calib_phase() local
879 start_ns = st->chip_info->calib_phase_avail[0][1]; in ad7606_set_calib_phase()
887 if (val2 < start_ns || val2 > stop_ns) in ad7606_set_calib_phase()