Home
last modified time | relevance | path

Searched refs:ktime_sub (Results 1 – 25 of 45) sorted by relevance

12

/linux-2.6.39/kernel/time/
Dtick-sched.c54 delta = ktime_sub(now, last_jiffies_update); in tick_do_update_jiffies64()
61 delta = ktime_sub(now, last_jiffies_update); in tick_do_update_jiffies64()
64 delta = ktime_sub(delta, tick_period); in tick_do_update_jiffies64()
161 delta = ktime_sub(now, ts->idle_entrytime); in update_ts_time_stats()
450 ts->sleep_length = ktime_sub(dev->next_event, now); in tick_nohz_stop_sched_tick()
670 delta = ktime_sub(hrtimer_get_expires(&ts->sched_timer), now); in tick_nohz_kick_tick()
Dtimecompare.c86 sample.duration_target = ktime_to_ns(ktime_sub(end, start)); in timecompare_offset()
Dclockevents.c114 delta = ktime_to_ns(ktime_sub(expires, now)); in clockevents_program_event()
Dtimer_stats.c296 time = ktime_sub(time_stop, time_start); in tstats_show()
/linux-2.6.39/include/linux/
Dktime.h91 #define ktime_sub(lhs, rhs) \ macro
163 static inline ktime_t ktime_sub(const ktime_t lhs, const ktime_t rhs) in ktime_sub() function
306 return ktime_to_us(ktime_sub(later, earlier)); in ktime_us_delta()
Dhrtimer.h253 return ktime_sub(timer->node.expires, timer->base->get_time()); in hrtimer_expires_remaining()
368 delta = ktime_to_ns(ktime_sub(hard, soft)); in hrtimer_start_expires()
/linux-2.6.39/kernel/
Dhrtimer.c181 expires = ktime_sub(hrtimer_get_expires(timer), new_base->offset); in hrtimer_check_target()
300 return ktime_sub(kt, tmp); in ktime_sub_ns()
545 expires = ktime_sub(hrtimer_get_expires(timer), base->offset); in hrtimer_force_reprogram()
579 ktime_t expires = ktime_sub(hrtimer_get_expires(timer), base->offset); in hrtimer_reprogram()
818 delta = ktime_sub(now, hrtimer_get_expires(timer)); in hrtimer_forward()
892 expires = ktime_sub(hrtimer_get_expires(timer), in __remove_hrtimer()
1116 delta = ktime_sub(delta, base->get_time()); in hrtimer_get_next_event()
1288 expires = ktime_sub(hrtimer_get_expires(timer), in hrtimer_interrupt()
1336 delta = ktime_sub(now, entry_time); in hrtimer_interrupt()
Dasync.c138 delta = ktime_sub(rettime, calltime); in async_run_entry_fn()
281 delta = ktime_sub(endtime, starttime); in async_synchronize_cookie_domain()
/linux-2.6.39/samples/kprobes/
Dkretprobe_example.c64 delta = ktime_to_ns(ktime_sub(now, data->entry_stamp)); in ret_handler()
/linux-2.6.39/fs/ocfs2/cluster/
Dnetdebug.c140 sock = ktime_to_us(ktime_sub(now, nst->st_sock_time)); in nst_seq_show()
141 send = ktime_to_us(ktime_sub(now, nst->st_send_time)); in nst_seq_show()
142 status = ktime_to_us(ktime_sub(now, nst->st_status_time)); in nst_seq_show()
Dtcp.c231 return ktime_sub(sc->sc_tv_func_stop, sc->sc_tv_func_start); in o2net_get_func_run_time()
238 ktime_sub(ktime_get(), in o2net_update_send_stats()
241 ktime_sub(nst->st_status_time, in o2net_update_send_stats()
244 ktime_sub(nst->st_send_time, in o2net_update_send_stats()
/linux-2.6.39/net/sunrpc/
Dstats.c159 delta = ktime_sub(req->rq_xtime, task->tk_start); in rpc_count_iostats()
164 delta = ktime_sub(ktime_get(), task->tk_start); in rpc_count_iostats()
/linux-2.6.39/arch/sh/kernel/cpu/shmobile/
Dcpuidle.c53 return ktime_to_ns(ktime_sub(after, before)) >> 10; in cpuidle_sleep_enter()
/linux-2.6.39/drivers/base/power/
Dwakeup.c433 duration = ktime_sub(now, ws->last_time); in wakeup_source_deactivate()
689 active_time = ktime_sub(ktime_get(), ws->last_time); in print_wakeup_source_stats()
Dmain.c176 delta = ktime_sub(rettime, calltime); in initcall_debug_report()
346 delta = ktime_sub(rettime, calltime); in pm_noirq_op()
400 usecs64 = ktime_to_ns(ktime_sub(calltime, starttime)); in dpm_show_time()
/linux-2.6.39/drivers/idle/
Di7300_idle.c489 idle_duration_us = ktime_to_us(ktime_sub in i7300_idle_notifier()
499 idle_ktime = ktime_sub(now_ktime, start_ktime); in i7300_idle_notifier()
Dintel_idle.c252 usec_delta = ktime_to_us(ktime_sub(kt_after, kt_before)); in intel_idle()
/linux-2.6.39/drivers/acpi/
Dprocessor_idle.c774 idle_time = ktime_to_us(ktime_sub(kt2, kt1)); in acpi_idle_enter_c1()
836 idle_time_ns = ktime_to_ns(ktime_sub(kt2, kt1)); in acpi_idle_enter_simple()
953 idle_time_ns = ktime_to_ns(ktime_sub(kt2, kt1)); in acpi_idle_enter_bm()
/linux-2.6.39/drivers/platform/x86/
Dmsi-wmi.c173 diff = ktime_sub(cur, last_pressed[key->code - in msi_wmi_notify()
/linux-2.6.39/net/ipv4/
Dtcp_probe.c155 = ktime_to_timespec(ktime_sub(p->tstamp, tcp_probe.start)); in tcpprobe_sprint()
/linux-2.6.39/drivers/cpuidle/
Dcpuidle.c177 diff = ktime_to_us(ktime_sub(t2, t1)); in poll_idle()
/linux-2.6.39/drivers/media/rc/
Dir-raw.c122 delta = ktime_to_ns(ktime_sub(now, dev->raw->last_event)); in ir_raw_event_store_edge()
Dir-lirc-codec.c74 lirc->gap_duration += ktime_to_ns(ktime_sub(ktime_get(), in ir_lirc_decode()
/linux-2.6.39/net/core/
Ddst.c150 elapsed = ktime_to_timespec(ktime_sub(ktime_get(), time_start)); in dst_gc_task()
/linux-2.6.39/init/
Dmain.c654 delta = ktime_sub(rettime, calltime); in do_one_initcall_debug()

12