Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/net/
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-6.12.1/fs/btrfs/
Dlocking.c141 u64 start_ns = 0; in btrfs_tree_read_lock_nested() local
144 start_ns = ktime_get_ns(); in btrfs_tree_read_lock_nested()
147 trace_btrfs_tree_read_lock(eb, start_ns); in btrfs_tree_read_lock_nested()
199 u64 start_ns = 0; in btrfs_tree_lock_nested() local
202 start_ns = ktime_get_ns(); in btrfs_tree_lock_nested()
206 trace_btrfs_tree_lock(eb, start_ns); in btrfs_tree_lock_nested()
Dspace-info.c1541 u64 start_ns, u64 orig_bytes, in handle_reserve_ticket() argument
1580 start_ns, flush, ticket->error); in handle_reserve_ticket()
1649 u64 start_ns = 0; in __reserve_bytes() local
1727 start_ns = ktime_get_ns(); in __reserve_bytes()
1773 return handle_reserve_ticket(fs_info, space_info, &ticket, start_ns, in __reserve_bytes()
/linux-6.12.1/drivers/net/ethernet/ti/icssg/
Dicss_iep.c112 static void icss_iep_update_to_next_boundary(struct icss_iep *iep, u64 start_ns);
381 static void icss_iep_update_to_next_boundary(struct icss_iep *iep, u64 start_ns) in icss_iep_update_to_next_boundary() argument
387 if (start_ns < ns) in icss_iep_update_to_next_boundary()
388 start_ns = ns; in icss_iep_update_to_next_boundary()
391 start_ns += p_ns - 1; in icss_iep_update_to_next_boundary()
392 offset = do_div(start_ns, p_ns); in icss_iep_update_to_next_boundary()
393 start_ns = start_ns * p_ns; in icss_iep_update_to_next_boundary()
396 start_ns += p_ns; in icss_iep_update_to_next_boundary()
398 regmap_write(iep->map, ICSS_IEP_CMP1_REG0, lower_32_bits(start_ns)); in icss_iep_update_to_next_boundary()
400 regmap_write(iep->map, ICSS_IEP_CMP1_REG1, upper_32_bits(start_ns)); in icss_iep_update_to_next_boundary()
[all …]
/linux-6.12.1/tools/testing/selftests/timers/
Draw_skew.c62 long long start_ns, end_ns; in diff_timespec() local
64 start_ns = ts_to_nsec(start); in diff_timespec()
66 return end_ns - start_ns; in diff_timespec()
Dadjtick.c61 long long start_ns, end_ns; in diff_timespec() local
63 start_ns = ts_to_nsec(start); in diff_timespec()
66 return end_ns - start_ns; in diff_timespec()
/linux-6.12.1/drivers/net/ethernet/renesas/
Dravb_ptp.c224 u64 start_ns; in ravb_ptp_perout() local
227 start_ns = req->start.sec * NSEC_PER_SEC + req->start.nsec; in ravb_ptp_perout()
230 if (start_ns > U32_MAX) { in ravb_ptp_perout()
245 perout->target = (u32)start_ns; in ravb_ptp_perout()
247 error = ravb_ptp_update_compare(priv, (u32)start_ns); in ravb_ptp_perout()
/linux-6.12.1/include/trace/events/
Dbtrfs.h2236 u64 start_ns, int flush, int error),
2238 TP_ARGS(fs_info, flags, bytes, start_ns, flush, error),
2243 __field( u64, start_ns )
2251 __entry->start_ns = start_ns;
2258 __entry->bytes, __entry->start_ns,
2264 TP_PROTO(const struct extent_buffer *eb, u64 start_ns),
2266 TP_ARGS(eb, start_ns),
2271 __field( u64, start_ns )
2281 __entry->start_ns = start_ns;
2283 __entry->diff_ns = __entry->end_ns - start_ns;
[all …]
/linux-6.12.1/tools/lib/bpf/
Dringbuf.c621 __u64 start_ns, end_ns, ns_per_s = 1000000000; in ns_elapsed_timespec() local
623 start_ns = (__u64)start->tv_sec * ns_per_s + start->tv_nsec; in ns_elapsed_timespec()
626 return end_ns - start_ns; in ns_elapsed_timespec()
/linux-6.12.1/drivers/gpu/drm/v3d/
Dv3d_drv.c157 if (stats->start_ns) in v3d_get_stats()
158 *active_runtime += timestamp - stats->start_ns; in v3d_get_stats()
Dv3d_sched.c142 local_stats->start_ns = now; in v3d_job_start_stats()
146 global_stats->start_ns = now; in v3d_job_start_stats()
156 stats->enabled_ns += now - stats->start_ns; in v3d_stats_update()
158 stats->start_ns = 0; in v3d_stats_update()
Dv3d_drv.h42 u64 start_ns; member
/linux-6.12.1/tools/testing/selftests/mm/
Dmremap_test.c390 long long start_ns, end_ns, align_mask, ret, offset; in remap_region() local
541 start_ns = t_start.tv_sec * NS_PER_SEC + t_start.tv_nsec; in remap_region()
543 ret = end_ns - start_ns; in remap_region()
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/af/
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-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dreg_bounds.c1352 __u64 start_ns; member
1487 u64 elapsed_ns = get_time_ns() - ctx->start_ns; in verify_case_opt()
1767 ctx.start_ns = get_time_ns(); in validate_gen_range_vs_const_64()
1806 ctx.start_ns = get_time_ns(); in validate_gen_range_vs_const_32()
1863 ctx.start_ns = get_time_ns(); in validate_gen_range_vs_range()
1983 ctx.start_ns = get_time_ns(); in validate_rand_ranges()
/linux-6.12.1/drivers/net/ethernet/sfc/
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-6.12.1/drivers/net/ethernet/sfc/siena/
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-6.12.1/drivers/ptp/
Dptp_ocp.c208 u32 start_ns; member
2053 ktime_t start_ns; in ptp_ocp_signal_set() local
2066 start_ns = ktime_set(ts.tv_sec, ts.tv_nsec) + NSEC_PER_MSEC; in ptp_ocp_signal_set()
2069 s->start = DIV64_U64_ROUND_UP(start_ns, s->period); in ptp_ocp_signal_set()
2079 if (s->start < start_ns) in ptp_ocp_signal_set()
2130 iowrite32(ts.tv_nsec, &reg->start_ns); in ptp_ocp_signal_enable()