/Linux-v4.19/kernel/time/ |
D | timer_list.c | 71 (unsigned long long)ktime_to_ns(hrtimer_get_softexpires(timer)), in print_timer() 72 (unsigned long long)ktime_to_ns(hrtimer_get_expires(timer)), in print_timer() 73 (long long)(ktime_to_ns(hrtimer_get_softexpires(timer)) - now), in print_timer() 74 (long long)(ktime_to_ns(hrtimer_get_expires(timer)) - now)); in print_timer() 129 (unsigned long long) ktime_to_ns(base->offset)); in print_base() 132 print_active_timers(m, base, now + ktime_to_ns(base->offset)); in print_base() 150 (unsigned long long)(ktime_to_ns(cpu_base->x))) in print_cpu() 169 (unsigned long long)(ktime_to_ns(ts->x))) in print_cpu() 224 (unsigned long long) ktime_to_ns(dev->next_event)); in print_tickdevice() 309 u64 now = ktime_to_ns(ktime_get()); in sysrq_timer_list_show() [all …]
|
D | itimer.c | 161 nval = ktime_to_ns(timeval_to_ktime(value->it_value)); in set_cpu_itimer() 162 ninterval = ktime_to_ns(timeval_to_ktime(value->it_interval)); in set_cpu_itimer()
|
/Linux-v4.19/drivers/gpu/drm/i915/selftests/ |
D | i915_timeline.c | 133 __func__, count, (long long)div64_ul(ktime_to_ns(kt), count)); in bench_sync() 134 prng32_1M = div64_ul(ktime_to_ns(kt) << 20, count); in bench_sync() 150 __func__, count, (long long)div64_ul(ktime_to_ns(kt), count)); in bench_sync() 168 __func__, count, (long long)div64_ul(ktime_to_ns(kt), count)); in bench_sync() 184 __func__, count, (long long)div64_ul(ktime_to_ns(kt), count)); in bench_sync() 198 __func__, count, (long long)div64_ul(ktime_to_ns(kt), count)); in bench_sync() 222 __func__, count, (long long)div64_ul(ktime_to_ns(kt), count)); in bench_sync() 251 (long long)div64_ul(ktime_to_ns(kt), count)); in bench_sync()
|
D | i915_request.c | 400 ktime_to_ns(times[0]), in live_nop_request() 401 prime, div64_u64(ktime_to_ns(times[1]), prime)); in live_nop_request() 545 ktime_to_ns(times[0]), in live_empty_request() 546 prime, div64_u64(ktime_to_ns(times[1]), prime)); in live_empty_request()
|
/Linux-v4.19/include/linux/ |
D | timekeeping.h | 126 return ktime_to_ns(ktime_get()); in ktime_get_ns() 131 return ktime_to_ns(ktime_get_real()); in ktime_get_real_ns() 136 return ktime_to_ns(ktime_get_boottime()); in ktime_get_boot_ns() 141 return ktime_to_ns(ktime_get_clocktai()); in ktime_get_tai_ns() 146 return ktime_to_ns(ktime_get_raw()); in ktime_get_raw_ns()
|
D | hrtimer.h | 280 return ktime_to_ns(timer->node.expires); in hrtimer_get_expires_ns() 411 delta = ktime_to_ns(ktime_sub(hard, soft)); in hrtimer_start_expires()
|
/Linux-v4.19/drivers/media/rc/ |
D | serial_ir.c | 244 delta = ktime_to_ns(ktime_sub(edge, now)); in send_pulse_homebrew_softcarrier() 252 delta = ktime_to_ns(ktime_sub(edge, now)); in send_pulse_homebrew_softcarrier() 366 dcd, sense, ktime_to_ns(kt), in serial_ir_irq_handler() 367 ktime_to_ns(serial_ir.lastkt)); in serial_ir_irq_handler() 378 dcd, sense, ktime_to_ns(kt), in serial_ir_irq_handler() 379 ktime_to_ns(serial_ir.lastkt)); in serial_ir_irq_handler() 387 data = ktime_to_ns(delkt); in serial_ir_irq_handler()
|
D | gpio-ir-tx.c | 104 delta = ktime_to_ns(ktime_sub(edge, in gpio_ir_tx() 110 delta = ktime_to_ns(ktime_sub(edge, in gpio_ir_tx()
|
D | rc-ir-raw.c | 111 ev.duration = ktime_to_ns(ktime_sub(now, dev->raw->last_event)); in ir_raw_event_store_edge() 564 if (ktime_to_ns(interval) >= dev->timeout) { in ir_raw_edge_handle() 568 ev.duration = ktime_to_ns(interval); in ir_raw_edge_handle() 574 ktime_to_ns(interval))); in ir_raw_edge_handle()
|
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | head.c | 71 args->v0.time[0] = ktime_to_ns(ktime_get()); in nvkm_head_mthd_scanoutpos() 73 args->v0.time[1] = ktime_to_ns(ktime_get()); in nvkm_head_mthd_scanoutpos()
|
/Linux-v4.19/fs/ocfs2/cluster/ |
D | netdebug.c | 285 # define sc_tv_acquiry_total_ns(_s) (ktime_to_ns((_s)->sc_tv_acquiry_total)) 286 # define sc_tv_send_total_ns(_s) (ktime_to_ns((_s)->sc_tv_send_total)) 287 # define sc_tv_status_total_ns(_s) (ktime_to_ns((_s)->sc_tv_status_total)) 288 # define sc_tv_process_total_ns(_s) (ktime_to_ns((_s)->sc_tv_process_total))
|
/Linux-v4.19/kernel/ |
D | async.c | 134 (long long)ktime_to_ns(delta) >> 10); in async_run_entry_fn() 304 (long long)ktime_to_ns(delta) >> 10); in async_synchronize_cookie_domain()
|
/Linux-v4.19/net/sched/ |
D | sch_cake.c | 452 if (ktime_to_ns(ktime_sub(now, vars->blue_timer)) > p->target) { in cobalt_queue_full() 477 ktime_to_ns(ktime_sub(now, vars->blue_timer)) > p->target) { in cobalt_queue_empty() 487 if (vars->count && ktime_to_ns(ktime_sub(now, vars->drop_next)) >= 0) { in cobalt_queue_empty() 526 sojourn = ktime_to_ns(ktime_sub(now, cobalt_get_enqueue_time(skb))); in cobalt_should_drop() 531 next_due = vars->count && ktime_to_ns(schedule) >= 0; in cobalt_should_drop() 568 next_due = vars->count && ktime_to_ns(schedule) >= 0; in cobalt_should_drop() 579 else if (ktime_to_ns(schedule) > 0 && !drop) in cobalt_should_drop() 1655 min(ktime_to_ns(q->time_next_packet), in cake_enqueue() 1656 ktime_to_ns( in cake_enqueue() 1741 ktime_to_ns(ktime_sub(now, q->last_packet_time)); in cake_enqueue() [all …]
|
/Linux-v4.19/drivers/infiniband/hw/hfi1/ |
D | aspm.h | 197 close_interrupts = ktime_to_ns(ktime_sub(now, prev)) < ASPM_TRIGGER_NS; in aspm_ctx_disable() 200 restart_timer = ktime_to_ns(ktime_sub(now, rcd->aspm_ts_timer_sched)) > in aspm_ctx_disable()
|
/Linux-v4.19/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_core.c | 91 if (ktime_to_ns(time_ref->tv_host) > 0) { in peak_usb_update_ts_now() 106 if (ktime_to_ns(time_ref->tv_host_0) == 0) { in peak_usb_set_ts_now() 116 if (ktime_to_ns(time_ref->tv_host)) { in peak_usb_set_ts_now() 119 if (ktime_to_ns(delta) > (4200ull * NSEC_PER_SEC)) { in peak_usb_set_ts_now() 139 if (ktime_to_ns(time_ref->tv_host)) { in peak_usb_get_ts_time()
|
/Linux-v4.19/samples/kprobes/ |
D | kretprobe_example.c | 64 delta = ktime_to_ns(ktime_sub(now, data->entry_stamp)); in ret_handler()
|
/Linux-v4.19/drivers/base/power/ |
D | wakeup.c | 653 if (ktime_to_ns(duration) > ktime_to_ns(ws->max_time)) in wakeup_source_deactivate() 819 ktime_to_ns(ws->last_time) > in pm_print_active_wakeup_sources() 820 ktime_to_ns(last_activity_ws->last_time))) { in pm_print_active_wakeup_sources()
|
/Linux-v4.19/net/rxrpc/ |
D | call_event.c | 224 ktime_to_ns(ktime_sub(skb->tstamp, max_age))); in rxrpc_resend() 227 resend_at = nsecs_to_jiffies(ktime_to_ns(ktime_sub(now, oldest))); in rxrpc_resend() 243 if (ktime_to_ns(ack_ts) < call->peer->rtt) in rxrpc_resend()
|
/Linux-v4.19/drivers/media/cec/ |
D | cec-pin.c | 671 pin->rx_start_bit_low_too_short_ts = ktime_to_ns(pin->ts); in cec_pin_rx_states() 703 pin->rx_start_bit_too_short_ts = ktime_to_ns(pin->ts); in cec_pin_rx_states() 773 pin->rx_data_bit_too_short_ts = ktime_to_ns(pin->ts); in cec_pin_rx_states() 818 pin->work_rx_msg.rx_ts = ktime_to_ns(ts); in cec_pin_rx_states() 850 if (ktime_to_ns(pin->timer_ts)) { in cec_pin_timer() 940 if (ktime_to_ns(pin->ts) == 0) in cec_pin_timer()
|
/Linux-v4.19/drivers/gpu/drm/ |
D | drm_vblank.c | 223 u64 diff_ns = ktime_to_ns(ktime_sub(t_vblank, vblank->time)); in drm_update_vblank_count() 651 duration_ns = ktime_to_ns(etime) - ktime_to_ns(stime); in drm_calc_vbltimestamp_from_scanoutpos() 834 e->event.seq.time_ns = ktime_to_ns(now); in send_vblank_event() 1287 diff_ns = ktime_to_ns(ktime_sub(t_vblank, vblank->time)); in drm_vblank_restore() 1802 get_seq->sequence_ns = ktime_to_ns(now); in drm_crtc_get_sequence_ioctl()
|
/Linux-v4.19/arch/x86/kvm/ |
D | i8254.c | 101 elapsed = ps->period - ktime_to_ns(remaining); in __kpit_elapsed() 112 return ktime_to_ns(ktime_sub(ktime_get(), c->count_load_time)); in kpit_elapsed() 602 refresh_clock = ((unsigned int)ktime_to_ns(ktime_get()) >> 14) & 1; in speaker_ioport_read()
|
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/timer/ |
D | base.c | 129 tmr->func->time(tmr, ktime_to_ns(ktime_get())); in nvkm_timer_init()
|
/Linux-v4.19/net/bluetooth/ |
D | selftest.c | 240 duration = (unsigned long long) ktime_to_ns(delta) >> 10; in test_ecdh()
|
/Linux-v4.19/kernel/sched/ |
D | rt.c | 196 ktime_to_ns(def_rt_bandwidth.rt_period), 0); in alloc_rt_sched_group() 451 return ktime_to_ns(rt_rq->tg->rt_bandwidth.rt_period); in sched_rt_period() 571 return ktime_to_ns(def_rt_bandwidth.rt_period); in sched_rt_period() 648 rt_period = ktime_to_ns(rt_b->rt_period); in do_balance_runtime() 2447 period = ktime_to_ns(tg->rt_bandwidth.rt_period); in tg_rt_schedulable() 2479 period = ktime_to_ns(child->rt_bandwidth.rt_period); in tg_rt_schedulable() 2558 rt_period = ktime_to_ns(tg->rt_bandwidth.rt_period); in sched_group_set_rt_runtime() 2592 rt_period_us = ktime_to_ns(tg->rt_bandwidth.rt_period); in sched_group_rt_period()
|
/Linux-v4.19/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ptp.c | 267 ktime_to_ns(ktime_get_real())); in xgbe_ptp_register()
|