/linux-4.1.27/kernel/time/ |
D | timer_list.c | 77 (unsigned long long)ktime_to_ns(hrtimer_get_softexpires(timer)), in print_timer() 78 (unsigned long long)ktime_to_ns(hrtimer_get_expires(timer)), in print_timer() 79 (long long)(ktime_to_ns(hrtimer_get_softexpires(timer)) - now), in print_timer() 80 (long long)(ktime_to_ns(hrtimer_get_expires(timer)) - now)); in print_timer() 126 (unsigned long long)ktime_to_ns(base->resolution)); in print_base() 132 (unsigned long long) ktime_to_ns(base->offset)); in print_base() 153 (unsigned long long)(ktime_to_ns(cpu_base->x))) in print_cpu() 172 (unsigned long long)(ktime_to_ns(ts->x))) in print_cpu() 225 (unsigned long long) ktime_to_ns(dev->next_event)); in print_tickdevice() 310 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() 415 s64 incr = ktime_to_ns(interval); in alarm_forward() 560 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() 1164 u64 offset = ktime_to_ns(tick_period) >> 1; in tick_setup_sched_timer()
|
D | hrtimer.c | 275 dclc = ktime_to_ns(kt); in __ktime_divns() 821 s64 incr = ktime_to_ns(interval); in hrtimer_forward() 1359 ktime_to_ns(delta)); in hrtimer_interrupt()
|
D | clockevents.c | 327 delta = ktime_to_ns(ktime_sub(expires, ktime_get())); in clockevents_program_event()
|
D | timekeeping.c | 422 now = ktime_to_ns(tkr->base) + timekeeping_get_ns(tkr); in __ktime_get_fast_ns()
|
/linux-4.1.27/include/linux/ |
D | timekeeping.h | 204 return ktime_to_ns(ktime_get()); in ktime_get_ns() 209 return ktime_to_ns(ktime_get_real()); in ktime_get_real_ns() 214 return ktime_to_ns(ktime_get_boottime()); in ktime_get_boot_ns() 219 return ktime_to_ns(ktime_get_clocktai()); in ktime_get_tai_ns() 224 return ktime_to_ns(ktime_get_raw()); in ktime_get_raw_ns()
|
D | hrtimer.h | 257 return ktime_to_ns(timer->node.expires); in hrtimer_get_expires_ns() 375 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.1.27/include/trace/events/ |
D | timer.h | 182 (unsigned long long)ktime_to_ns((ktime_t) { 184 (unsigned long long)ktime_to_ns((ktime_t) { 215 (unsigned long long)ktime_to_ns((ktime_t) { .tv64 = __entry->now }))
|
/linux-4.1.27/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.1.27/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | nv04.c | 66 args->v0.time[0] = ktime_to_ns(ktime_get()); in nv04_disp_scanoutpos() 68 args->v0.time[1] = ktime_to_ns(ktime_get()); in nv04_disp_scanoutpos()
|
D | gf110.c | 645 args->v0.time[0] = ktime_to_ns(ktime_get()); in gf110_disp_main_scanoutpos() 648 args->v0.time[1] = ktime_to_ns(ktime_get()); in gf110_disp_main_scanoutpos()
|
D | nv50.c | 969 args->v0.time[0] = ktime_to_ns(ktime_get()); in nv50_disp_main_scanoutpos() 972 args->v0.time[1] = ktime_to_ns(ktime_get()); in nv50_disp_main_scanoutpos()
|
/linux-4.1.27/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 | 195 ktime_to_ns(def_rt_bandwidth.rt_period), 0); in alloc_rt_sched_group() 441 return ktime_to_ns(rt_rq->tg->rt_bandwidth.rt_period); in sched_rt_period() 558 return ktime_to_ns(def_rt_bandwidth.rt_period); in sched_rt_period() 635 rt_period = ktime_to_ns(rt_b->rt_period); in do_balance_runtime()
|
D | deadline.c | 519 delta = ktime_to_ns(now) - rq_clock(rq); in start_dl_timer() 534 range = ktime_to_ns(ktime_sub(hard, soft)); in start_dl_timer()
|
D | core.c | 107 delta = ktime_to_ns(ktime_sub(hard, soft)); in start_bandwidth_timer() 7621 period = ktime_to_ns(tg->rt_bandwidth.rt_period); in tg_rt_schedulable() 7653 period = ktime_to_ns(child->rt_bandwidth.rt_period); in tg_rt_schedulable() 7732 rt_period = ktime_to_ns(tg->rt_bandwidth.rt_period); in sched_group_set_rt_runtime() 7766 rt_period_us = ktime_to_ns(tg->rt_bandwidth.rt_period); in sched_group_rt_period() 8154 period = ktime_to_ns(tg->cfs_bandwidth.period); in tg_set_cfs_quota() 8190 cfs_period_us = ktime_to_ns(tg->cfs_bandwidth.period); in tg_get_cfs_period()
|
D | debug.c | 362 ktime = ktime_to_ns(ktime_get()); in sched_debug_header()
|
D | fair.c | 3448 cfs_b->runtime_expires = now + ktime_to_ns(cfs_b->period); in __refill_cfs_bandwidth_runtime() 3866 remaining = ktime_to_ns(hrtimer_expires_remaining(refresh_timer)); in runtime_refresh_within()
|
/linux-4.1.27/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.1.27/drivers/base/power/ |
D | wakeup.c | 519 if (ktime_to_ns(duration) > ktime_to_ns(ws->max_time)) in wakeup_source_deactivate() 684 ktime_to_ns(ws->last_time) > in pm_print_active_wakeup_sources() 685 ktime_to_ns(last_activity_ws->last_time))) { in pm_print_active_wakeup_sources()
|
D | domain.c | 38 s64 __elapsed = ktime_to_ns(ktime_sub(ktime_get(), __start)); \ 198 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in genpd_power_on() 225 elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start)); in genpd_power_off()
|
D | main.c | 211 nsecs = (s64) ktime_to_ns(ktime_sub(rettime, calltime)); in initcall_debug_report() 365 usecs64 = ktime_to_ns(ktime_sub(calltime, starttime)); in dpm_show_time()
|
/linux-4.1.27/samples/kprobes/ |
D | kretprobe_example.c | 64 delta = ktime_to_ns(ktime_sub(now, data->entry_stamp)); in ret_handler()
|
/linux-4.1.27/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.1.27/net/bluetooth/ |
D | selftest.c | 202 duration = (unsigned long long) ktime_to_ns(delta) >> 10; in test_ecdh()
|
D | smp.c | 3630 duration = (unsigned long long) ktime_to_ns(delta) >> 10; in run_selftests()
|
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ptp.c | 267 ktime_to_ns(ktime_get_real())); in xgbe_ptp_register()
|
D | xgbe-dev.c | 1297 ktime_to_ns(ktime_get_real())); in xgbe_config_tstamp()
|
/linux-4.1.27/net/netfilter/ |
D | xt_time.c | 174 stamp = ktime_to_ns(skb->tstamp); in time_mt()
|
D | nf_conntrack_core.c | 652 tstamp->start = ktime_to_ns(skb->tstamp); in __nf_conntrack_confirm()
|
/linux-4.1.27/arch/x86/kvm/ |
D | i8254.c | 125 elapsed = ps->period - ktime_to_ns(remaining); in __kpit_elapsed() 136 return ktime_to_ns(ktime_sub(ktime_get(), c->count_load_time)); in kpit_elapsed() 627 refresh_clock = ((unsigned int)ktime_to_ns(ktime_get()) >> 14) & 1; in speaker_ioport_read()
|
D | lapic.c | 953 if (ktime_to_ns(remaining) < 0) in apic_get_tmcct() 956 ns = mod_64(ktime_to_ns(remaining), apic->lapic_timer.period); in apic_get_tmcct() 1212 APIC_BUS_CYCLE_NS, ktime_to_ns(now), in start_apic_timer() 1215 ktime_to_ns(ktime_add_ns(now, in start_apic_timer()
|
D | vmx.c | 8074 ktime_to_ns(ktime_sub(ktime_get(), vmx->entry_time)); in vmx_recover_nmi_blocking() 9702 if (ktime_to_ns(remaining) <= 0) in vmx_get_preemption_timer_value() 9705 value = ktime_to_ns(remaining) * vcpu->arch.virtual_tsc_khz; in vmx_get_preemption_timer_value()
|
D | x86.c | 1081 boot_ns = ktime_to_ns(ktime_add(tk->tkr_mono.base, tk->offs_boot)); in update_pvclock_gtod()
|
/linux-4.1.27/kernel/power/ |
D | wakelock.c | 113 idle_time_ns = ktime_to_ns(ktime_sub(now, wl->ws.last_time)); in wakelocks_gc()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
D | en_clock.c | 275 ktime_to_ns(ktime_get_real())); in mlx4_en_init_timestamp()
|
/linux-4.1.27/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 | 81 lirc->gap_duration += ktime_to_ns(ktime_sub(ktime_get(), in ir_lirc_decode()
|
/linux-4.1.27/drivers/net/can/softing/ |
D | softing_fw.c | 412 while (unlikely(ktime_to_ns(tmp) > ktime_to_ns(now))) { in softing_raw2ktime()
|
/linux-4.1.27/drivers/ptp/ |
D | ptp_clock.c | 150 delta = ktime_to_ns(kt); in ptp_clock_adjtime()
|
/linux-4.1.27/drivers/input/joystick/ |
D | walkera0701.c | 132 w->irq_time = ktime_to_ns(ktime_get()); in walkera0701_irq_handler()
|
/linux-4.1.27/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.1.27/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_ptp.c | 145 s64 ns = ktime_to_ns(ktime_get_real()); in fm10k_ts_reset()
|
/linux-4.1.27/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.1.27/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.1.27/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 | 1896 tdiff = ktime_to_ns(ktime_sub(ktime_get_real(), in gfs2_rgrp_used_recently()
|
/linux-4.1.27/drivers/net/ethernet/intel/igb/ |
D | igb_ptp.c | 1064 ktime_to_ns(ktime_get_real())); in igb_ptp_init() 1178 ktime_to_ns(ktime_get_real())); in igb_ptp_reset()
|
/linux-4.1.27/drivers/net/ethernet/freescale/ |
D | fec_ptp.c | 288 timecounter_init(&fep->tc, &fep->cc, ktime_to_ns(ktime_get_real())); in fec_ptp_start_cyclecounter()
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_irq.c | 724 duration_ns = ktime_to_ns(etime) - ktime_to_ns(stime); in drm_calc_vbltimestamp_from_scanoutpos()
|
/linux-4.1.27/init/ |
D | main.c | 770 duration = (unsigned long long) ktime_to_ns(delta) >> 10; in do_one_initcall_debug()
|
/linux-4.1.27/net/core/ |
D | pktgen.c | 2197 remaining = ktime_to_ns(hrtimer_expires_remaining(&t.timer)); in spin() 2227 pkt_dev->idle_acc += ktime_to_ns(ktime_sub(end_time, start_time)); in spin() 3174 ktime_to_ns(elapsed)); in show_results() 3296 pkt_dev->idle_acc += ktime_to_ns(ktime_sub(ktime_get(), idle_start)); in pktgen_resched() 3312 pkt_dev->idle_acc += ktime_to_ns(ktime_sub(ktime_get(), idle_start)); in pktgen_wait_for_skb()
|
/linux-4.1.27/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.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ptp.c | 831 ktime_to_ns(ktime_get_real())); in ixgbe_ptp_reset()
|
/linux-4.1.27/drivers/video/fbdev/msm/ |
D | msm_fb.c | 128 time_since_request = ktime_to_ns(ktime_sub(ktime_get(), in msmfb_start_dma()
|
/linux-4.1.27/drivers/staging/android/ |
D | sync.c | 646 info->timestamp_ns = ktime_to_ns(fence->timestamp); in sync_fill_pt_info()
|
/linux-4.1.27/fs/jbd/ |
D | commit.c | 981 commit_time = ktime_to_ns(ktime_sub(ktime_get(), start_time)); in journal_commit_transaction()
|
D | transaction.c | 1421 trans_time = ktime_to_ns(ktime_sub(ktime_get(), in journal_stop()
|
/linux-4.1.27/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.1.27/drivers/rtc/ |
D | interface.c | 895 if (ktime_to_ns(timer->period)) { in rtc_timer_do_work()
|
/linux-4.1.27/fs/jbd2/ |
D | commit.c | 1114 commit_time = ktime_to_ns(ktime_sub(ktime_get(), start_time)); in jbd2_journal_commit_transaction()
|
D | transaction.c | 1607 trans_time = ktime_to_ns(ktime_sub(ktime_get(), in jbd2_journal_stop()
|
/linux-4.1.27/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.1.27/fs/ext4/ |
D | extents_status.c | 1041 scan_time = ktime_to_ns(ktime_sub(ktime_get(), start_time)); in __es_shrink()
|
/linux-4.1.27/drivers/acpi/ |
D | osl.c | 887 u64 time_ns = ktime_to_ns(ktime_get()); in acpi_os_get_timer()
|
/linux-4.1.27/virt/kvm/ |
D | kvm_main.c | 1817 trace_kvm_vcpu_wakeup(ktime_to_ns(cur) - ktime_to_ns(start), waited); in kvm_vcpu_block()
|
/linux-4.1.27/drivers/bluetooth/ |
D | btusb.c | 2623 duration = (unsigned long long) ktime_to_ns(delta) >> 10; in btusb_setup_intel_new() 2669 duration = (unsigned long long) ktime_to_ns(delta) >> 10; in btusb_setup_intel_new()
|
/linux-4.1.27/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.1.27/net/sched/ |
D | sch_api.c | 1903 (u32)NSEC_PER_SEC/(u32)ktime_to_ns(timespec_to_ktime(ts))); in psched_show()
|
D | sch_cbq.c | 510 ktime_to_ns(ktime_sub( in cbq_ovl_delay()
|
/linux-4.1.27/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.1.27/drivers/crypto/ |
D | hifn_795x.c | 800 nsec = ktime_to_ns(ktime_sub(ktime_get(), dev->rngtime)); in hifn_rng_data_present()
|
/linux-4.1.27/drivers/pci/ |
D | quirks.c | 3018 duration = (unsigned long long) ktime_to_ns(delta) >> 10; in fixup_debug_report()
|
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 3735 ktime_to_ns(ktime_get_real())); in e1000e_config_hwtstamp()
|
/linux-4.1.27/kernel/events/ |
D | core.c | 6913 local64_set(&hwc->period_left, ktime_to_ns(remaining)); in perf_swevent_cancel_hrtimer()
|
/linux-4.1.27/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.1.27/fs/nfs/ |
D | nfs4proc.c | 1044 p->o_arg.id.create_time = ktime_to_ns(sp->so_seqid.create_time); in nfs4_opendata_alloc()
|
/linux-4.1.27/fs/btrfs/ |
D | extent-tree.c | 2561 u64 runtime = ktime_to_ns(ktime_sub(ktime_get(), start)); in __btrfs_run_delayed_refs()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 14879 ktime_to_ns(ktime_get_real())); in bnx2x_init_ptp()
|