/linux-6.6.21/include/trace/events/ |
D | alarmtimer.h | 25 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,
|
D | timer.h | 56 unsigned long expires, 59 TP_ARGS(timer, expires, flags), 64 __field( unsigned long, expires ) 72 __entry->expires = expires; 78 __entry->timer, __entry->function, __entry->expires, 79 (long)__entry->expires - __entry->now, 211 __field( s64, expires ) 219 __entry->expires = hrtimer_get_expires(hrtimer); 226 (unsigned long long) __entry->expires, 314 unsigned long long expires), [all …]
|
D | rtc.h | 167 __field(ktime_t, expires) 173 __entry->expires = timer->node.expires; 178 __entry->timer, __entry->expires, __entry->period
|
/linux-6.6.21/arch/s390/kernel/ |
D | vtime.c | 44 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 …]
|
/linux-6.6.21/kernel/time/ |
D | timer.c | 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() 546 idx = calc_index(expires, 3, bucket_expiry); in calc_wheel_index() [all …]
|
D | alarmtimer.c | 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() 390 hrtimer_set_expires(&alarm->timer, alarm->node.expires); in alarm_restart() [all …]
|
D | hrtimer.c | 196 ktime_t expires; in hrtimer_check_target() local 198 expires = ktime_sub(hrtimer_get_expires(timer), new_base->offset); in hrtimer_check_target() 199 return expires < new_base->cpu_base->expires_next; in hrtimer_check_target() 510 ktime_t expires; in __hrtimer_next_event_base() local 526 expires = ktime_sub(hrtimer_get_expires(timer), base->offset); in __hrtimer_next_event_base() 527 if (expires < expires_next) { in __hrtimer_next_event_base() 528 expires_next = expires; in __hrtimer_next_event_base() 814 ktime_t expires = ktime_sub(hrtimer_get_expires(timer), base->offset); in hrtimer_reprogram() local 822 if (expires < 0) in hrtimer_reprogram() 823 expires = 0; in hrtimer_reprogram() [all …]
|
D | posix-cpu-timers.c | 124 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() 792 u64 now, expires = cpu_timer_getexpires(ctmr); in posix_cpu_timer_get() local 805 if (!expires) in posix_cpu_timer_get() 816 if (now < expires) { in posix_cpu_timer_get() [all …]
|
D | tick-oneshot.c | 23 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()
|
D | itimer.c | 55 val = it->expires; in get_cpu_itimer() 180 oval = it->expires; in set_cpu_itimer() 187 it->expires = nval; in set_cpu_itimer() 211 ktime_t expires; in do_setitimer() local 229 expires = timespec64_to_ktime(value->it_value); in do_setitimer() 230 if (expires != 0) { in do_setitimer() 233 hrtimer_start(timer, expires, HRTIMER_MODE_REL); in do_setitimer()
|
/linux-6.6.21/net/rose/ |
D | rose_timer.c | 37 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-6.6.21/include/linux/ |
D | hrtimer.h | 244 timer->node.expires = time; in hrtimer_set_expires() 251 timer->node.expires = ktime_add_safe(time, delta); in hrtimer_set_expires_range() 257 timer->node.expires = ktime_add_safe(time, ns_to_ktime(delta)); in hrtimer_set_expires_range_ns() 262 timer->node.expires = tv64; in hrtimer_set_expires_tv64() 268 timer->node.expires = ktime_add_safe(timer->node.expires, time); in hrtimer_add_expires() 274 timer->node.expires = ktime_add_ns(timer->node.expires, ns); in hrtimer_add_expires_ns() 280 return timer->node.expires; in hrtimer_get_expires() 290 return timer->node.expires; in hrtimer_get_expires_tv64() 299 return ktime_to_ns(timer->node.expires); in hrtimer_get_expires_ns() 304 return ktime_sub(timer->node.expires, timer->base->get_time()); in hrtimer_expires_remaining() [all …]
|
D | timer.h | 17 unsigned long expires; member 172 extern int mod_timer(struct timer_list *timer, unsigned long expires); 173 extern int mod_timer_pending(struct timer_list *timer, unsigned long expires); 174 extern int timer_reduce(struct timer_list *timer, unsigned long expires);
|
/linux-6.6.21/arch/x86/platform/uv/ |
D | uv_time.c | 55 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-6.6.21/drivers/rtc/ |
D | rtc-test.c | 29 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()
|
D | interface.c | 400 alarm->time = rtc_ktime_to_tm(rtc->aie_timer.node.expires); in rtc_read_alarm() 481 rtc->aie_timer.node.expires = alarm_time; in rtc_set_alarm() 510 rtc->aie_timer.node.expires = rtc_tm_to_ktime(alarm->time); in rtc_initialize_alarm() 515 rtc->aie_timer.node.expires)) { in rtc_initialize_alarm() 593 rtc->uie_rtctimer.node.expires = ktime_add(now, onesec); in rtc_update_irq_enable() 818 if (next->expires >= now) in rtc_timer_enqueue() 825 if (!next || ktime_before(timer->node.expires, next->expires)) { in rtc_timer_enqueue() 828 alarm.time = rtc_ktime_to_tm(timer->node.expires); in rtc_timer_enqueue() 881 alarm.time = rtc_ktime_to_tm(next->expires); in rtc_timer_remove() 915 if (next->expires > now) in rtc_timer_do_work() [all …]
|
/linux-6.6.21/drivers/md/ |
D | dm-delay.c | 47 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()
|
/linux-6.6.21/net/ipv6/ |
D | ip6_flowlabel.c | 133 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-6.6.21/drivers/net/wireless/mediatek/mt76/ |
D | mcu.c | 33 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()
|
/linux-6.6.21/drivers/watchdog/ |
D | xen_wdt.c | 48 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-6.6.21/arch/s390/include/asm/ |
D | vtimer.h | 16 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-6.6.21/include/net/ |
D | dst.h | 30 unsigned long expires; member 442 unsigned long expires = jiffies + timeout; in dst_set_expires() local 444 if (expires == 0) in dst_set_expires() 445 expires = 1; in dst_set_expires() 447 if (dst->expires == 0 || time_before(expires, dst->expires)) in dst_set_expires() 448 dst->expires = expires; in dst_set_expires()
|
D | pkt_sched.h | 75 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-6.6.21/drivers/s390/cio/ |
D | device_ops.c | 193 unsigned long flags, int expires) in ccw_device_start_timeout_key() argument 233 if (expires) in ccw_device_start_timeout_key() 234 ccw_device_set_timeout(cdev, expires); in ccw_device_start_timeout_key() 345 unsigned long flags, int expires) in ccw_device_start_timeout() argument 349 expires); in ccw_device_start_timeout() 541 int expires) in ccw_device_tm_start_timeout_key() argument 570 if (expires) in ccw_device_tm_start_timeout_key() 571 ccw_device_set_timeout(cdev, expires); in ccw_device_tm_start_timeout_key() 625 unsigned long intparm, u8 lpm, int expires) in ccw_device_tm_start_timeout() argument 628 PAGE_DEFAULT_KEY, expires); in ccw_device_tm_start_timeout()
|
/linux-6.6.21/drivers/gpu/drm/i915/selftests/ |
D | lib_sw_fence.c | 63 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()
|