Home
last modified time | relevance | path

Searched refs:ktime_before (Results 1 – 25 of 53) sorted by relevance

123

/openbmc/linux/drivers/base/power/
H A Ddomain_governor.c143 if (next_wakeup != KTIME_MAX && !ktime_before(next_wakeup, now)) in update_domain_next_wakeup()
144 if (ktime_before(next_wakeup, domain_wakeup)) in update_domain_next_wakeup()
152 if (next_wakeup != KTIME_MAX && !ktime_before(next_wakeup, now)) in update_domain_next_wakeup()
153 if (ktime_before(next_wakeup, domain_wakeup)) in update_domain_next_wakeup()
368 if (ktime_before(next_hrtimer, domain_wakeup)) in cpu_power_down_ok()
/openbmc/linux/drivers/w1/masters/
H A Dmxc_w1.c58 } while (ktime_before(ktime_get(), timeout)); in mxc_w1_ds2_reset_bus()
86 } while (ktime_before(ktime_get(), timeout)); in mxc_w1_ds2_touch_bit()
/openbmc/linux/net/sched/
H A Dsch_etf.c102 if (ktime_before(txtime, now) || ktime_before(txtime, q->last)) in is_packet_valid()
266 if (ktime_before(skb->tstamp, now)) { in etf_dequeue_timesortedlist()
H A Dsch_taprio.c160 return ktime_before(skb_end_time, entry->gate_close_time[tc]); in taprio_entry_allows_tx()
240 if (ktime_before(intv_end, cycle_end)) in get_interval_end_time()
244 ktime_before(admin->base_time, cycle_ext_end)) in get_interval_end_time()
362 if (ktime_before(txtime, time) || validate_interval) { in find_entry_to_transmit()
364 if ((ktime_before(curr_intv_start, time) && in find_entry_to_transmit()
365 ktime_before(transmit_end_time, curr_intv_end)) || in find_entry_to_transmit()
380 } else if (ktime_before(txtime, earliest_txtime) && in find_entry_to_transmit()
497 if (!sched || ktime_before(minimum_time, sched->base_time)) { in get_packet_txtime()
H A Dsch_cake.c1487 if (ktime_before(b->time_next_packet, now)) in cake_advance_shaper()
1491 else if (ktime_before(b->time_next_packet, in cake_advance_shaper()
1723 if (ktime_before(b->time_next_packet, now)) in cake_enqueue()
1727 if (ktime_before(q->time_next_packet, now)) { in cake_enqueue()
2118 ktime_before(now, flow->cvars.drop_next)) { in cake_dequeue()
/openbmc/linux/net/rxrpc/
H A Dcall_event.c204 if (ktime_before(txb->last_sent, oldest)) in rxrpc_resend()
364 ktime_before(ktime_add_ms(call->peer->rtt_last_req, 1000), in rxrpc_send_initial_ping()
503 else if (ktime_before(ktime_add_ms(call->peer->rtt_last_req, 1000), in rxrpc_input_call_event()
H A Dinput.c88 if (ktime_before(skb->tstamp, in rxrpc_congestion_management()
202 if (!ktime_before(ktime_add(call->tx_last_sent, rtt), now)) in rxrpc_congestion_degrade()
H A Dio_thread.c507 if (ktime_before(now, skb->tstamp)) in rxrpc_io_thread()
/openbmc/linux/include/linux/
H A Dktime.h123 static inline bool ktime_before(const ktime_t cmp1, const ktime_t cmp2) in ktime_before() function
/openbmc/linux/drivers/media/rc/
H A Dgpio-ir-tx.c126 while (ktime_before(ktime_get(), last)) { in gpio_ir_tx_modulated()
/openbmc/linux/drivers/gpu/drm/scheduler/
H A Dsched_fence.c163 ktime_before(fence->deadline, deadline)) { in drm_sched_fence_set_deadline_finished()
/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_fence.c144 ktime_before(deadline, fctx->next_deadline)) { in msm_fence_set_deadline()
/openbmc/linux/kernel/time/
H A Dtick-sched.c72 if (ktime_before(now, smp_load_acquire(&tick_next_period))) in tick_do_update_jiffies64()
86 if (ktime_before(now, nextp)) in tick_do_update_jiffies64()
96 if (ktime_before(now, tick_next_period)) { in tick_do_update_jiffies64()
H A Dhrtimer.c839 if (!ktime_before(expires, timer_cpu_base->softirq_expires_next)) in hrtimer_reprogram()
845 if (!ktime_before(expires, timer_cpu_base->expires_next) || in hrtimer_reprogram()
1812 if (!ktime_before(now, cpu_base->softirq_expires_next)) { in hrtimer_interrupt()
1925 if (!ktime_before(now, cpu_base->softirq_expires_next)) { in hrtimer_run_queues()
/openbmc/linux/drivers/crypto/nx/
H A Dnx-842.c225 } while (ret == -EBUSY && ktime_before(ktime_get(), timeout)); in compress()
398 } while (ret == -EBUSY && ktime_before(ktime_get(), timeout)); in decompress()
/openbmc/linux/kernel/
H A Dtorture.c638 while (ktime_before(ktime_snap, shutdown_time) && in torture_shutdown()
739 if (till_ns && ktime_before(ktime_get(), till_ns)) { in stutter_wait()
/openbmc/linux/kernel/trace/
H A Dring_buffer_benchmark.c283 } while (ktime_before(end_time, timeout) && !break_test()); in ring_buffer_producer()
/openbmc/linux/drivers/gpu/drm/panel/
H A Dpanel-samsung-atna33xc20.c58 if (ktime_before(now_ktime, min_ktime)) in atana33xc20_wait()
/openbmc/linux/drivers/usb/chipidea/
H A Dotg_fsm.c270 ktime_before(ci->hr_timeouts[next_timer], in ci_otg_del_timer()
404 ktime_before(ci->hr_timeouts[cur_timer], in ci_otg_hrtimer_func()
/openbmc/linux/drivers/platform/surface/aggregator/
H A Dssh_request_layer.c435 if (ktime_before(aexp, rtl->rtx_timeout.expires)) { in ssh_rtl_timeout_reaper_mod()
848 next = ktime_before(expires, next) ? expires : next; in ssh_rtl_timeout_reap()
H A Dssh_packet_layer.c672 if (ktime_before(aexp, ptl->rtx_timeout.expires)) { in ssh_ptl_timeout_reaper_mod()
1531 next = ktime_before(expires, next) ? expires : next; in ssh_ptl_timeout_reap()
/openbmc/linux/drivers/input/misc/
H A Dpm8941-pwrkey.c155 if (ktime_before(ktime_get(), pwrkey->sw_debounce_end_time)) { in pm8941_pwrkey_irq()
/openbmc/linux/drivers/gpu/drm/i915/gvt/
H A Dsched_policy.c191 if (ktime_before(ktime_get(), vgpu_data->pri_time)) { in find_busy_vgpu()
/openbmc/linux/drivers/thunderbolt/
H A Dpath.c444 } while (ktime_before(ktime_get(), timeout)); in __tb_path_deactivate_hop()
H A Dusb4.c1264 } while (ktime_before(ktime_get(), timeout)); in usb4_port_wait_for_bit()
1413 } while (ktime_before(ktime_get(), timeout)); in usb4_port_sb_op()
2889 } while (ktime_before(ktime_get(), end)); in usb4_dp_port_wait_and_clear_cm_ack()

123