| /linux/net/rxrpc/ |
| H A D | input_rack.c | 204 lost_after = ktime_add(call->rack_rtt, call->rack_reo_wnd); in rxrpc_rack_detect_loss() 227 remaining = ktime_sub(ktime_add(xmit_ts, lost_after), now); in rxrpc_rack_detect_loss() 251 call->rack_timo_at = ktime_add(ktime_get_real(), timeout); in rxrpc_rack_detect_loss_and_arm_timer() 264 ktime_t lost_after = ktime_add(call->rack_rtt, call->rack_reo_wnd); in rxrpc_rack_mark_losses_on_rto() 293 ktime_t rto_at = ktime_add(call->tx_last_sent, in rxrpc_tlp_calc_pto() 301 pto = ktime_add(pto, call->tlp_max_ack_delay); in rxrpc_tlp_calc_pto() 306 if (ktime_after(ktime_add(now, pto), rto_at)) in rxrpc_tlp_calc_pto() 352 call->rack_timo_at = ktime_add(ktime_get_real(), rto); in rxrpc_tlp_send_probe()
|
| H A D | call_event.c | 28 ktime_t ping_at = ktime_add(now, delay); in rxrpc_propose_ping() 53 call->delay_ack_at = ktime_add(now, delay); in rxrpc_propose_delay_ACK()
|
| H A D | output.c | 68 call->keepalive_at = ktime_add(ktime_get_real(), delay); in rxrpc_set_keepalive() 619 call->rack_timo_at = ktime_add(req->now, pto); in rxrpc_prepare_data_packet() 627 call->expect_rx_by = ktime_add(req->now, delay); in rxrpc_prepare_data_packet()
|
| H A D | input.c | 724 call->expect_req_by = ktime_add(ktime_get_real(), delay); in rxrpc_input_data() 1281 call->expect_rx_by = ktime_add(ktime_get_real(), delay); in rxrpc_input_call_packet()
|
| H A D | call_object.c | 255 call->expect_term_by = ktime_add(ktime_get_real(), delay); in rxrpc_start_call_timer()
|
| /linux/net/sunrpc/ |
| H A D | stats.c | 177 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/drivers/base/power/ |
| H A D | wakeup_stats.c | 59 total_time = ktime_add(total_time, active_time); in total_time_ms_show() 109 prevent_sleep_time = ktime_add(prevent_sleep_time, in prevent_suspend_time_ms_show()
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | intel_engine_stats.h | 54 stats->total = ktime_add(stats->total, in intel_engine_context_out()
|
| /linux/drivers/net/can/softing/ |
| H A D | softing_fw.c | 418 tmp = ktime_add(target, card->ts_overflow); in softing_raw2ktime() 420 card->ts_ref = ktime_add(card->ts_ref, card->ts_overflow); in softing_raw2ktime() 422 tmp = ktime_add(target, card->ts_overflow); in softing_raw2ktime() 424 return ktime_add(target, real_offset); in softing_raw2ktime()
|
| /linux/include/linux/ |
| H A D | ktime.h | 48 #define ktime_add(lhs, rhs) ((lhs) + (rhs)) macro
|
| /linux/drivers/thermal/ |
| H A D | thermal_debugfs.c | 437 cdev_record->residency = ktime_add(cdev_record->residency, delta); in thermal_debug_cdev_state_update() 667 trip_stats->duration = ktime_add(delta, trip_stats->duration); in tz_episode_close_trip() 836 delta = ktime_add(delta, trip_stats->duration); in tze_seq_show()
|
| /linux/drivers/gpu/drm/i915/gvt/ |
| H A D | sched_policy.c | 86 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/drivers/gpu/drm/lima/ |
| H A D | lima_devfreq.c | 67 status->total_time = ktime_to_ns(ktime_add(devfreq->busy_time, in lima_devfreq_get_dev_status()
|
| /linux/drivers/platform/surface/aggregator/ |
| H A D | ssh_request_layer.c | 430 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()
|
| H A D | ssh_packet_layer.c | 667 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/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_ctx.c | 198 res = ktime_add(res, amdgpu_ctx_fence_time(centity->fences[i])); in amdgpu_ctx_entity_time() 289 res = ktime_add(res, amdgpu_ctx_fence_time(entity->fences[i])); in amdgpu_ctx_fini_entity() 944 usage[hw_ip] = ktime_add(usage[hw_ip], spend); in amdgpu_ctx_mgr_usage()
|
| /linux/drivers/ptp/ |
| H A D | ptp_vmclock.c | 103 ktime_t deadline = ktime_add(ktime_get(), VMCLOCK_MAX_WAIT); in vmclock_get_crosststamp() 395 ktime_t deadline = ktime_add(ktime_get(), VMCLOCK_MAX_WAIT); in vmclock_miscdev_read()
|
| /linux/drivers/usb/host/ |
| H A D | ehci-timer.c | 82 *timeout = ktime_add(ktime_get(), event_delays_ns[event]); in ehci_enable_event()
|
| /linux/io_uring/ |
| H A D | napi.c | 141 ktime_t end_time = ktime_add(start_time, bp); in io_napi_busy_loop_timeout()
|
| /linux/net/sched/ |
| H A D | sch_taprio.c | 245 cycle_ext_end = ktime_add(cycle_end, sched->cycle_time_extension); in get_interval_end_time() 392 *interval_start = ktime_add(curr_intv_start, n * cycle); in find_entry_to_transmit() 393 *interval_end = ktime_add(curr_intv_end, n * cycle); in find_entry_to_transmit() 522 transmit_end_time = ktime_add(txtime, packet_transmit_time); in get_packet_txtime() 529 entry->next_txtime = ktime_add(interval_start, sched->cycle_time); in get_packet_txtime()
|
| /linux/drivers/rtc/ |
| H A D | interface.c | 657 rtc->uie_rtctimer.node.expires = ktime_add(now, onesec); in rtc_update_irq_enable() 1002 timer->node.expires = ktime_add(timer->node.expires, in rtc_timer_do_work()
|
| /linux/kernel/ |
| H A D | torture.c | 682 shutdown_time = ktime_add(ktime_get(), ktime_set(ssecs, 0)); in torture_shutdown_init()
|
| /linux/drivers/acpi/ |
| H A D | button.c | 235 next_report = ktime_add(button->last_time, in acpi_lid_notify_state()
|
| /linux/drivers/usb/chipidea/ |
| H A D | otg_fsm.c | 229 ci->hr_timeouts[t] = ktime_add(ktime_get(), in ci_otg_add_timer()
|
| /linux/drivers/misc/mei/ |
| H A D | hw-txe.c | 225 stop = ktime_add(start, ms_to_ktime(SEC_ALIVENESS_WAIT_TIMEOUT)); in mei_txe_aliveness_poll()
|