| /linux-6.15/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-6.15/fs/btrfs/ |
| H A D | locking.c | 140 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()
|
| H A D | space-info.c | 1562 u64 start_ns, u64 orig_bytes, in handle_reserve_ticket() argument 1601 start_ns, flush, ticket->error); in handle_reserve_ticket() 1670 u64 start_ns = 0; in __reserve_bytes() local 1746 start_ns = ktime_get_ns(); in __reserve_bytes() 1792 return handle_reserve_ticket(fs_info, space_info, &ticket, start_ns, in __reserve_bytes()
|
| /linux-6.15/drivers/net/ethernet/ti/icssg/ |
| H A D | icss_iep.c | 390 if (start_ns < ns) in icss_iep_update_to_next_boundary() 391 start_ns = ns; in icss_iep_update_to_next_boundary() 394 start_ns += p_ns - 1; in icss_iep_update_to_next_boundary() 395 offset = do_div(start_ns, p_ns); in icss_iep_update_to_next_boundary() 396 start_ns = start_ns * p_ns; in icss_iep_update_to_next_boundary() 399 start_ns += p_ns; in icss_iep_update_to_next_boundary() 401 regmap_write(iep->map, ICSS_IEP_CMP1_REG0, lower_32_bits(start_ns)); in icss_iep_update_to_next_boundary() 403 regmap_write(iep->map, ICSS_IEP_CMP1_REG1, upper_32_bits(start_ns)); in icss_iep_update_to_next_boundary() 464 u64 start_ns; in icss_iep_perout_enable_hw() local 468 start_ns = ((u64)req->period.sec * NSEC_PER_SEC) in icss_iep_perout_enable_hw() [all …]
|
| /linux-6.15/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-6.15/drivers/net/ethernet/renesas/ |
| H A D | ravb_ptp.c | 223 u64 start_ns; in ravb_ptp_perout() local 226 start_ns = req->start.sec * NSEC_PER_SEC + req->start.nsec; in ravb_ptp_perout() 229 if (start_ns > U32_MAX) { in ravb_ptp_perout() 244 perout->target = (u32)start_ns; in ravb_ptp_perout() 246 error = ravb_ptp_update_compare(priv, (u32)start_ns); in ravb_ptp_perout()
|
| /linux-6.15/include/trace/events/ |
| H A D | btrfs.h | 2240 u64 start_ns, int flush, int error), 2247 __field( u64, start_ns ) 2255 __entry->start_ns = start_ns; 2262 __entry->bytes, __entry->start_ns, 2270 TP_ARGS(eb, start_ns), 2275 __field( u64, start_ns ) 2285 __entry->start_ns = start_ns; 2287 __entry->diff_ns = __entry->end_ns - start_ns; 2295 __entry->start_ns, __entry->end_ns, __entry->diff_ns, 2302 TP_ARGS(eb, start_ns) [all …]
|
| /linux-6.15/tools/lib/bpf/ |
| H A D | ringbuf.c | 623 __u64 start_ns, end_ns, ns_per_s = 1000000000; in ns_elapsed_timespec() local 625 start_ns = (__u64)start->tv_sec * ns_per_s + start->tv_nsec; in ns_elapsed_timespec() 628 return end_ns - start_ns; in ns_elapsed_timespec()
|
| /linux-6.15/drivers/gpu/drm/v3d/ |
| H A D | v3d_drv.c | 166 if (stats->start_ns) in v3d_get_stats() 167 *active_runtime += timestamp - stats->start_ns; in v3d_get_stats()
|
| H A D | v3d_sched.c | 173 local_stats->start_ns = now; in v3d_job_start_stats() 177 global_stats->start_ns = now; in v3d_job_start_stats() 190 stats->enabled_ns += now - stats->start_ns; in v3d_stats_update() 192 stats->start_ns = 0; in v3d_stats_update()
|
| H A D | v3d_drv.h | 41 u64 start_ns; member
|
| /linux-6.15/tools/testing/selftests/mm/ |
| H A 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.15/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-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A 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.15/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-6.15/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-6.15/drivers/ptp/ |
| H A D | ptp_ocp.c | 208 u32 start_ns; member 2057 ktime_t start_ns; in ptp_ocp_signal_set() local 2070 start_ns = ktime_set(ts.tv_sec, ts.tv_nsec) + NSEC_PER_MSEC; in ptp_ocp_signal_set() 2073 s->start = DIV64_U64_ROUND_UP(start_ns, s->period); in ptp_ocp_signal_set() 2084 if (s->start < start_ns) in ptp_ocp_signal_set() 2139 iowrite32(ts.tv_nsec, ®->start_ns); in ptp_ocp_signal_enable()
|