Home
last modified time | relevance | path

Searched full:expires (Results 1 – 25 of 1276) sorted by relevance

12345678910>>...52

/kernel/linux/linux-5.10/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;
39 TP_printk("alarmtimer type:%s expires:%llu",
41 __entry->expires
54 __field(s64, expires)
61 __entry->expires = alarm->node.expires;
65 TP_printk("alarmtimer:%p type:%s expires:%llu now:%llu",
68 __entry->expires,
Dtimer.h50 * @expires: the timers expiry time
55 unsigned long expires,
58 TP_ARGS(timer, expires, flags),
63 __field( unsigned long, expires )
71 __entry->expires = expires;
76 TP_printk("timer=%p function=%ps expires=%lu [timeout=%ld] cpu=%u idx=%u flags=%s",
77 __entry->timer, __entry->function, __entry->expires,
78 (long)__entry->expires - __entry->now,
208 __field( s64, expires )
216 __entry->expires = hrtimer_get_expires(hrtimer);
[all …]
/kernel/linux/linux-6.6/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;
39 TP_printk("alarmtimer type:%s expires:%llu",
41 __entry->expires
54 __field(s64, expires)
61 __entry->expires = alarm->node.expires;
65 TP_printk("alarmtimer:%p type:%s expires:%llu now:%llu",
68 __entry->expires,
Dtimer.h50 * @expires: the timers expiry time
56 unsigned long expires,
59 TP_ARGS(timer, expires, flags),
64 __field( unsigned long, expires )
72 __entry->expires = expires;
77 TP_printk("timer=%p function=%ps expires=%lu [timeout=%ld] cpu=%u idx=%u flags=%s",
78 __entry->timer, __entry->function, __entry->expires,
79 (long)__entry->expires - __entry->now,
88 * @baseclk: value of timer_base::clk when timer expires
211 __field( s64, expires )
[all …]
/kernel/linux/linux-5.10/arch/s390/kernel/
Dvtime.c44 static inline void set_vtimer(u64 expires) in set_vtimer() argument
51 : "=Q" (timer) : "Q" (expires)); in set_vtimer()
53 S390_lowcore.last_update_timer = expires; in set_vtimer()
264 if (tmp->expires > timer->expires) { in list_add_sorted()
285 if (timer->expires < elapsed) in virt_timer_expire()
289 timer->expires -= elapsed; in virt_timer_expire()
294 atomic64_set(&virt_timer_current, timer->expires); in virt_timer_expire()
305 timer->expires = timer->interval + in virt_timer_expire()
330 atomic64_set(&virt_timer_current, timer->expires); in internal_add_vtimer()
335 timer->expires += atomic64_read(&virt_timer_elapsed); in internal_add_vtimer()
[all …]
/kernel/linux/linux-6.6/arch/s390/kernel/
Dvtime.c44 static inline void set_vtimer(u64 expires) in set_vtimer() argument
51 : "=Q" (timer) : "Q" (expires)); in set_vtimer()
53 S390_lowcore.last_update_timer = expires; in set_vtimer()
275 if (tmp->expires > timer->expires) { in list_add_sorted()
296 if (timer->expires < elapsed) in virt_timer_expire()
300 timer->expires -= elapsed; in virt_timer_expire()
305 atomic64_set(&virt_timer_current, timer->expires); in virt_timer_expire()
316 timer->expires = timer->interval + in virt_timer_expire()
341 atomic64_set(&virt_timer_current, timer->expires); in internal_add_vtimer()
346 timer->expires += atomic64_read(&virt_timer_elapsed); in internal_add_vtimer()
[all …]
/kernel/linux/linux-5.10/net/rose/
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 …]
/kernel/linux/linux-6.6/net/rose/
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 …]
/kernel/linux/linux-6.6/include/linux/
Dhrtimer.h99 * @node: timerqueue node, which also manages node.expires,
134 * task is set to NULL, when the timer expires.
245 timer->node.expires = time; in hrtimer_set_expires()
252 timer->node.expires = ktime_add_safe(time, delta); in hrtimer_set_expires_range()
258 timer->node.expires = ktime_add_safe(time, ns_to_ktime(delta)); in hrtimer_set_expires_range_ns()
263 timer->node.expires = tv64; in hrtimer_set_expires_tv64()
269 timer->node.expires = ktime_add_safe(timer->node.expires, time); in hrtimer_add_expires()
275 timer->node.expires = ktime_add_ns(timer->node.expires, ns); in hrtimer_add_expires_ns()
281 return timer->node.expires; in hrtimer_get_expires()
291 return timer->node.expires; in hrtimer_get_expires_tv64()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dhrtimer.h102 * @node: timerqueue node, which also manages node.expires,
137 * task is set to NULL, when the timer expires.
247 timer->node.expires = time; in hrtimer_set_expires()
254 timer->node.expires = ktime_add_safe(time, delta); in hrtimer_set_expires_range()
260 timer->node.expires = ktime_add_safe(time, ns_to_ktime(delta)); in hrtimer_set_expires_range_ns()
265 timer->node.expires = tv64; in hrtimer_set_expires_tv64()
271 timer->node.expires = ktime_add_safe(timer->node.expires, time); in hrtimer_add_expires()
277 timer->node.expires = ktime_add_ns(timer->node.expires, ns); in hrtimer_add_expires_ns()
283 return timer->node.expires; in hrtimer_get_expires()
293 return timer->node.expires; in hrtimer_get_expires_tv64()
[all …]
/kernel/linux/linux-6.6/kernel/time/
Dalarmtimer.c194 * the next future alarm timer expires.
213 hrtimer_set_expires(&alarm->timer, alarm->node.expires); in alarmtimer_fired()
227 return ktime_sub(alarm->node.expires, base->get_ktime()); in alarm_expires_remaining()
243 ktime_t min, now, expires; in alarmtimer_suspend() local
251 expires = freezer_expires; in alarmtimer_suspend()
272 delta = ktime_sub(next->expires, base->get_ktime()); in alarmtimer_suspend()
274 expires = next->expires; in alarmtimer_suspend()
287 trace_alarmtimer_suspend(expires, type); in alarmtimer_suspend()
361 alarm->node.expires = start; in alarm_start()
363 hrtimer_start(&alarm->timer, alarm->node.expires, HRTIMER_MODE_ABS); in alarm_start()
[all …]
Dtimer.c86 * the timeout expires it indicates that normal operation is disturbed, so it
516 static inline unsigned calc_index(unsigned long expires, unsigned lvl, in calc_index() argument
528 expires = (expires >> LVL_SHIFT(lvl)) + 1; in calc_index()
529 *bucket_expiry = expires << LVL_SHIFT(lvl); in calc_index()
530 return LVL_OFFS(lvl) + (expires & LVL_MASK); in calc_index()
533 static int calc_wheel_index(unsigned long expires, unsigned long clk, in calc_wheel_index() argument
536 unsigned long delta = expires - clk; in calc_wheel_index()
540 idx = calc_index(expires, 0, bucket_expiry); in calc_wheel_index()
542 idx = calc_index(expires, 1, bucket_expiry); in calc_wheel_index()
544 idx = calc_index(expires, 2, bucket_expiry); in calc_wheel_index()
[all …]
Dhrtimer.c209 ktime_t expires; in hrtimer_suitable_target() local
227 expires = ktime_sub(hrtimer_get_expires(timer), new_base->offset); in hrtimer_suitable_target()
229 return expires >= new_base->cpu_base->expires_next; in hrtimer_suitable_target()
538 ktime_t expires; in __hrtimer_next_event_base() local
554 expires = ktime_sub(hrtimer_get_expires(timer), base->offset); in __hrtimer_next_event_base()
555 if (expires < expires_next) { in __hrtimer_next_event_base()
556 expires_next = expires; in __hrtimer_next_event_base()
699 * T1 expires 50ms from now in __hrtimer_reprogram()
700 * T2 expires 5s from now in __hrtimer_reprogram()
830 * When a timer is enqueued and expires earlier than the already enqueued
[all …]
/kernel/linux/linux-5.10/kernel/time/
Dalarmtimer.c195 * the next future alarm timer expires.
214 hrtimer_set_expires(&alarm->timer, alarm->node.expires); in alarmtimer_fired()
228 return ktime_sub(alarm->node.expires, base->get_ktime()); in alarm_expires_remaining()
244 ktime_t min, now, expires; in alarmtimer_suspend() local
252 expires = freezer_expires; in alarmtimer_suspend()
273 delta = ktime_sub(next->expires, base->get_ktime()); in alarmtimer_suspend()
275 expires = next->expires; in alarmtimer_suspend()
288 trace_alarmtimer_suspend(expires, type); in alarmtimer_suspend()
362 alarm->node.expires = start; in alarm_start()
364 hrtimer_start(&alarm->timer, alarm->node.expires, HRTIMER_MODE_ABS); in alarm_start()
[all …]
Dtimer.c85 * the timeout expires it indicates that normal operation is disturbed, so it
493 static inline unsigned calc_index(unsigned long expires, unsigned lvl, in calc_index() argument
505 expires = (expires + LVL_GRAN(lvl)) >> LVL_SHIFT(lvl); in calc_index()
506 *bucket_expiry = expires << LVL_SHIFT(lvl); in calc_index()
507 return LVL_OFFS(lvl) + (expires & LVL_MASK); in calc_index()
510 static int calc_wheel_index(unsigned long expires, unsigned long clk, in calc_wheel_index() argument
513 unsigned long delta = expires - clk; in calc_wheel_index()
517 idx = calc_index(expires, 0, bucket_expiry); in calc_wheel_index()
519 idx = calc_index(expires, 1, bucket_expiry); in calc_wheel_index()
521 idx = calc_index(expires, 2, bucket_expiry); in calc_wheel_index()
[all …]
Dhrtimer.c195 ktime_t expires; in hrtimer_check_target() local
197 expires = ktime_sub(hrtimer_get_expires(timer), new_base->offset); in hrtimer_check_target()
198 return expires < new_base->cpu_base->expires_next; in hrtimer_check_target()
508 ktime_t expires; in __hrtimer_next_event_base() local
524 expires = ktime_sub(hrtimer_get_expires(timer), base->offset); in __hrtimer_next_event_base()
525 if (expires < expires_next) { in __hrtimer_next_event_base()
526 expires_next = expires; in __hrtimer_next_event_base()
680 * T1 expires 50ms from now in hrtimer_force_reprogram()
681 * T2 expires 5s from now in hrtimer_force_reprogram()
770 * When a timer is enqueued and expires earlier than the already enqueued
[all …]
/kernel/linux/linux-6.6/arch/x86/platform/uv/
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 …]
/kernel/linux/linux-5.10/arch/x86/platform/uv/
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 …]
/kernel/linux/linux-6.6/drivers/rtc/
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()
/kernel/linux/linux-5.10/drivers/rtc/
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()
54 rtd->alarm.expires = expires; in test_rtc_set_alarm()
140 rtd->alarm.expires = 0; in test_probe()
/kernel/linux/linux-5.10/net/ipv6/
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()
350 static int fl6_renew(struct ip6_flowlabel *fl, unsigned long linger, unsigned long expires) in fl6_renew() argument
355 expires = check_linger(expires); in fl6_renew()
356 if (!expires) in fl6_renew()
[all …]
/kernel/linux/linux-6.6/net/ipv6/
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 …]
/kernel/linux/linux-6.6/drivers/md/
Ddm-delay.c47 unsigned long expires; member
59 static void queue_timeout(struct delay_c *dc, unsigned long expires) in queue_timeout() argument
63 if (!timer_pending(&dc->delay_timer) || expires < dc->delay_timer.expires) in queue_timeout()
64 mod_timer(&dc->delay_timer, expires); in queue_timeout()
90 if (flush_all || time_after_eq(jiffies, delayed->expires)) { in flush_delayed_bios()
101 next_expires = delayed->expires; in flush_delayed_bios()
103 next_expires = min(next_expires, delayed->expires); in flush_delayed_bios()
248 unsigned long expires = 0; in delay_bio() local
256 delayed->expires = expires = jiffies + msecs_to_jiffies(c->delay); in delay_bio()
267 queue_timeout(dc, expires); in delay_bio()
/kernel/linux/linux-5.10/drivers/md/
Ddm-delay.c46 unsigned long expires; member
58 static void queue_timeout(struct delay_c *dc, unsigned long expires) in queue_timeout() argument
62 if (!timer_pending(&dc->delay_timer) || expires < dc->delay_timer.expires) in queue_timeout()
63 mod_timer(&dc->delay_timer, expires); in queue_timeout()
89 if (flush_all || time_after_eq(jiffies, delayed->expires)) { in flush_delayed_bios()
100 next_expires = delayed->expires; in flush_delayed_bios()
102 next_expires = min(next_expires, delayed->expires); in flush_delayed_bios()
246 unsigned long expires = 0; in delay_bio() local
254 delayed->expires = expires = jiffies + msecs_to_jiffies(c->delay); in delay_bio()
265 queue_timeout(dc, expires); in delay_bio()
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/
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()
76 unsigned long expires; in mt76_mcu_skb_send_and_get_msg() local
93 expires = jiffies + dev->mcu.timeout; in mt76_mcu_skb_send_and_get_msg()
96 skb = mt76_mcu_get_response(dev, expires); in mt76_mcu_skb_send_and_get_msg()

12345678910>>...52