Home
last modified time | relevance | path

Searched refs:ktime_to_ns (Results 76 – 100 of 187) sorted by relevance

12345678

/openbmc/linux/drivers/net/ethernet/intel/igc/
H A Digc_ptp.c1143 timespec64_add_ns(&ts, ktime_to_ns(delta)); in igc_ptp_time_restore()
1259 ktime_to_ns(ktime_get_real())); in igc_ptp_reset()
/openbmc/linux/fs/dlm/
H A Ddebug_fs.c254 (unsigned long long)ktime_to_ns(lkb->lkb_timestamp), in print_format3_lock()
255 (unsigned long long)ktime_to_ns(lkb->lkb_last_bast_time)); in print_format3_lock()
/openbmc/linux/drivers/accel/habanalabs/common/
H A Ddevice.c2544 razwi_info->razwi.timestamp = ktime_to_ns(ktime_get()); in hl_capture_razwi()
2633 pgf_info->page_fault.timestamp = ktime_to_ns(ktime_get()); in hl_capture_page_fault()
2658 info->event.timestamp = ktime_to_ns(ktime_get()); in hl_capture_hw_err()
2680 info->event.timestamp = ktime_to_ns(ktime_get()); in hl_capture_fw_err()
H A Dstate_dump.c690 ktime_to_ns(ktime_get())); in hl_state_dump()
H A Dcommand_submission.c617 mcs_compl->timestamp = ktime_to_ns(fence->timestamp); in complete_multi_cs()
2691 *timestamp = ktime_to_ns(timestamp_kt); in hl_wait_for_fence()
2838 mcs_data->timestamp = ktime_to_ns(first_cs_time); in hl_cs_poll_fences()
3432 *timestamp = ktime_to_ns(pend->fence.timestamp); in _hl_interrupt_wait_ioctl()
3558 *timestamp = ktime_to_ns(pend->fence.timestamp); in _hl_interrupt_wait_ioctl_user_addr()
/openbmc/linux/net/sched/
H A Dsch_etf.c132 qdisc_watchdog_schedule_ns(&q->watchdog, ktime_to_ns(next)); in reset_watchdog()
/openbmc/linux/drivers/ptp/
H A Dptp_clock.c129 delta = ktime_to_ns(kt); in ptp_clock_adjtime()
/openbmc/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs-clt-sysfs.c370 ktime_to_ns(clt_path->s.hb_cur_latency)); in rtrs_clt_cur_latency_show()
/openbmc/u-boot/fs/ubifs/
H A Dio.c463 div_u64(ktime_to_ns(wbuf->softlimit), USEC_PER_SEC), in new_wbuf_timer_nolock()
464 div_u64(ktime_to_ns(wbuf->softlimit) + wbuf->delta, in new_wbuf_timer_nolock()
/openbmc/linux/fs/gfs2/
H A Dlock_dlm.c84 rtt = ktime_to_ns(ktime_sub(ktime_get_real(), gl->gl_dstamp)); in gfs2_update_reply_times()
112 irt = ktime_to_ns(ktime_sub(gl->gl_dstamp, dstamp)); in gfs2_update_request_times()
/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_context.c106 nctx, engine->name, ktime_to_ns(times[1] - times[0])); in live_nop_switch()
172 ktime_to_ns(times[0]), in live_nop_switch()
173 prime - 1, div64_u64(ktime_to_ns(times[1]), prime - 1)); in live_nop_switch()
/openbmc/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_ptp.c428 timecounter_init(&ptp->tc, &ptp->cc, ktime_to_ns(ktime_get_real())); in qede_ptp_init()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ptp.c442 ktime_to_ns(ktime_get_real())); in otx2_ptp_init()
/openbmc/linux/kernel/time/
H A Dclockevents.c326 delta = ktime_to_ns(ktime_sub(expires, ktime_get())); in clockevents_program_event()
/openbmc/linux/drivers/net/dsa/mv88e6xxx/
H A Dptp.c490 ktime_to_ns(ktime_get_real())); in mv88e6xxx_ptp_setup()
H A Dhwtstamp.c423 ps->port_id, ktime_to_ns(shhwtstamps.hwtstamp), in mv88e6xxx_txtstamp_work()
/openbmc/linux/net/psample/
H A Dpsample.c458 ktime_to_ns(tstamp), PSAMPLE_ATTR_PAD); in psample_sample_packet()
/openbmc/linux/net/rxrpc/
H A Dio_thread.c536 s64 delay_ns = ktime_to_ns(ktime_sub(tstamp, now)); in rxrpc_io_thread()
/openbmc/linux/net/core/
H A Dpktgen.c2270 remaining = ktime_to_ns(hrtimer_expires_remaining(&t.timer)); in spin()
2294 pkt_dev->idle_acc += ktime_to_ns(ktime_sub(end_time, start_time)); in spin()
3288 ktime_to_ns(elapsed)); in show_results()
3299 bps = div64_u64(bps * 8 * NSEC_PER_SEC, ktime_to_ns(elapsed)); in show_results()
3422 pkt_dev->idle_acc += ktime_to_ns(ktime_sub(ktime_get(), idle_start)); in pktgen_resched()
3438 pkt_dev->idle_acc += ktime_to_ns(ktime_sub(ktime_get(), idle_start)); in pktgen_wait_for_skb()
/openbmc/linux/fs/ubifs/
H A Dio.c527 div_u64(ktime_to_ns(softlimit), USEC_PER_SEC), in new_wbuf_timer_nolock()
528 div_u64(ktime_to_ns(softlimit) + delta, USEC_PER_SEC)); in new_wbuf_timer_nolock()
/openbmc/linux/drivers/base/power/
H A Ddomain.c576 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in _genpd_power_on()
627 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in _genpd_power_off()
972 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in genpd_runtime_suspend()
1051 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in genpd_runtime_resume()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dptp.c123 delta_ns = ktime_to_ns(ktime_sub(curr_ts, ptp->last_ts)); in ptp_reset_thresh()
/openbmc/linux/drivers/md/
H A Ddm-stats.c534 now = ktime_to_ns(ktime_get()); in dm_stat_round()
702 stats_aux->duration_ns = ktime_to_ns(ktime_get()) - stats_aux->duration_ns; in dm_stats_account_io()
/openbmc/linux/net/mac80211/
H A Dstatus.c658 ktime_to_ns(skb_hwtstamps(orig_skb)->hwtstamp); in ieee80211_report_ack_skb()
659 status.ack_tstamp = ktime_to_ns(ack_hwtstamp); in ieee80211_report_ack_skb()
/openbmc/linux/arch/mips/kvm/
H A Demulate.c333 now_ns = ktime_to_ns(now); in kvm_mips_ktime_to_count()
922 if (count_resume < 0 || count_resume > ktime_to_ns(ktime_get())) in kvm_mips_set_count_resume()

12345678