Home
last modified time | relevance | path

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

12345678910>>...17

/linux/arch/s390/kernel/
H A Dvtime.c36 static inline void set_vtimer(u64 expires) in set_vtimer() argument
44 : "=Q" (timer) : "Q" (expires)); in set_vtimer()
46 lc->last_update_timer = expires; in set_vtimer()
273 if (tmp->expires > timer->expires) { in list_add_sorted()
294 if (timer->expires < elapsed) in virt_timer_expire()
298 timer->expires -= elapsed; in virt_timer_expire()
303 atomic64_set(&virt_timer_current, timer->expires); in virt_timer_expire()
314 timer->expires = timer->interval + in virt_timer_expire()
339 atomic64_set(&virt_timer_current, timer->expires); in internal_add_vtimer()
344 timer->expires += atomic64_read(&virt_timer_elapsed); in internal_add_vtimer()
[all …]
/linux/include/trace/events/
H A 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,
H A Dtimer.h62 __field( unsigned long, expires )
71 __entry->expires = timer->expires;
78 __entry->timer, __entry->function, __entry->expires,
79 (long)__entry->expires - __entry->now,
231 __field( s64, expires )
239 __entry->expires = hrtimer_get_expires(hrtimer);
246 (unsigned long long) __entry->expires,
334 unsigned long long expires),
336 TP_ARGS(which, value, expires),
340 __field( unsigned long long, expires )
[all …]
H A Drtc.h167 __field(ktime_t, expires)
173 __entry->expires = timer->node.expires;
178 __entry->timer, __entry->expires, __entry->period
/linux/kernel/time/
H A Dalarmtimer.c214 return ktime_sub(alarm->node.expires, base->get_ktime()); in alarm_expires_remaining()
230 ktime_t min, now, expires; in alarmtimer_suspend() local
238 expires = freezer_expires; in alarmtimer_suspend()
259 delta = ktime_sub(next->expires, base->get_ktime()); in alarmtimer_suspend()
261 expires = next->expires; in alarmtimer_suspend()
274 trace_alarmtimer_suspend(expires, type); in alarmtimer_suspend()
358 alarm->node.expires = start; in alarm_start()
360 hrtimer_start(&alarm->timer, alarm->node.expires, HRTIMER_MODE_ABS); in alarm_start()
387 hrtimer_set_expires(&alarm->timer, alarm->node.expires); in alarm_restart()
442 delta = ktime_sub(now, alarm->node.expires); in alarm_forward()
[all …]
H A Dtimer.c566 static inline unsigned calc_index(unsigned long expires, unsigned lvl, in calc_index() argument
578 expires = (expires >> LVL_SHIFT(lvl)) + 1; in calc_index()
579 *bucket_expiry = expires << LVL_SHIFT(lvl); in calc_index()
580 return LVL_OFFS(lvl) + (expires & LVL_MASK); in calc_index()
583 static int calc_wheel_index(unsigned long expires, unsigned long clk, in calc_wheel_index() argument
586 unsigned long delta = expires - clk; in calc_wheel_index()
590 idx = calc_index(expires, 0, bucket_expiry); in calc_wheel_index()
592 idx = calc_index(expires, 1, bucket_expiry); in calc_wheel_index()
594 idx = calc_index(expires, 2, bucket_expiry); in calc_wheel_index()
596 idx = calc_index(expires, 3, bucket_expiry); in calc_wheel_index()
[all …]
H A Dposix-cpu-timers.c124 u64 delta, incr, expires = timer->it.cpu.node.expires; in bump_cpu_timer() local
128 return expires; in bump_cpu_timer()
130 if (now < expires) in bump_cpu_timer()
131 return expires; in bump_cpu_timer()
134 delta = now + incr - expires; in bump_cpu_timer()
144 timer->it.cpu.node.expires += incr; in bump_cpu_timer()
148 return timer->it.cpu.node.expires; in bump_cpu_timer()
744 u64 expires, iv = timer->it_interval; in __posix_cpu_timer_get() local
754 expires = bump_cpu_timer(timer, now); in __posix_cpu_timer_get()
756 expires = cpu_timer_getexpires(&timer->it.cpu); in __posix_cpu_timer_get()
[all …]
H A Dhrtimer.c197 ktime_t expires; in hrtimer_check_target() local
199 expires = ktime_sub(hrtimer_get_expires(timer), new_base->offset); in hrtimer_check_target()
200 return expires < new_base->cpu_base->expires_next; in hrtimer_check_target()
502 ktime_t expires; in __hrtimer_next_event_base() local
518 expires = ktime_sub(hrtimer_get_expires(timer), base->offset); in __hrtimer_next_event_base()
519 if (expires < expires_next) { in __hrtimer_next_event_base()
520 expires_next = expires; in __hrtimer_next_event_base()
801 ktime_t expires = ktime_sub(hrtimer_get_expires(timer), base->offset); in hrtimer_reprogram() local
809 if (expires < 0) in hrtimer_reprogram()
810 expires = 0; in hrtimer_reprogram()
[all …]
H A Dtick-sched.c893 u64 basemono, next_tick, delta, expires; in tick_nohz_next_event() local
959 expires = basemono + delta; in tick_nohz_next_event()
961 expires = KTIME_MAX; in tick_nohz_next_event()
963 ts->timer_expires = min_t(u64, expires, next_tick); in tick_nohz_next_event()
976 u64 expires; in tick_nohz_stop_tick() local
985 expires = timer_base_try_to_set_idle(basejiff, basemono, &timer_idle); in tick_nohz_stop_tick()
986 if (expires > ts->timer_expires) { in tick_nohz_stop_tick()
998 expires = ts->timer_expires; in tick_nohz_stop_tick()
1022 if (tick_sched_flag_test(ts, TS_FLAG_STOPPED) && (expires == ts->next_tick)) { in tick_nohz_stop_tick()
1024 if (expires == KTIME_MAX || ts->next_tick == hrtimer_get_expires(&ts->sched_timer)) in tick_nohz_stop_tick()
[all …]
H A Dtick-oneshot.c23 int tick_program_event(ktime_t expires, int force) in tick_program_event() argument
27 if (unlikely(expires == KTIME_MAX)) { in tick_program_event()
44 return clockevents_program_event(dev, expires, force); in tick_program_event()
/linux/net/rose/
H A Drose_timer.c37 sk->sk_timer.expires = jiffies + 5 * HZ; in rose_start_heartbeat()
39 sk_reset_timer(sk, &sk->sk_timer, sk->sk_timer.expires); in rose_start_heartbeat()
49 rose->timer.expires = jiffies + rose->t1; in rose_start_t1timer()
51 sk_reset_timer(sk, &rose->timer, rose->timer.expires); in rose_start_t1timer()
61 rose->timer.expires = jiffies + rose->t2; in rose_start_t2timer()
63 sk_reset_timer(sk, &rose->timer, rose->timer.expires); in rose_start_t2timer()
73 rose->timer.expires = jiffies + rose->t3; in rose_start_t3timer()
75 sk_reset_timer(sk, &rose->timer, rose->timer.expires); in rose_start_t3timer()
85 rose->timer.expires = jiffies + rose->hb; in rose_start_hbtimer()
87 sk_reset_timer(sk, &rose->timer, rose->timer.expires); in rose_start_hbtimer()
[all …]
/linux/arch/x86/platform/uv/
H A Duv_time.c55 u64 expires; /* next timer expiration for this cpu */ member
93 static int uv_setup_intr(int cpu, u64 expires) in uv_setup_intr() argument
112 uv_write_global_mmr64(pnode, UVH_INT_CMPB, expires); in uv_setup_intr()
114 if (uv_read_rtc(NULL) <= expires) in uv_setup_intr()
164 head->cpu[bcpu].expires = ULLONG_MAX; in uv_rtc_allocate_timers()
178 u64 exp = head->cpu[c].expires; in uv_rtc_find_next_timer()
201 static int uv_rtc_set_timer(int cpu, u64 expires) in uv_rtc_set_timer() argument
207 u64 *t = &head->cpu[bcpu].expires; in uv_rtc_set_timer()
214 *t = expires; in uv_rtc_set_timer()
218 expires < head->cpu[next_cpu].expires) { in uv_rtc_set_timer()
[all …]
/linux/drivers/rtc/
H A Drtc-test.c29 alarm = (rtd->alarm.expires - jiffies) / HZ; in test_rtc_read_alarm()
42 u64 expires; in test_rtc_set_alarm() local
49 expires = jiffies + timeout * HZ; in test_rtc_set_alarm()
50 if (expires > U32_MAX) in test_rtc_set_alarm()
51 expires = U32_MAX; in test_rtc_set_alarm()
53 rtd->alarm.expires = expires; in test_rtc_set_alarm()
139 rtd->alarm.expires = 0; in test_probe()
H A Dinterface.c401 alarm->time = rtc_ktime_to_tm(rtc->aie_timer.node.expires); in rtc_read_alarm()
482 rtc->aie_timer.node.expires = alarm_time; in rtc_set_alarm()
511 rtc->aie_timer.node.expires = rtc_tm_to_ktime(alarm->time); in rtc_initialize_alarm()
516 rtc->aie_timer.node.expires)) { in rtc_initialize_alarm()
594 rtc->uie_rtctimer.node.expires = ktime_add(now, onesec); in rtc_update_irq_enable()
819 if (next->expires >= now) in rtc_timer_enqueue()
826 if (!next || ktime_before(timer->node.expires, next->expires)) { in rtc_timer_enqueue()
829 alarm.time = rtc_ktime_to_tm(timer->node.expires); in rtc_timer_enqueue()
882 alarm.time = rtc_ktime_to_tm(next->expires); in rtc_timer_remove()
921 if (next->expires > now) in rtc_timer_do_work()
[all …]
/linux/net/ipv6/
H A Dip6_flowlabel.c133 if (time_after(ttd, fl->expires)) in fl_release()
134 fl->expires = ttd; in fl_release()
135 ttd = fl->expires; in fl_release()
142 time_after(ip6_fl_gc_timer.expires, ttd)) in fl_release()
165 if (time_after(ttd, fl->expires)) in ip6_fl_gc()
166 fl->expires = ttd; in ip6_fl_gc()
167 ttd = fl->expires; in ip6_fl_gc()
353 static int fl6_renew(struct ip6_flowlabel *fl, unsigned long linger, unsigned long expires) in fl6_renew() argument
358 expires = check_linger(expires); in fl6_renew()
359 if (!expires) in fl6_renew()
[all …]
/linux/drivers/watchdog/
H A Dxen_wdt.c48 time64_t expires; in xen_wdt_start() local
51 expires = set_timeout(wdd); in xen_wdt_start()
58 wdt_expires = expires; in xen_wdt_start()
81 time64_t expires; in xen_wdt_kick() local
84 expires = set_timeout(wdd); in xen_wdt_kick()
90 wdt_expires = expires; in xen_wdt_kick()
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmcu.c33 unsigned long expires) in mt76_mcu_get_response() argument
37 if (!time_is_after_jiffies(expires)) in mt76_mcu_get_response()
40 timeout = expires - jiffies; in mt76_mcu_get_response()
78 unsigned long expires; in mt76_mcu_skb_send_and_get_msg() local
106 expires = jiffies + dev->mcu.timeout; in mt76_mcu_skb_send_and_get_msg()
109 skb = mt76_mcu_get_response(dev, expires); in mt76_mcu_skb_send_and_get_msg()
/linux/arch/s390/include/asm/
H A Dvtimer.h16 u64 expires; member
25 extern int mod_virt_timer(struct vtimer_list *timer, u64 expires);
26 extern int mod_virt_timer_periodic(struct vtimer_list *timer, u64 expires);
/linux/drivers/md/
H A Ddm-delay.c50 unsigned long expires; member
60 static void queue_timeout(struct delay_c *dc, unsigned long expires) in queue_timeout() argument
62 timer_reduce(&dc->delay_timer, expires); in queue_timeout()
97 if (flush_all || time_after_eq(jiffies, delayed->expires)) { in flush_delayed_bios()
109 next_expires = delayed->expires; in flush_delayed_bios()
111 next_expires = min(next_expires, delayed->expires); in flush_delayed_bios()
304 unsigned long expires = 0; in delay_bio() local
312 delayed->expires = expires = jiffies + msecs_to_jiffies(c->delay); in delay_bio()
326 queue_timeout(dc, expires); in delay_bio()
/linux/Documentation/translations/zh_CN/process/
H A Dmaintainer-pgp-guide.rst149 sec ed25519 2022-12-20 [SC] [expires: 2024-12-19]
152 ssb cv25519 2022-12-20 [E] [expires: 2024-12-19]
269 pub ed25519 2022-12-20 [SC] [expires: 2022-12-19]
273 sub cv25519 2022-12-20 [E] [expires: 2022-12-19]
296 sec# ed25519 2022-12-20 [SC] [expires: 2024-12-19]
299 ssb cv25519 2022-12-20 [E] [expires: 2024-12-19]
415 created: 2022-12-20 expires: 2024-12-19 usage: SC
418 created: 2022-12-20 expires: never usage: E
420 created: 2017-12-07 expires: never usage: S
474 sec# ed25519 2022-12-20 [SC] [expires: 2024-12-19]
[all …]
/linux/include/net/
H A Ddst.h30 unsigned long expires; member
434 unsigned long expires = jiffies + timeout; in dst_set_expires() local
436 if (expires == 0) in dst_set_expires()
437 expires = 1; in dst_set_expires()
439 if (dst->expires == 0 || time_before(expires, dst->expires)) in dst_set_expires()
440 dst->expires = expires; in dst_set_expires()
H A Dpkt_sched.h75 void qdisc_watchdog_schedule_range_ns(struct qdisc_watchdog *wd, u64 expires,
79 u64 expires) in qdisc_watchdog_schedule_ns() argument
81 return qdisc_watchdog_schedule_range_ns(wd, expires, 0ULL); in qdisc_watchdog_schedule_ns()
85 psched_time_t expires) in qdisc_watchdog_schedule() argument
87 qdisc_watchdog_schedule_ns(wd, PSCHED_TICKS2NS(expires)); in qdisc_watchdog_schedule()
/linux/drivers/platform/surface/aggregator/
H A Dssh_request_layer.c427 ktime_t expires) in ssh_rtl_timeout_reaper_mod() argument
429 unsigned long delta = msecs_to_jiffies(ktime_ms_delta(expires, now)); in ssh_rtl_timeout_reaper_mod()
430 ktime_t aexp = ktime_add(expires, SSH_RTL_REQUEST_TIMEOUT_RESOLUTION); in ssh_rtl_timeout_reaper_mod()
435 if (ktime_before(aexp, rtl->rtx_timeout.expires)) { in ssh_rtl_timeout_reaper_mod()
436 rtl->rtx_timeout.expires = expires; in ssh_rtl_timeout_reaper_mod()
836 rtl->rtx_timeout.expires = KTIME_MAX; in ssh_rtl_timeout_reap()
841 ktime_t expires = ssh_request_get_expiration(r, timeout); in ssh_rtl_timeout_reap() local
847 if (ktime_after(expires, now)) { in ssh_rtl_timeout_reap()
848 next = ktime_before(expires, next) ? expires : next; in ssh_rtl_timeout_reap()
1048 rtl->rtx_timeout.expires = KTIME_MAX; in ssh_rtl_init()
/linux/drivers/s390/cio/
H A Ddevice_ops.c193 unsigned long flags, int expires) in ccw_device_start_timeout_key() argument
237 if (expires) in ccw_device_start_timeout_key()
238 ccw_device_set_timeout(cdev, expires); in ccw_device_start_timeout_key()
349 unsigned long flags, int expires) in ccw_device_start_timeout() argument
353 expires); in ccw_device_start_timeout()
545 int expires) in ccw_device_tm_start_timeout_key() argument
578 if (expires) in ccw_device_tm_start_timeout_key()
579 ccw_device_set_timeout(cdev, expires); in ccw_device_tm_start_timeout_key()
633 unsigned long intparm, u8 lpm, int expires) in ccw_device_tm_start_timeout() argument
636 PAGE_DEFAULT_KEY, expires); in ccw_device_tm_start_timeout()
/linux/drivers/gpu/drm/i915/selftests/
H A Dlib_sw_fence.c63 void timed_fence_init(struct timed_fence *tf, unsigned long expires) in timed_fence_init() argument
69 if (time_after(expires, jiffies)) in timed_fence_init()
70 mod_timer(&tf->timer, expires); in timed_fence_init()

12345678910>>...17