Home
last modified time | relevance | path

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

/openbmc/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()
/openbmc/linux/fs/btrfs/
H A Dlocking.c131 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 Dspace-info.c1505 u64 start_ns, u64 orig_bytes, in handle_reserve_ticket() argument
1544 start_ns, flush, ticket->error); in handle_reserve_ticket()
1613 u64 start_ns = 0; in __reserve_bytes() local
1691 start_ns = ktime_get_ns(); in __reserve_bytes()
1737 return handle_reserve_ticket(fs_info, space_info, &ticket, start_ns, in __reserve_bytes()
/openbmc/linux/drivers/net/ethernet/ti/icssg/
H A Dicss_iep.c462 if (start_ns < ns) in icss_iep_update_to_next_boundary()
463 start_ns = ns; in icss_iep_update_to_next_boundary()
466 start_ns += p_ns - 1; in icss_iep_update_to_next_boundary()
467 offset = do_div(start_ns, p_ns); in icss_iep_update_to_next_boundary()
468 start_ns = start_ns * p_ns; in icss_iep_update_to_next_boundary()
471 start_ns += p_ns; in icss_iep_update_to_next_boundary()
473 regmap_write(iep->map, ICSS_IEP_CMP1_REG0, lower_32_bits(start_ns)); in icss_iep_update_to_next_boundary()
475 regmap_write(iep->map, ICSS_IEP_CMP1_REG1, upper_32_bits(start_ns)); in icss_iep_update_to_next_boundary()
514 u64 start_ns; in icss_iep_perout_enable_hw() local
518 start_ns = ((u64)req->period.sec * NSEC_PER_SEC) in icss_iep_perout_enable_hw()
[all …]
/openbmc/linux/tools/testing/selftests/timers/
H A 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()
H A 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()
/openbmc/linux/drivers/net/ethernet/renesas/
H A 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()
/openbmc/linux/include/trace/events/
H A Dbtrfs.h2283 u64 start_ns, int flush, int error),
2290 __field( u64, start_ns )
2298 __entry->start_ns = start_ns;
2305 __entry->bytes, __entry->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;
2338 __entry->start_ns, __entry->end_ns, __entry->diff_ns,
2345 TP_ARGS(eb, start_ns)
[all …]
/openbmc/qemu/tests/bench/
H A Dqtree-bench.c144 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 Dmremap_test.c283 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 Dringbuf.c525 __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 Dptp.c143 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/
H A Dptp.c876 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/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()
/openbmc/linux/drivers/ptp/
H A Dptp_ocp.c197 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, &reg->start_ns); in ptp_ocp_signal_enable()