/linux-6.12.1/tools/testing/selftests/net/ |
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-6.12.1/fs/btrfs/ |
D | locking.c | 141 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()
|
D | space-info.c | 1541 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/ |
D | icss_iep.c | 112 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/ |
D | raw_skew.c | 62 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()
|
D | adjtick.c | 61 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/ |
D | ravb_ptp.c | 224 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/ |
D | btrfs.h | 2236 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/ |
D | ringbuf.c | 621 __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/ |
D | v3d_drv.c | 157 if (stats->start_ns) in v3d_get_stats() 158 *active_runtime += timestamp - stats->start_ns; in v3d_get_stats()
|
D | v3d_sched.c | 142 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()
|
D | v3d_drv.h | 42 u64 start_ns; member
|
/linux-6.12.1/tools/testing/selftests/mm/ |
D | mremap_test.c | 390 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/ |
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-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | reg_bounds.c | 1352 __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/ |
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-6.12.1/drivers/net/ethernet/sfc/siena/ |
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-6.12.1/drivers/ptp/ |
D | ptp_ocp.c | 208 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, ®->start_ns); in ptp_ocp_signal_enable()
|