Home
last modified time | relevance | path

Searched refs:ktime_add (Results 1 – 25 of 41) sorted by relevance

12

/kernel/linux/linux-5.10/net/sunrpc/
Dstats.c172 op_metrics->om_queue = ktime_add(op_metrics->om_queue, backlog); in rpc_count_iostats_metrics()
175 op_metrics->om_rtt = ktime_add(op_metrics->om_rtt, req->rq_rtt); in rpc_count_iostats_metrics()
178 op_metrics->om_execute = ktime_add(op_metrics->om_execute, execute); in rpc_count_iostats_metrics()
220 a->om_queue = ktime_add(a->om_queue, b->om_queue); in _add_rpc_iostats()
221 a->om_rtt = ktime_add(a->om_rtt, b->om_rtt); in _add_rpc_iostats()
222 a->om_execute = ktime_add(a->om_execute, b->om_execute); in _add_rpc_iostats()
/kernel/linux/linux-5.10/kernel/time/
Dtick-common.c91 tick_next_period = ktime_add(tick_next_period, tick_period); in tick_periodic()
130 next = ktime_add(next, tick_period); in tick_handle_periodic()
176 next = ktime_add(next, tick_period); in tick_setup_periodic()
Dtick-sched.c77 ktime_add(last_jiffies_update, tick_period)); in tick_do_update_jiffies64()
93 tick_next_period = ktime_add(last_jiffies_update, tick_period); in tick_do_update_jiffies64()
550 ts->iowait_sleeptime = ktime_add(ts->iowait_sleeptime, delta); in update_ts_time_stats()
552 ts->idle_sleeptime = ktime_add(ts->idle_sleeptime, delta); in update_ts_time_stats()
606 idle = ktime_add(ts->idle_sleeptime, delta); in get_cpu_idle_time_us()
647 iowait = ktime_add(ts->iowait_sleeptime, delta); in get_cpu_iowait_time_us()
Dtimekeeping.c165 tk->offs_tai = ktime_add(tk->offs_real, ktime_set(tk->tai_offset, 0)); in tk_set_wall_to_mono()
170 tk->offs_boot = ktime_add(tk->offs_boot, delta); in tk_update_sleep_time()
877 base = ktime_add(tk->tkr_mono.base, *offset); in ktime_get_with_offset()
898 base = ktime_add(tk->tkr_mono.base, *offset); in ktime_get_coarse_with_offset()
920 tconv = ktime_add(tmono, *offset); in ktime_mono_to_any()
1060 base_real = ktime_add(tk->tkr_mono.base, in ktime_get_snapshot()
1245 base_real = ktime_add(tk->tkr_mono.base, in get_device_system_crosststamp()
1428 tk->offs_tai = ktime_add(tk->offs_real, ktime_set(tai_offset, 0)); in __timekeeping_set_tai_offset()
Dtick-broadcast.c334 ktime_t next = ktime_add(dev->next_event, tick_period); in tick_handle_periodic_broadcast()
/kernel/linux/linux-5.10/drivers/base/power/
Dwakeup.c127 ktime_add(deleted_ws.total_time, ws->total_time); in wakeup_source_record()
129 ktime_add(deleted_ws.prevent_sleep_time, in wakeup_source_record()
682 ws->prevent_sleep_time = ktime_add(ws->prevent_sleep_time, delta); in update_prevent_sleep_time()
722 ws->total_time = ktime_add(ws->total_time, duration); in wakeup_source_deactivate()
1102 total_time = ktime_add(total_time, active_time); in print_wakeup_source_stats()
1107 prevent_sleep_time = ktime_add(prevent_sleep_time, in print_wakeup_source_stats()
Dwakeup_stats.c58 total_time = ktime_add(total_time, active_time); in total_time_ms_show()
108 prevent_sleep_time = ktime_add(prevent_sleep_time, in prevent_suspend_time_ms_show()
Ddomain.c229 ktime_add(genpd->states[state_idx].idle_time, delta); in genpd_update_accounting()
231 genpd->on_time = ktime_add(genpd->on_time, delta); in genpd_update_accounting()
3079 ktime_add(genpd->states[i].idle_time, delta)); in idle_states_show()
3102 ktime_add(genpd->on_time, delta))); in active_time_show()
3125 total = ktime_add(total, genpd->states[i].idle_time); in total_idle_time_show()
3127 total = ktime_add(total, delta); in total_idle_time_show()
/kernel/linux/linux-5.10/drivers/net/can/softing/
Dsofting_fw.c400 tmp = ktime_add(target, card->ts_overflow); in softing_raw2ktime()
402 card->ts_ref = ktime_add(card->ts_ref, card->ts_overflow); in softing_raw2ktime()
404 tmp = ktime_add(target, card->ts_overflow); in softing_raw2ktime()
406 return ktime_add(target, real_offset); in softing_raw2ktime()
/kernel/linux/linux-5.10/include/linux/
Dktime.h50 #define ktime_add(lhs, rhs) ((lhs) + (rhs)) macro
Dtick.h163 return ktime_add(ktime_get(), TICK_NSEC); in tick_nohz_get_next_hrtimer()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/
Dsched_policy.c85 vgpu_data->sched_time = ktime_add(vgpu_data->sched_time, delta_ts); in vgpu_update_timeslice()
351 vgpu_data->pri_time = ktime_add(now, in tbs_sched_start_schedule()
/kernel/linux/linux-5.10/drivers/gpu/drm/panfrost/
Dpanfrost_devfreq.c66 status->total_time = ktime_to_ns(ktime_add(pfdevfreq->busy_time, in panfrost_devfreq_get_dev_status()
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/
Dlima_devfreq.c72 status->total_time = ktime_to_ns(ktime_add(devfreq->busy_time, in lima_devfreq_get_dev_status()
/kernel/linux/linux-5.10/net/sched/
Dsch_taprio.c168 cycle_ext_end = ktime_add(cycle_end, sched->cycle_time_extension); in get_interval_end_time()
258 *interval_start = ktime_add(curr_intv_start, n * cycle); in find_entry_to_transmit()
259 *interval_end = ktime_add(curr_intv_end, n * cycle); in find_entry_to_transmit()
401 transmit_end_time = ktime_add(txtime, packet_transmit_time); in get_packet_txtime()
408 entry->next_txtime = ktime_add(interval_start, sched->cycle_time); in get_packet_txtime()
/kernel/linux/linux-5.10/drivers/usb/host/
Dehci-timer.c82 *timeout = ktime_add(ktime_get(), event_delays_ns[event]); in ehci_enable_event()
/kernel/linux/linux-5.10/drivers/watchdog/
Dwatchdog_dev.c129 virt_timeout = ktime_add(wd_data->last_keepalive, in watchdog_next_keepalive()
170 earliest_keepalive = ktime_add(wd_data->last_hw_keepalive, in __watchdog_ping()
/kernel/linux/linux-5.10/drivers/rtc/
Dinterface.c578 rtc->uie_rtctimer.node.expires = ktime_add(now, onesec); in rtc_update_irq_enable()
932 timer->node.expires = ktime_add(timer->node.expires, in rtc_timer_do_work()
/kernel/linux/linux-5.10/fs/ocfs2/cluster/
Dtcp.c225 sc->sc_tv_status_total = ktime_add(sc->sc_tv_status_total, in o2net_update_send_stats()
228 sc->sc_tv_send_total = ktime_add(sc->sc_tv_send_total, in o2net_update_send_stats()
231 sc->sc_tv_acquiry_total = ktime_add(sc->sc_tv_acquiry_total, in o2net_update_send_stats()
239 sc->sc_tv_process_total = ktime_add(sc->sc_tv_process_total, in o2net_update_recv_stats()
/kernel/linux/linux-5.10/kernel/
Dtorture.c546 shutdown_time = ktime_add(ktime_get(), ktime_set(ssecs, 0)); in torture_shutdown_init()
/kernel/linux/linux-5.10/drivers/acpi/
Dbutton.c202 next_report = ktime_add(button->last_time, in acpi_lid_notify_state()
/kernel/linux/linux-5.10/drivers/dma/
Ddmatest.c730 filltime = ktime_add(filltime, diff); in dmatest_func()
883 comparetime = ktime_add(comparetime, diff); in dmatest_func()
/kernel/linux/linux-5.10/drivers/char/tpm/
Dtpm_crb.c118 stop = ktime_add(start, ms_to_ktime(timeout)); in crb_wait_for_reg_32()
/kernel/linux/linux-5.10/net/can/
Dbcm.c390 hrtimer_set_expires(hrt, ktime_add(ktime_get(), ival)); in bcm_tx_set_expiry()
495 ktime_add(op->kt_lastmsg, op->kt_ival2), in bcm_rx_update_and_send()
Disotp.c833 ktime_add(ktime_get(), in isotp_tx_timer_handler()
846 ktime_add(ktime_get(), so->tx_gap)); in isotp_tx_timer_handler()

12