Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Dlocking.c140 u64 start_ns = 0; in btrfs_tree_read_lock_nested() local
143 start_ns = ktime_get_ns(); in btrfs_tree_read_lock_nested()
146 trace_btrfs_tree_read_lock(eb, start_ns); in btrfs_tree_read_lock_nested()
183 u64 start_ns = 0; in btrfs_tree_lock_nested() local
186 start_ns = ktime_get_ns(); in btrfs_tree_lock_nested()
190 trace_btrfs_tree_lock(eb, start_ns); in btrfs_tree_lock_nested()
/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/tools/testing/selftests/bpf/prog_tests/
H A Dreg_bounds.c1366 __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 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/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()
/linux/drivers/gpu/drm/v3d/
H A Dv3d_drv.h41 u64 start_ns; member
/linux/drivers/ptp/
H A Dptp_ocp.c207 u32 start_ns; member
2058 ktime_t start_ns; in ptp_ocp_signal_set() local
2071 start_ns = ktime_set(ts.tv_sec, ts.tv_nsec) + NSEC_PER_MSEC; in ptp_ocp_signal_set()
2074 s->start = DIV64_U64_ROUND_UP(start_ns, s->period); in ptp_ocp_signal_set()
2085 if (s->start < start_ns) in ptp_ocp_signal_set()
2136 iowrite32(ts.tv_nsec, &reg->start_ns); in ptp_ocp_signal_enable()