| /linux/tools/testing/selftests/net/ |
| H A D | stress_reuseport_listen.c | 72 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 D | raw_skew.c | 60 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 D | adjtick.c | 57 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/include/trace/events/ |
| H A D | btrfs.h | 2234 u64 start_ns, int flush, int error), 2236 TP_ARGS(fs_info, flags, bytes, start_ns, flush, error), 2241 __field( u64, start_ns ) 2249 __entry->start_ns = start_ns; 2256 __entry->bytes, __entry->start_ns, 2262 TP_PROTO(const struct extent_buffer *eb, u64 start_ns), 2264 TP_ARGS(eb, start_ns), 2269 __field( u64, start_ns ) 2279 __entry->start_ns = start_ns; 2281 __entry->diff_ns = __entry->end_ns - start_ns; [all …]
|
| /linux/drivers/gpu/drm/v3d/ |
| H A D | v3d_drv.c | 191 if (stats->start_ns) in v3d_get_stats() 192 *active_runtime += timestamp - stats->start_ns; in v3d_get_stats()
|
| /linux/fs/btrfs/ |
| H A D | space-info.c | 1654 u64 start_ns, u64 orig_bytes, in handle_reserve_ticket() argument 1694 orig_bytes, start_ns, flush, ticket->error); in handle_reserve_ticket() 1762 u64 start_ns = 0; in reserve_bytes() local 1839 start_ns = ktime_get_ns(); in reserve_bytes() 1885 return handle_reserve_ticket(space_info, &ticket, start_ns, orig_bytes, flush); in reserve_bytes()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | ptp.c | 144 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/bpf/prog_tests/ |
| H A D | reg_bounds.c | 1366 __u64 start_ns; member 1501 u64 elapsed_ns = get_time_ns() - ctx->start_ns; in verify_case_opt() 1781 ctx.start_ns = get_time_ns(); in validate_gen_range_vs_const_64() 1820 ctx.start_ns = get_time_ns(); in validate_gen_range_vs_const_32() 1877 ctx.start_ns = get_time_ns(); in validate_gen_range_vs_range() 1997 ctx.start_ns = get_time_ns(); in validate_rand_ranges()
|
| /linux/tools/testing/selftests/mm/ |
| H A D | mremap_test.c | 1000 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/drivers/net/ethernet/sfc/siena/ |
| H A D | ptp.c | 895 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 D | ptp.c | 882 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 D | ad7606.c | 874 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()
|
| /linux/drivers/ptp/ |
| H A D | ptp_ocp.c | 207 u32 start_ns; member 2060 ktime_t start_ns; in ptp_ocp_signal_set() local 2073 start_ns = ktime_set(ts.tv_sec, ts.tv_nsec) + NSEC_PER_MSEC; in ptp_ocp_signal_set() 2076 s->start = DIV64_U64_ROUND_UP(start_ns, s->period); in ptp_ocp_signal_set() 2087 if (s->start < start_ns) in ptp_ocp_signal_set() 2138 iowrite32(ts.tv_nsec, ®->start_ns); in ptp_ocp_signal_enable()
|