Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/net/sunrpc/
A Dstats.c177 op_metrics->om_queue = ktime_add(op_metrics->om_queue, backlog); in rpc_count_iostats_metrics()
180 op_metrics->om_rtt = ktime_add(op_metrics->om_rtt, req->rq_rtt); in rpc_count_iostats_metrics()
183 op_metrics->om_execute = ktime_add(op_metrics->om_execute, execute); in rpc_count_iostats_metrics()
225 a->om_queue = ktime_add(a->om_queue, b->om_queue); in _add_rpc_iostats()
226 a->om_rtt = ktime_add(a->om_rtt, b->om_rtt); in _add_rpc_iostats()
227 a->om_execute = ktime_add(a->om_execute, b->om_execute); in _add_rpc_iostats()
/linux-6.3-rc2/drivers/base/power/
A 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()
653 ws->prevent_sleep_time = ktime_add(ws->prevent_sleep_time, delta); in update_prevent_sleep_time()
693 ws->total_time = ktime_add(ws->total_time, duration); in wakeup_source_deactivate()
1076 total_time = ktime_add(total_time, active_time); in print_wakeup_source_stats()
1081 prevent_sleep_time = ktime_add(prevent_sleep_time, in print_wakeup_source_stats()
A 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()
/linux-6.3-rc2/drivers/gpu/drm/i915/gt/
A Dintel_engine_stats.h54 stats->total = ktime_add(stats->total, in intel_engine_context_out()
A Dintel_gt_pm.c83 ktime_add(gt->stats.total, in runtime_end()
415 total = ktime_add(total, in __intel_gt_get_awake_time()
/linux-6.3-rc2/drivers/net/can/softing/
A 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()
/linux-6.3-rc2/kernel/time/
A Dtick-sched.c651 ts->iowait_sleeptime = ktime_add(ts->iowait_sleeptime, delta); in update_ts_time_stats()
653 ts->idle_sleeptime = ktime_add(ts->idle_sleeptime, delta); in update_ts_time_stats()
707 idle = ktime_add(ts->idle_sleeptime, delta); in get_cpu_idle_time_us()
748 iowait = ktime_add(ts->iowait_sleeptime, delta); in get_cpu_iowait_time_us()
A 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()
890 base = ktime_add(tk->tkr_mono.base, *offset); in ktime_get_with_offset()
911 base = ktime_add(tk->tkr_mono.base, *offset); in ktime_get_coarse_with_offset()
933 tconv = ktime_add(tmono, *offset); in ktime_mono_to_any()
1073 base_real = ktime_add(tk->tkr_mono.base, in ktime_get_snapshot()
1258 base_real = ktime_add(tk->tkr_mono.base, in get_device_system_crosststamp()
1440 tk->offs_tai = ktime_add(tk->offs_real, ktime_set(tai_offset, 0)); in __timekeeping_set_tai_offset()
A Dalarmtimer.c294 now = ktime_add(now, min); in alarmtimer_suspend()
493 now = ktime_add(now, kj); in __alarm_forward_now()
/linux-6.3-rc2/include/linux/
A Dktime.h50 #define ktime_add(lhs, rhs) ((lhs) + (rhs)) macro
A Dtick.h164 return ktime_add(ktime_get(), TICK_NSEC); in tick_nohz_get_next_hrtimer()
/linux-6.3-rc2/drivers/gpu/drm/i915/gvt/
A 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()
/linux-6.3-rc2/drivers/gpu/drm/lima/
A Dlima_devfreq.c67 status->total_time = ktime_to_ns(ktime_add(devfreq->busy_time, in lima_devfreq_get_dev_status()
/linux-6.3-rc2/drivers/platform/surface/aggregator/
A Dssh_request_layer.c430 ktime_t aexp = ktime_add(expires, SSH_RTL_REQUEST_TIMEOUT_RESOLUTION); in ssh_rtl_timeout_reaper_mod()
815 return ktime_add(timestamp, timeout); in ssh_request_get_expiration()
891 next = max(next, ktime_add(now, SSH_RTL_REQUEST_TIMEOUT_RESOLUTION)); in ssh_rtl_timeout_reap()
A Dssh_packet_layer.c667 ktime_t aexp = ktime_add(expires, SSH_PTL_PACKET_TIMEOUT_RESOLUTION); in ssh_ptl_timeout_reaper_mod()
1495 return ktime_add(p->timestamp, timeout); in ssh_packet_get_expiration()
1591 next = max(next, ktime_add(now, SSH_PTL_PACKET_TIMEOUT_RESOLUTION)); in ssh_ptl_timeout_reap()
/linux-6.3-rc2/drivers/gpu/drm/panfrost/
A Dpanfrost_devfreq.c61 status->total_time = ktime_to_ns(ktime_add(pfdevfreq->busy_time, in panfrost_devfreq_get_dev_status()
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_ctx.c195 res = ktime_add(res, amdgpu_ctx_fence_time(centity->fences[i])); in amdgpu_ctx_entity_time()
267 res = ktime_add(res, amdgpu_ctx_fence_time(entity->fences[i])); in amdgpu_ctx_fini_entity()
960 usage[hw_ip] = ktime_add(usage[hw_ip], spend); in amdgpu_ctx_mgr_usage()
/linux-6.3-rc2/drivers/gpu/drm/panel/
A Dpanel-samsung-atna33xc20.c55 min_ktime = ktime_add(start_ktime, ms_to_ktime(min_ms)); in atana33xc20_wait()
/linux-6.3-rc2/drivers/usb/host/
A Dehci-timer.c82 *timeout = ktime_add(ktime_get(), event_delays_ns[event]); in ehci_enable_event()
/linux-6.3-rc2/net/sched/
A Dsch_taprio.c233 cycle_ext_end = ktime_add(cycle_end, sched->cycle_time_extension); in get_interval_end_time()
380 *interval_start = ktime_add(curr_intv_start, n * cycle); in find_entry_to_transmit()
381 *interval_end = ktime_add(curr_intv_end, n * cycle); in find_entry_to_transmit()
523 transmit_end_time = ktime_add(txtime, packet_transmit_time); in get_packet_txtime()
530 entry->next_txtime = ktime_add(interval_start, sched->cycle_time); in get_packet_txtime()
/linux-6.3-rc2/drivers/rtc/
A Dinterface.c593 rtc->uie_rtctimer.node.expires = ktime_add(now, onesec); in rtc_update_irq_enable()
929 timer->node.expires = ktime_add(timer->node.expires, in rtc_timer_do_work()
/linux-6.3-rc2/fs/ocfs2/cluster/
A Dtcp.c224 sc->sc_tv_status_total = ktime_add(sc->sc_tv_status_total, in o2net_update_send_stats()
227 sc->sc_tv_send_total = ktime_add(sc->sc_tv_send_total, in o2net_update_send_stats()
230 sc->sc_tv_acquiry_total = ktime_add(sc->sc_tv_acquiry_total, in o2net_update_send_stats()
238 sc->sc_tv_process_total = ktime_add(sc->sc_tv_process_total, in o2net_update_recv_stats()
/linux-6.3-rc2/drivers/watchdog/
A Dwatchdog_dev.c109 virt_timeout = ktime_add(wd_data->last_keepalive, in watchdog_next_keepalive()
150 earliest_keepalive = ktime_add(wd_data->last_hw_keepalive, in __watchdog_ping()
/linux-6.3-rc2/drivers/acpi/
A Dbutton.c205 next_report = ktime_add(button->last_time, in acpi_lid_notify_state()
/linux-6.3-rc2/kernel/
A Dtorture.c665 shutdown_time = ktime_add(ktime_get(), ktime_set(ssecs, 0)); in torture_shutdown_init()

Completed in 52 milliseconds

12