/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; 41 __entry->expires 54 __field(s64, expires) 61 __entry->expires = alarm->node.expires; 68 __entry->expires,
|
H A D | timer.h | 56 unsigned long expires, 59 TP_ARGS(timer, expires, flags), 64 __field( unsigned long, expires ) 72 __entry->expires = expires; 79 (long)__entry->expires - __entry->now, 211 __field( s64, expires ) 314 unsigned long long expires), 316 TP_ARGS(which, value, expires), 320 __field( unsigned long long, expires ) 329 __entry->expires = expires; [all …]
|
H A D | rtc.h | 167 __field(ktime_t, expires) 173 __entry->expires = timer->node.expires; 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() 316 timer->expires = timer->interval + in virt_timer_expire() 347 if (likely((s64) timer->expires < in internal_add_vtimer() 391 if (timer->expires == expires && vtimer_pending(timer)) in __mod_vtimer() 398 timer->expires = expires; in __mod_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 | 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() 334 ktime_t rem = ktime_sub(timer->node.expires, now); in __hrtimer_expires_remaining_adjusted() [all …]
|
H A 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);
|
/openbmc/linux/kernel/time/ |
H A D | timer.c | 528 expires = (expires >> LVL_SHIFT(lvl)) + 1; in calc_index() 1033 long diff = timer->expires - expires; in __mod_timer() 1058 time_before_eq(timer->expires, expires)) { in __mod_timer() 1073 timer->expires = expires; in __mod_timer() 1074 else if (time_after(timer->expires, expires)) in __mod_timer() 1075 timer->expires = expires; in __mod_timer() 1121 timer->expires = expires; in __mod_timer() 1892 if (expires <= nextevt) in cmp_next_hrtimer_event() 1893 return expires; in cmp_next_hrtimer_event() 1932 return expires; in get_next_timer_interrupt() [all …]
|
H A D | alarmtimer.c | 243 ktime_t min, now, expires; in alarmtimer_suspend() local 251 expires = freezer_expires; 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() 455 alarm->node.expires = ktime_add_ns(alarm->node.expires, in alarm_forward() 458 if (alarm->node.expires > now) in alarm_forward() 467 alarm->node.expires = ktime_add_safe(alarm->node.expires, interval); in alarm_forward() 662 expires = ktime_add_safe(expires, base->get_ktime()); in alarm_timer_arm() 664 alarm->node.expires = expires; in alarm_timer_arm() [all …]
|
H A D | hrtimer.c | 197 ktime_t expires; in hrtimer_check_target() local 511 ktime_t expires; in __hrtimer_next_event_base() local 823 if (expires < 0) in hrtimer_reprogram() 824 expires = 0; in hrtimer_reprogram() 877 ktime_t expires; in update_needs_ipi() local 919 expires = ktime_sub(next->expires, base->offset); in update_needs_ipi() 1195 ktime_t expires; in hrtimer_update_softirq_timer() local 1499 return expires; in hrtimer_get_next_event() 1532 return expires; in hrtimer_next_event_without() 2289 if (expires && *expires == 0) { in schedule_hrtimeout_range_clock() [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() 805 if (!expires) in posix_cpu_timer_get() 840 u64 expires; in collect_timerqueue() local 846 return expires; in collect_timerqueue() 965 if (it->expires && it->expires < *expires) in check_cpu_itimer() 966 *expires = it->expires; in check_cpu_itimer() 1506 u64 expires; in do_cpu_nanosleep() local [all …]
|
H A 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()
|
H A 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()
|
/openbmc/linux/arch/x86/platform/uv/ |
H A D | uv_time.c | 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() 220 if (uv_setup_intr(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 | 482 rtc->aie_timer.node.expires = alarm_time; in rtc_set_alarm() 516 rtc->aie_timer.node.expires)) { in rtc_initialize_alarm() 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() 916 if (next->expires > now) in rtc_timer_do_work() 930 timer->node.expires = ktime_add(timer->node.expires, in rtc_timer_do_work() 944 alarm.time = rtc_ktime_to_tm(next->expires); in rtc_timer_do_work() 994 ktime_t expires, ktime_t period) in rtc_timer_start() argument [all …]
|
/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 }));
|
/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/net/ipv6/ |
H A D | ip6_flowlabel.c | 134 fl->expires = ttd; in fl_release() 135 ttd = fl->expires; in fl_release() 166 fl->expires = ttd; in ip6_fl_gc() 167 ttd = fl->expires; in ip6_fl_gc() 358 expires = check_linger(expires); in fl6_renew() 359 if (!expires) in fl6_renew() 367 expires = fl->linger; in fl6_renew() 368 if (time_before(fl->expires, fl->lastuse + expires)) in fl6_renew() 369 fl->expires = fl->lastuse + expires; in fl6_renew() 683 if ((long)(fl->expires - fl1->expires) > 0) in ipv6_flowlabel_get() [all …]
|
/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/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/linux/include/net/ |
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()
|
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()
|
/openbmc/linux/drivers/gpu/drm/i915/selftests/ |
H A 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()
|