/linux-4.4.14/kernel/time/ |
D | timer_list.c | 82 (unsigned long long)ktime_to_ns(hrtimer_get_softexpires(timer)), in print_timer() 83 (unsigned long long)ktime_to_ns(hrtimer_get_expires(timer)), in print_timer() 84 (long long)(ktime_to_ns(hrtimer_get_softexpires(timer)) - now), in print_timer() 85 (long long)(ktime_to_ns(hrtimer_get_expires(timer)) - now)); in print_timer() 137 (unsigned long long) ktime_to_ns(base->offset)); in print_base() 140 print_active_timers(m, base, now + ktime_to_ns(base->offset)); in print_base() 158 (unsigned long long)(ktime_to_ns(cpu_base->x))) in print_cpu() 177 (unsigned long long)(ktime_to_ns(ts->x))) in print_cpu() 230 (unsigned long long) ktime_to_ns(dev->next_event)); in print_tickdevice() 315 u64 now = ktime_to_ns(ktime_get()); in sysrq_timer_list_show() [all …]
|
D | alarmtimer.c | 257 if (ktime_to_ns(min) < 2 * NSEC_PER_SEC) { in alarmtimer_suspend() 412 s64 incr = ktime_to_ns(interval); in alarm_forward() 557 if (ktime_to_ns(relative_expiry_time) > 0) { in alarm_timer_get()
|
D | tick-sched.c | 76 s64 incr = ktime_to_ns(tick_period); in tick_do_update_jiffies64() 1110 u64 offset = ktime_to_ns(tick_period) >> 1; in tick_setup_sched_timer()
|
D | hrtimer.c | 290 dclc = ktime_to_ns(kt); in __ktime_divns() 850 s64 incr = ktime_to_ns(interval); in hrtimer_forward() 1404 ktime_to_ns(delta)); in hrtimer_interrupt()
|
D | clockevents.c | 331 delta = ktime_to_ns(ktime_sub(expires, ktime_get())); in clockevents_program_event()
|
D | timekeeping.c | 386 now = ktime_to_ns(tkr->base) + timekeeping_get_ns(tkr); in __ktime_get_fast_ns()
|
/linux-4.4.14/include/linux/ |
D | timekeeping.h | 211 return ktime_to_ns(ktime_get()); in ktime_get_ns() 216 return ktime_to_ns(ktime_get_real()); in ktime_get_real_ns() 221 return ktime_to_ns(ktime_get_boottime()); in ktime_get_boot_ns() 226 return ktime_to_ns(ktime_get_clocktai()); in ktime_get_tai_ns() 231 return ktime_to_ns(ktime_get_raw()); in ktime_get_raw_ns()
|
D | hrtimer.h | 268 return ktime_to_ns(timer->node.expires); in hrtimer_get_expires_ns() 406 delta = ktime_to_ns(ktime_sub(hard, soft)); in hrtimer_start_expires()
|
D | ktime.h | 108 #define ktime_to_ns(kt) ((kt).tv64) macro
|
/linux-4.4.14/include/trace/events/ |
D | timer.h | 186 (unsigned long long)ktime_to_ns((ktime_t) { 188 (unsigned long long)ktime_to_ns((ktime_t) { 219 (unsigned long long)ktime_to_ns((ktime_t) { .tv64 = __entry->now }))
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | rootnv04.c | 70 args->v0.time[0] = ktime_to_ns(ktime_get()); in nv04_disp_scanoutpos() 72 args->v0.time[1] = ktime_to_ns(ktime_get()); in nv04_disp_scanoutpos()
|
D | rootgf119.c | 56 args->v0.time[0] = ktime_to_ns(ktime_get()); in gf119_disp_root_scanoutpos() 59 args->v0.time[1] = ktime_to_ns(ktime_get()); in gf119_disp_root_scanoutpos()
|
D | rootnv50.c | 56 args->v0.time[0] = ktime_to_ns(ktime_get()); in nv50_disp_root_scanoutpos() 59 args->v0.time[1] = ktime_to_ns(ktime_get()); in nv50_disp_root_scanoutpos()
|
/linux-4.4.14/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-4.4.14/kernel/ |
D | async.c | 130 (long long)ktime_to_ns(delta) >> 10); in async_run_entry_fn() 300 (long long)ktime_to_ns(delta) >> 10); in async_synchronize_cookie_domain()
|
/linux-4.4.14/kernel/sched/ |
D | clock.c | 147 u64 ktime_now = ktime_to_ns(ktime_get()); in sched_clock_init() 331 now_gtod = ktime_to_ns(ktime_get()); in sched_clock_tick()
|
D | rt.c | 199 ktime_to_ns(def_rt_bandwidth.rt_period), 0); in alloc_rt_sched_group() 454 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()
|
D | debug.c | 353 ktime = ktime_to_ns(ktime_get()); in sched_debug_header()
|
D | core.c | 7856 period = ktime_to_ns(tg->rt_bandwidth.rt_period); in tg_rt_schedulable() 7888 period = ktime_to_ns(child->rt_bandwidth.rt_period); in tg_rt_schedulable() 7967 rt_period = ktime_to_ns(tg->rt_bandwidth.rt_period); in sched_group_set_rt_runtime() 8001 rt_period_us = ktime_to_ns(tg->rt_bandwidth.rt_period); in sched_group_rt_period() 8367 period = ktime_to_ns(tg->cfs_bandwidth.period); in tg_set_cfs_quota() 8403 cfs_period_us = ktime_to_ns(tg->cfs_bandwidth.period); in tg_get_cfs_period()
|
D | deadline.c | 540 delta = ktime_to_ns(now) - rq_clock(rq); in start_dl_timer()
|
D | fair.c | 3381 cfs_b->runtime_expires = now + ktime_to_ns(cfs_b->period); in __refill_cfs_bandwidth_runtime() 3791 remaining = ktime_to_ns(hrtimer_expires_remaining(refresh_timer)); in runtime_refresh_within()
|
/linux-4.4.14/samples/kprobes/ |
D | kretprobe_example.c | 64 delta = ktime_to_ns(ktime_sub(now, data->entry_stamp)); in ret_handler()
|
/linux-4.4.14/drivers/base/power/ |
D | wakeup.c | 655 if (ktime_to_ns(duration) > ktime_to_ns(ws->max_time)) in wakeup_source_deactivate() 820 ktime_to_ns(ws->last_time) > in pm_print_active_wakeup_sources() 821 ktime_to_ns(last_activity_ws->last_time))) { in pm_print_active_wakeup_sources()
|
D | domain.c | 120 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in genpd_power_on() 149 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in genpd_power_off() 430 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in pm_genpd_runtime_suspend() 501 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in pm_genpd_runtime_resume()
|
D | main.c | 212 nsecs = (s64) ktime_to_ns(ktime_sub(rettime, calltime)); in initcall_debug_report() 366 usecs64 = ktime_to_ns(ktime_sub(calltime, starttime)); in dpm_show_time()
|
/linux-4.4.14/drivers/dma-buf/ |
D | fence.c | 74 if (!ktime_to_ns(fence->timestamp)) { in fence_signal_locked() 114 if (!ktime_to_ns(fence->timestamp)) { in fence_signal()
|
/linux-4.4.14/net/bluetooth/ |
D | selftest.c | 202 duration = (unsigned long long) ktime_to_ns(delta) >> 10; in test_ecdh()
|
D | smp.c | 3757 duration = (unsigned long long) ktime_to_ns(delta) >> 10; in run_selftests()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/timer/ |
D | base.c | 118 tmr->func->time(tmr, ktime_to_ns(ktime_get())); in nvkm_timer_init()
|
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ptp.c | 267 ktime_to_ns(ktime_get_real())); in xgbe_ptp_register()
|
D | xgbe-dev.c | 1286 ktime_to_ns(ktime_get_real())); in xgbe_config_tstamp()
|
/linux-4.4.14/net/netfilter/ |
D | xt_time.c | 174 stamp = ktime_to_ns(skb->tstamp); in time_mt()
|
D | nf_conntrack_core.c | 673 tstamp->start = ktime_to_ns(skb->tstamp); in __nf_conntrack_confirm()
|
/linux-4.4.14/arch/x86/kvm/ |
D | i8254.c | 126 elapsed = ps->period - ktime_to_ns(remaining); in __kpit_elapsed() 137 return ktime_to_ns(ktime_sub(ktime_get(), c->count_load_time)); in kpit_elapsed() 630 refresh_clock = ((unsigned int)ktime_to_ns(ktime_get()) >> 14) & 1; in speaker_ioport_read()
|
D | lapic.c | 1042 if (ktime_to_ns(remaining) < 0) in apic_get_tmcct() 1045 ns = mod_64(ktime_to_ns(remaining), apic->lapic_timer.period); in apic_get_tmcct() 1301 APIC_BUS_CYCLE_NS, ktime_to_ns(now), in start_apic_timer() 1304 ktime_to_ns(ktime_add_ns(now, in start_apic_timer()
|
D | vmx.c | 8435 ktime_to_ns(ktime_sub(ktime_get(), vmx->entry_time)); in vmx_recover_nmi_blocking() 10114 if (ktime_to_ns(remaining) <= 0) in vmx_get_preemption_timer_value() 10117 value = ktime_to_ns(remaining) * vcpu->arch.virtual_tsc_khz; in vmx_get_preemption_timer_value()
|
D | x86.c | 1122 boot_ns = ktime_to_ns(ktime_add(tk->tkr_mono.base, tk->offs_boot)); in update_pvclock_gtod()
|
/linux-4.4.14/kernel/power/ |
D | wakelock.c | 115 idle_time_ns = ktime_to_ns(ktime_sub(now, wl->ws.last_time)); in __wakelocks_gc()
|
/linux-4.4.14/drivers/staging/olpc_dcon/ |
D | olpc_dcon.c | 245 if (ktime_to_ns(delta_t) > NSEC_PER_MSEC * 20) in dcon_load_holdoff() 356 if (dcon->switched && ktime_to_ns(delta_t) in dcon_source_switch()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | en_clock.c | 282 ktime_to_ns(ktime_get_real())); in mlx4_en_init_timestamp()
|
/linux-4.4.14/drivers/media/rc/ |
D | rc-ir-raw.c | 118 delta = ktime_to_ns(ktime_sub(now, dev->raw->last_event)); in ir_raw_event_store_edge()
|
D | ir-lirc-codec.c | 78 lirc->gap_duration += ktime_to_ns(ktime_sub(ktime_get(), in ir_lirc_decode()
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_gem.c | 347 if (ktime_to_ns(timeout) < 0) in amdgpu_gem_timeout() 350 timeout_jiffies = nsecs_to_jiffies(ktime_to_ns(timeout)); in amdgpu_gem_timeout()
|
/linux-4.4.14/drivers/net/can/softing/ |
D | softing_fw.c | 412 while (unlikely(ktime_to_ns(tmp) > ktime_to_ns(now))) { in softing_raw2ktime()
|
/linux-4.4.14/drivers/input/joystick/ |
D | walkera0701.c | 132 w->irq_time = ktime_to_ns(ktime_get()); in walkera0701_irq_handler()
|
/linux-4.4.14/drivers/ptp/ |
D | ptp_clock.c | 150 delta = ktime_to_ns(kt); in ptp_clock_adjtime()
|
/linux-4.4.14/fs/dlm/ |
D | debug_fs.c | 253 (unsigned long long)ktime_to_ns(lkb->lkb_timestamp), in print_format3_lock() 254 (unsigned long long)ktime_to_ns(lkb->lkb_last_bast_time)); in print_format3_lock()
|
/linux-4.4.14/drivers/md/ |
D | dm-stats.c | 497 now = ktime_to_ns(ktime_get()); in dm_stat_round() 661 stats_aux->duration_ns = ktime_to_ns(ktime_get()); in dm_stats_account_io() 663 stats_aux->duration_ns = ktime_to_ns(ktime_get()) - stats_aux->duration_ns; in dm_stats_account_io()
|
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_ptp.c | 146 s64 ns = ktime_to_ns(ktime_get_real()); in fm10k_ts_reset()
|
/linux-4.4.14/drivers/net/ethernet/ti/ |
D | cpts.c | 387 timecounter_init(&cpts->tc, &cpts->cc, ktime_to_ns(ktime_get_real())); in cpts_register()
|
/linux-4.4.14/drivers/net/ethernet/renesas/ |
D | ravb_ptp.c | 142 u64 now = ktime_to_ns(timespec64_to_ktime(ts)); in ravb_ptp_adjtime()
|
/linux-4.4.14/drivers/net/ethernet/intel/igb/ |
D | igb_ptp.c | 1096 ktime_to_ns(ktime_get_real())); in igb_ptp_init() 1210 ktime_to_ns(ktime_get_real())); in igb_ptp_reset()
|
/linux-4.4.14/fs/gfs2/ |
D | lock_dlm.c | 82 rtt = ktime_to_ns(ktime_sub(ktime_get_real(), gl->gl_dstamp)); in gfs2_update_reply_times() 110 irt = ktime_to_ns(ktime_sub(gl->gl_dstamp, dstamp)); in gfs2_update_request_times()
|
D | rgrp.c | 1919 tdiff = ktime_to_ns(ktime_sub(ktime_get_real(), in gfs2_rgrp_used_recently()
|
/linux-4.4.14/fs/ubifs/ |
D | io.c | 461 div_u64(ktime_to_ns(wbuf->softlimit), USEC_PER_SEC), in new_wbuf_timer_nolock() 462 div_u64(ktime_to_ns(wbuf->softlimit) + wbuf->delta, in new_wbuf_timer_nolock()
|
/linux-4.4.14/drivers/bluetooth/ |
D | hci_intel.c | 862 duration = (unsigned long long) ktime_to_ns(delta) >> 10; in intel_setup() 907 duration = (unsigned long long) ktime_to_ns(delta) >> 10; in intel_setup()
|
D | btusb.c | 2294 duration = (unsigned long long) ktime_to_ns(delta) >> 10; in btusb_setup_intel_new() 2340 duration = (unsigned long long) ktime_to_ns(delta) >> 10; in btusb_setup_intel_new()
|
/linux-4.4.14/drivers/net/ethernet/freescale/ |
D | fec_ptp.c | 286 timecounter_init(&fep->tc, &fep->cc, ktime_to_ns(ktime_get_real())); in fec_ptp_start_cyclecounter()
|
/linux-4.4.14/init/ |
D | main.c | 775 duration = (unsigned long long) ktime_to_ns(delta) >> 10; in do_one_initcall_debug()
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_irq.c | 824 duration_ns = ktime_to_ns(etime) - ktime_to_ns(stime); in drm_calc_vbltimestamp_from_scanoutpos()
|
/linux-4.4.14/net/core/ |
D | pktgen.c | 2247 remaining = ktime_to_ns(hrtimer_expires_remaining(&t.timer)); in spin() 2275 pkt_dev->idle_acc += ktime_to_ns(ktime_sub(end_time, start_time)); in spin() 3225 ktime_to_ns(elapsed)); in show_results() 3347 pkt_dev->idle_acc += ktime_to_ns(ktime_sub(ktime_get(), idle_start)); in pktgen_resched() 3363 pkt_dev->idle_acc += ktime_to_ns(ktime_sub(ktime_get(), idle_start)); in pktgen_wait_for_skb()
|
/linux-4.4.14/arch/mips/kvm/ |
D | trap_emul.c | 526 *v = ktime_to_ns(vcpu->arch.count_resume); in kvm_trap_emul_get_one_reg()
|
D | emulate.c | 251 now_ns = ktime_to_ns(now); in kvm_mips_ktime_to_count() 727 if (count_resume < 0 || count_resume > ktime_to_ns(ktime_get())) in kvm_mips_set_count_resume()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ptp.c | 831 ktime_to_ns(ktime_get_real())); in ixgbe_ptp_reset()
|
/linux-4.4.14/drivers/staging/android/ |
D | sync.c | 646 info->timestamp_ns = ktime_to_ns(fence->timestamp); in sync_fill_pt_info()
|
/linux-4.4.14/kernel/trace/ |
D | blktrace.c | 96 t->time = ktime_to_ns(ktime_get()); in trace_note() 259 t->time = ktime_to_ns(ktime_get()); in __blk_add_trace()
|
/linux-4.4.14/drivers/rtc/ |
D | interface.c | 850 if (ktime_to_ns(timer->period)) { in rtc_timer_do_work()
|
/linux-4.4.14/drivers/scsi/ |
D | st.c | 480 atomic64_add(ktime_to_ns(now), &STp->stats->tot_write_time); in st_do_stats() 481 atomic64_add(ktime_to_ns(now), &STp->stats->tot_io_time); in st_do_stats() 494 atomic64_add(ktime_to_ns(now), &STp->stats->tot_read_time); in st_do_stats() 495 atomic64_add(ktime_to_ns(now), &STp->stats->tot_io_time); in st_do_stats() 508 atomic64_add(ktime_to_ns(now), &STp->stats->tot_io_time); in st_do_stats()
|
/linux-4.4.14/fs/jbd2/ |
D | commit.c | 1108 commit_time = ktime_to_ns(ktime_sub(ktime_get(), start_time)); in jbd2_journal_commit_transaction()
|
D | transaction.c | 1705 trans_time = ktime_to_ns(ktime_sub(ktime_get(), in jbd2_journal_stop()
|
/linux-4.4.14/fs/ext4/ |
D | extents_status.c | 1041 scan_time = ktime_to_ns(ktime_sub(ktime_get(), start_time)); in __es_shrink()
|
/linux-4.4.14/sound/pci/pcxhr/ |
D | pcxhr_core.c | 967 (long)(ktime_to_ns(diff_time)), err); in pcxhr_set_pipe_state()
|
D | pcxhr.c | 830 (long)(ktime_to_ns(diff_time)), err); in pcxhr_start_linked_stream()
|
/linux-4.4.14/drivers/acpi/ |
D | osl.c | 904 u64 time_ns = ktime_to_ns(ktime_get()); in acpi_os_get_timer()
|
/linux-4.4.14/virt/kvm/ |
D | kvm_main.c | 2045 block_ns = ktime_to_ns(cur) - ktime_to_ns(start); in kvm_vcpu_block()
|
/linux-4.4.14/drivers/staging/fbtft/ |
D | fbtft-core.c | 395 if (ktime_to_ns(par->update_time)) in fbtft_update_display()
|
/linux-4.4.14/fs/ocfs2/ |
D | dlmglue.c | 457 stats->ls_total += ktime_to_ns(kt); in ocfs2_update_lock_stats() 461 stats->ls_total = ktime_to_ns(kt); in ocfs2_update_lock_stats()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb/ |
D | sge.c | 404 delta_time_ns = ktime_to_ns(ktime_sub(now, s->last_updated)); in sched_update_avail()
|
/linux-4.4.14/net/sched/ |
D | sch_cbq.c | 510 ktime_to_ns(ktime_sub( in cbq_ovl_delay()
|
/linux-4.4.14/drivers/crypto/ |
D | hifn_795x.c | 798 nsec = ktime_to_ns(ktime_sub(ktime_get(), dev->rngtime)); in hifn_rng_data_present()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | rc.c | 1862 cc_event->timestamp = ktime_to_ns(ktime_get()) / 1024; in log_cca_event()
|
D | mad.c | 3270 ts = ktime_to_ns(ktime_get()) / 1024; in __subn_get_opa_hfi1_cong_log()
|
/linux-4.4.14/drivers/pci/ |
D | quirks.c | 3016 duration = (unsigned long long) ktime_to_ns(delta) >> 10; in fixup_debug_report()
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 3743 ktime_to_ns(ktime_get_real())); in e1000e_config_hwtstamp()
|
/linux-4.4.14/kernel/events/ |
D | core.c | 7207 local64_set(&hwc->period_left, ktime_to_ns(remaining)); in perf_swevent_cancel_hrtimer()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/ |
D | tg3.c | 6341 tg3_refclk_write(tp, ktime_to_ns(ktime_get_real())); in tg3_ptp_init() 6352 tg3_refclk_write(tp, ktime_to_ns(ktime_get_real()) + tp->ptp_adjust); in tg3_ptp_resume()
|
/linux-4.4.14/fs/nfs/ |
D | nfs4proc.c | 1118 p->o_arg.id.create_time = ktime_to_ns(sp->so_seqid.create_time); in nfs4_opendata_alloc()
|
/linux-4.4.14/fs/btrfs/ |
D | extent-tree.c | 2665 u64 runtime = ktime_to_ns(ktime_sub(ktime_get(), start)); in __btrfs_run_delayed_refs()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 15387 ktime_to_ns(ktime_get_real())); in bnx2x_init_ptp()
|