Home
last modified time | relevance | path

Searched refs:expires (Results 1 – 25 of 117) sorted by relevance

12345

/linux-4.19.296/include/trace/events/
Dalarmtimer.h25 TP_PROTO(ktime_t expires, int flag),
27 TP_ARGS(expires, flag),
30 __field(s64, expires)
35 __entry->expires = expires;
41 __entry->expires
54 __field(s64, expires)
61 __entry->expires = alarm->node.expires;
68 __entry->expires,
Dtimer.h55 unsigned long expires,
58 TP_ARGS(timer, expires, flags),
63 __field( unsigned long, expires )
71 __entry->expires = expires;
77 __entry->timer, __entry->function, __entry->expires,
78 (long)__entry->expires - __entry->now,
200 __field( s64, expires )
208 __entry->expires = hrtimer_get_expires(hrtimer);
215 (unsigned long long) __entry->expires,
302 unsigned long long expires),
[all …]
Drtc.h167 __field(ktime_t, expires)
173 __entry->expires = timer->node.expires;
178 __entry->timer, __entry->expires, __entry->period
/linux-4.19.296/include/linux/
Dhrtimer.h225 timer->node.expires = time; in hrtimer_set_expires()
232 timer->node.expires = ktime_add_safe(time, delta); in hrtimer_set_expires_range()
238 timer->node.expires = ktime_add_safe(time, ns_to_ktime(delta)); in hrtimer_set_expires_range_ns()
243 timer->node.expires = tv64; in hrtimer_set_expires_tv64()
249 timer->node.expires = ktime_add_safe(timer->node.expires, time); in hrtimer_add_expires()
255 timer->node.expires = ktime_add_ns(timer->node.expires, ns); in hrtimer_add_expires_ns()
261 return timer->node.expires; in hrtimer_get_expires()
271 return timer->node.expires; in hrtimer_get_expires_tv64()
280 return ktime_to_ns(timer->node.expires); in hrtimer_get_expires_ns()
285 return ktime_sub(timer->node.expires, timer->base->get_time()); in hrtimer_expires_remaining()
[all …]
Dfreezer.h234 static inline int freezable_schedule_hrtimeout_range(ktime_t *expires, in freezable_schedule_hrtimeout_range() argument
239 __retval = schedule_hrtimeout_range(expires, delta, mode); in freezable_schedule_hrtimeout_range()
294 #define freezable_schedule_hrtimeout_range(expires, delta, mode) \ argument
295 schedule_hrtimeout_range(expires, delta, mode)
Dtimer.h17 unsigned long expires; member
161 extern int mod_timer(struct timer_list *timer, unsigned long expires);
162 extern int mod_timer_pending(struct timer_list *timer, unsigned long expires);
163 extern int timer_reduce(struct timer_list *timer, unsigned long expires);
Dtimerqueue.h11 ktime_t expires; member
Drestart_block.h45 u64 expires; member
/linux-4.19.296/drivers/rtc/
Drtc-test.c32 alarm = (rtd->alarm.expires - jiffies) / HZ; in test_rtc_read_alarm()
45 u64 expires; in test_rtc_set_alarm() local
52 expires = jiffies + timeout * HZ; in test_rtc_set_alarm()
53 if (expires > U32_MAX) in test_rtc_set_alarm()
54 expires = U32_MAX; in test_rtc_set_alarm()
57 rtd->alarm.expires = expires; in test_rtc_set_alarm()
142 rtd->alarm.expires = 0; in test_probe()
Dinterface.c412 alarm->time = rtc_ktime_to_tm(rtc->aie_timer.node.expires); in rtc_read_alarm()
483 rtc->aie_timer.node.expires = rtc_tm_to_ktime(alarm->time); in rtc_set_alarm()
512 rtc->aie_timer.node.expires = rtc_tm_to_ktime(alarm->time); in rtc_initialize_alarm()
517 rtc->aie_timer.node.expires)) { in rtc_initialize_alarm()
585 rtc->uie_rtctimer.node.expires = ktime_add(now, onesec); in rtc_update_irq_enable()
830 if (next->expires >= now) in rtc_timer_enqueue()
837 if (!next || ktime_before(timer->node.expires, next->expires)) { in rtc_timer_enqueue()
840 alarm.time = rtc_ktime_to_tm(timer->node.expires); in rtc_timer_enqueue()
891 alarm.time = rtc_ktime_to_tm(next->expires); in rtc_timer_remove()
926 if (next->expires > now) in rtc_timer_do_work()
[all …]
/linux-4.19.296/drivers/s390/cio/
Ddevice_ops.c192 unsigned long flags, int expires) in ccw_device_start_timeout_key() argument
232 if (expires) in ccw_device_start_timeout_key()
233 ccw_device_set_timeout(cdev, expires); in ccw_device_start_timeout_key()
335 unsigned long flags, int expires) in ccw_device_start_timeout() argument
339 expires); in ccw_device_start_timeout()
530 int expires) in ccw_device_tm_start_timeout_key() argument
559 if (expires) in ccw_device_tm_start_timeout_key()
560 ccw_device_set_timeout(cdev, expires); in ccw_device_tm_start_timeout_key()
614 unsigned long intparm, u8 lpm, int expires) in ccw_device_tm_start_timeout() argument
617 PAGE_DEFAULT_KEY, expires); in ccw_device_tm_start_timeout()
Deadm_sch.c111 static void eadm_subchannel_set_timeout(struct subchannel *sch, int expires) in eadm_subchannel_set_timeout() argument
115 if (expires == 0) { in eadm_subchannel_set_timeout()
120 if (mod_timer(&private->timer, jiffies + expires)) in eadm_subchannel_set_timeout()
123 private->timer.expires = jiffies + expires; in eadm_subchannel_set_timeout()
/linux-4.19.296/include/net/
Ddst.h39 unsigned long expires; member
436 unsigned long expires = jiffies + timeout; in dst_set_expires() local
438 if (expires == 0) in dst_set_expires()
439 expires = 1; in dst_set_expires()
441 if (dst->expires == 0 || time_before(expires, dst->expires)) in dst_set_expires()
442 dst->expires = expires; in dst_set_expires()
Dip6_fib.h150 unsigned long expires; member
215 f6i->expires = 0; in fib6_clean_expires()
219 unsigned long expires) in fib6_set_expires() argument
221 f6i->expires = expires; in fib6_set_expires()
228 return time_after(jiffies, f6i->expires); in fib6_check_expired()
434 void fib6_run_gc(unsigned long expires, struct net *net, bool force);
Dpkt_sched.h79 void qdisc_watchdog_schedule_ns(struct qdisc_watchdog *wd, u64 expires);
82 psched_time_t expires) in qdisc_watchdog_schedule() argument
84 qdisc_watchdog_schedule_ns(wd, PSCHED_TICKS2NS(expires)); in qdisc_watchdog_schedule()
Datmclip.h41 unsigned long expires; /* entry expiration time */ member
/linux-4.19.296/drivers/base/power/
Druntime.c132 unsigned long expires = 0; in pm_runtime_autosuspend_expiration() local
150 expires = last_busy + msecs_to_jiffies(autosuspend_delay); in pm_runtime_autosuspend_expiration()
152 expires = round_jiffies(expires); in pm_runtime_autosuspend_expiration()
153 expires += !expires; in pm_runtime_autosuspend_expiration()
154 if (elapsed >= expires - last_busy) in pm_runtime_autosuspend_expiration()
155 expires = 0; /* Already expired. */ in pm_runtime_autosuspend_expiration()
158 return expires; in pm_runtime_autosuspend_expiration()
526 unsigned long expires = pm_runtime_autosuspend_expiration(dev); in rpm_suspend() local
528 if (expires != 0) { in rpm_suspend()
540 dev->power.timer_expires, expires))) { in rpm_suspend()
[all …]
Dwakeup.c763 unsigned long expires; in pm_wakeup_ws_event() local
777 expires = jiffies + msecs_to_jiffies(msec); in pm_wakeup_ws_event()
778 if (!expires) in pm_wakeup_ws_event()
779 expires = 1; in pm_wakeup_ws_event()
781 if (!ws->timer_expires || time_after(expires, ws->timer_expires)) { in pm_wakeup_ws_event()
782 mod_timer(&ws->timer, expires); in pm_wakeup_ws_event()
783 ws->timer_expires = expires; in pm_wakeup_ws_event()
/linux-4.19.296/lib/
Dtimerqueue.c53 if (node->expires < ptr->expires) { in timerqueue_add()
Drandom32.c494 unsigned long expires; in prandom_reseed() local
541 expires = round_jiffies(jiffies + 40 * HZ + prandom_u32_max(40 * HZ)); in prandom_reseed()
542 mod_timer(&seed_timer, expires); in prandom_reseed()
/linux-4.19.296/drivers/isdn/divert/
Disdn_divert.c73 cs->timer.expires = jiffies + (HZ * AUTODEL_TIME); in deflect_timer_expire()
85 cs->timer.expires = jiffies + (HZ * AUTODEL_TIME); in deflect_timer_expire()
229 cs->timer.expires = jiffies + (HZ * AUTODEL_TIME); in deflect_extern_action()
242 cs->timer.expires = jiffies + (HZ * AUTODEL_TIME); in deflect_extern_action()
257 cs->timer.expires = jiffies + (HZ * AUTODEL_TIME); in deflect_extern_action()
461 cs->timer.expires = jiffies + (HZ * dv->rule.waittime); in isdn_divert_icall()
463 cs->timer.expires = jiffies + (HZ * extern_wait_max); in isdn_divert_icall()
465 cs->timer.expires = 0; in isdn_divert_icall()
473 if (!cs->timer.expires) { in isdn_divert_icall()
479 cs->timer.expires = jiffies + (HZ * AUTODEL_TIME); in isdn_divert_icall()
[all …]
/linux-4.19.296/drivers/s390/block/
Ddasd_diag.c238 unsigned long expires; in dasd_ext_handler() local
283 expires = 0; in dasd_ext_handler()
293 expires = next->expires; in dasd_ext_handler()
304 if (expires != 0) in dasd_ext_handler()
305 dasd_device_set_timer(device, expires); in dasd_ext_handler()
568 cqr->expires = memdev->default_expires * HZ; in dasd_diag_build_cp()
/linux-4.19.296/drivers/i2c/busses/
Di2c-pnx.c123 unsigned long expires = msecs_to_jiffies(alg_data->timeout); in i2c_pnx_arm_timer() local
125 if (expires <= 1) in i2c_pnx_arm_timer()
126 expires = 2; in i2c_pnx_arm_timer()
131 jiffies, expires); in i2c_pnx_arm_timer()
133 timer->expires = jiffies + expires; in i2c_pnx_arm_timer()
/linux-4.19.296/drivers/isdn/hisax/
Dfsm.c139 ft->tl.expires = jiffies + (millisec * HZ) / 1000; in FsmAddTimer()
159 ft->tl.expires = jiffies + (millisec * HZ) / 1000; in FsmRestartTimer()
/linux-4.19.296/block/
Dblk-timeout.c231 time_before(expiry, q->timeout.expires)) { in blk_add_timer()
232 unsigned long diff = q->timeout.expires - expiry; in blk_add_timer()

12345