/openbmc/linux/include/trace/events/ |
H A D | alarmtimer.h | 25 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,
|
H A D | timer.h | 50 * @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 …]
|
H A D | rtc.h | 167 __field(ktime_t, expires) 173 __entry->expires = timer->node.expires; 177 TP_printk("RTC timer:(%p) expires:%lld period:%lld", 178 __entry->timer, __entry->expires, __entry->period
|
/openbmc/linux/arch/s390/kernel/ |
H A 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 …]
|
/openbmc/linux/net/rose/ |
H A 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 …]
|
/openbmc/linux/include/linux/ |
H A D | hrtimer.h | 99 * @node: timerqueue node, which also manages node.expires, 134 * task is set to NULL, when the timer expires. 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() [all …]
|
/openbmc/linux/kernel/time/ |
H A D | alarmtimer.c | 194 * 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 …]
|
H A D | timer.c | 86 * 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 …]
|
H A D | hrtimer.c | 197 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() 511 ktime_t expires; in __hrtimer_next_event_base() local 527 expires = ktime_sub(hrtimer_get_expires(timer), base->offset); in __hrtimer_next_event_base() 528 if (expires < expires_next) { in __hrtimer_next_event_base() 529 expires_next = expires; in __hrtimer_next_event_base() 672 * T1 expires 50ms from now in __hrtimer_reprogram() 673 * T2 expires 5s from now in __hrtimer_reprogram() 805 * When a timer is enqueued and expires earlier than the already enqueued [all …]
|
H A 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 …]
|
H A D | itimer.c | 34 * Racy but safe: if the itimer expires after the above in itimer_get_remtime() 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()
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/ |
H A D | jquery.cookie.js | 63 if (typeof options.expires === 'number') { 64 var days = options.expires, t = options.expires = new Date(); 70 …options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max… 111 $.cookie(key, '', $.extend({}, options, { expires: -1 })); property in AnonymousClass6d74039b0401
|
/openbmc/linux/arch/x86/platform/uv/ |
H A 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 …]
|
/openbmc/linux/drivers/rtc/ |
H A 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()
|
H A D | interface.c | 401 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() 635 * This functions is called when the aie_timer expires. 646 * This functions is called when the uie_timer expires. 659 * hrtimer expires. 819 if (next->expires >= now) in rtc_timer_enqueue() 826 if (!next || ktime_before(timer->node.expires, next->expires)) { in rtc_timer_enqueue() [all …]
|
/openbmc/linux/net/ipv6/ |
H A 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 …]
|
/openbmc/linux/drivers/md/ |
H A 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()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H A 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()
|
/openbmc/phosphor-fan-presence/control/json/actions/ |
H A D | timer_based_actions.hpp | 38 * Sets up a list of actions to be invoked when the defined timer expires. 57 * @brief Call actions when timer expires 68 * timer expires. The configured timer is set to callback the list of 103 * Called each time the timer expires, running the configured actions 130 /* List of actions to be called when the timer expires */ 147 * Sets the list of actions that is run when the timer expires
|
/openbmc/linux/drivers/watchdog/ |
H A 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()
|
/openbmc/linux/arch/s390/include/asm/ |
H A 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);
|
/openbmc/u-boot/include/ |
H A D | wdt.h | 23 * @timeout_ms: Number of ticks (milliseconds) before timer expires 25 * which action needs to be executed when the timer expires 69 * @timeout_ms: Number of ticks (milliseconds) before the timer expires 71 * which action needs to be executed when the timer expires
|
/openbmc/linux/include/net/ |
H A 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()
|
H A 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()
|
/openbmc/linux/drivers/s390/cio/ |
H A D | device_ops.c | 171 * @expires: timeout value in jiffies 177 * completed during the time specified by @expires. If a timeout occurs, the 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() 323 * @expires: timeout value in jiffies 329 * completed during the time specified by @expires. If a timeout occurs, the 345 unsigned long flags, int expires) in ccw_device_start_timeout() argument 349 expires); in ccw_device_start_timeout() 534 * @expires: time span in jiffies after which to abort request [all …]
|