/openbmc/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()
|
/openbmc/linux/fs/btrfs/ |
H A D | locking.c | 131 u64 start_ns = 0; in __btrfs_tree_read_lock() local 134 start_ns = ktime_get_ns(); in __btrfs_tree_read_lock() 137 trace_btrfs_tree_read_lock(eb, start_ns); in __btrfs_tree_read_lock() 193 u64 start_ns = 0; in __btrfs_tree_lock() local 196 start_ns = ktime_get_ns(); in __btrfs_tree_lock() 200 trace_btrfs_tree_lock(eb, start_ns); in __btrfs_tree_lock()
|
H A D | space-info.c | 1504 u64 start_ns, u64 orig_bytes, in handle_reserve_ticket() argument 1543 start_ns, flush, ticket->error); in handle_reserve_ticket() 1612 u64 start_ns = 0; in __reserve_bytes() local 1690 start_ns = ktime_get_ns(); in __reserve_bytes() 1736 return handle_reserve_ticket(fs_info, space_info, &ticket, start_ns, in __reserve_bytes()
|
/openbmc/linux/drivers/net/ethernet/ti/icssg/ |
H A D | icss_iep.c | 182 static void icss_iep_update_to_next_boundary(struct icss_iep *iep, u64 start_ns); 454 static void icss_iep_update_to_next_boundary(struct icss_iep *iep, u64 start_ns) in icss_iep_update_to_next_boundary() argument 460 if (start_ns < ns) in icss_iep_update_to_next_boundary() 461 start_ns = ns; in icss_iep_update_to_next_boundary() 464 start_ns += p_ns - 1; in icss_iep_update_to_next_boundary() 465 offset = do_div(start_ns, p_ns); in icss_iep_update_to_next_boundary() 466 start_ns = start_ns * p_ns; in icss_iep_update_to_next_boundary() 469 start_ns += p_ns; in icss_iep_update_to_next_boundary() 471 regmap_write(iep->map, ICSS_IEP_CMP1_REG0, lower_32_bits(start_ns)); in icss_iep_update_to_next_boundary() 473 regmap_write(iep->map, ICSS_IEP_CMP1_REG1, upper_32_bits(start_ns)); in icss_iep_update_to_next_boundary() [all …]
|
/openbmc/linux/tools/testing/selftests/timers/ |
H A 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()
|
H A 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()
|
/openbmc/linux/drivers/net/ethernet/renesas/ |
H A 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()
|
/openbmc/linux/include/trace/events/ |
H A D | btrfs.h | 2283 u64 start_ns, int flush, int error), 2285 TP_ARGS(fs_info, flags, bytes, start_ns, flush, error), 2290 __field( u64, start_ns ) 2298 __entry->start_ns = start_ns; 2305 __entry->bytes, __entry->start_ns, 2311 TP_PROTO(const struct extent_buffer *eb, u64 start_ns), 2313 TP_ARGS(eb, start_ns), 2318 __field( u64, start_ns ) 2328 __entry->start_ns = start_ns; 2330 __entry->diff_ns = __entry->end_ns - start_ns; [all …]
|
/openbmc/qemu/tests/bench/ |
H A D | qtree-bench.c | 144 int64_t start_ns = get_clock(); in run_benchmark() local 208 int64_t ns = get_clock() - start_ns; in run_benchmark()
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | mremap_test.c | 283 long long start_ns, end_ns, align_mask, ret, offset; in remap_region() local 350 start_ns = t_start.tv_sec * NS_PER_SEC + t_start.tv_nsec; in remap_region() 352 ret = end_ns - start_ns; in remap_region()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | ringbuf.c | 525 __u64 start_ns, end_ns, ns_per_s = 1000000000; in ns_elapsed_timespec() local 527 start_ns = (__u64)start->tv_sec * ns_per_s + start->tv_nsec; in ns_elapsed_timespec() 530 return end_ns - start_ns; in ns_elapsed_timespec()
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | ptp.c | 143 static void ptp_hrtimer_start(struct ptp *ptp, ktime_t start_ns) in ptp_hrtimer_start() argument 147 period_ns = ktime_set(0, (NSEC_PER_SEC + 100 - start_ns)); in ptp_hrtimer_start()
|
/openbmc/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()
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | ptp.c | 876 unsigned start_ns, end_ns; in efx_ptp_read_timeset() local 885 start_ns = timeset->host_start & MC_NANOSECOND_MASK; in efx_ptp_read_timeset() 888 if (end_ns < start_ns) in efx_ptp_read_timeset() 891 timeset->window = end_ns - start_ns; in efx_ptp_read_timeset()
|
/openbmc/linux/drivers/ptp/ |
H A D | ptp_ocp.c | 197 u32 start_ns; member 1828 ktime_t start_ns; in ptp_ocp_signal_set() local 1841 start_ns = ktime_set(ts.tv_sec, ts.tv_nsec) + NSEC_PER_MSEC; in ptp_ocp_signal_set() 1844 s->start = DIV64_U64_ROUND_UP(start_ns, s->period); in ptp_ocp_signal_set() 1854 if (s->start < start_ns) in ptp_ocp_signal_set() 1905 iowrite32(ts.tv_nsec, ®->start_ns); in ptp_ocp_signal_enable()
|