Searched refs:next_event (Results 1 – 9 of 9) sorted by relevance
/kernel/time/ |
D | tick-broadcast.c | 329 ktime_t next = ktime_add(dev->next_event, tick_period); in tick_handle_periodic_broadcast() 602 ktime_t now, next_event; in tick_handle_oneshot_broadcast() local 607 dev->next_event.tv64 = KTIME_MAX; in tick_handle_oneshot_broadcast() 608 next_event.tv64 = KTIME_MAX; in tick_handle_oneshot_broadcast() 622 if (td->evtdev->next_event.tv64 <= now.tv64) { in tick_handle_oneshot_broadcast() 630 } else if (td->evtdev->next_event.tv64 < next_event.tv64) { in tick_handle_oneshot_broadcast() 631 next_event.tv64 = td->evtdev->next_event.tv64; in tick_handle_oneshot_broadcast() 668 if (next_event.tv64 != KTIME_MAX) in tick_handle_oneshot_broadcast() 669 tick_broadcast_set_event(dev, next_cpu, next_event); in tick_handle_oneshot_broadcast() 683 if (bc->next_event.tv64 == KTIME_MAX) in broadcast_needs_cpu() [all …]
|
D | tick-common.c | 102 ktime_t next = dev->next_event; in tick_handle_periodic() 181 ktime_t next_event; in tick_setup_device() local 207 next_event = td->evtdev->next_event; in tick_setup_device() 233 tick_setup_oneshot(newdev, handler, next_event); in tick_setup_device()
|
D | clockevents.c | 182 dev->next_event.tv64 = KTIME_MAX; in clockevents_shutdown() 216 dev->next_event.tv64 = KTIME_MAX; in clockevents_increase_min_delta() 249 dev->next_event = ktime_add_ns(ktime_get(), delta); in clockevents_program_min_delta() 286 dev->next_event = ktime_add_ns(ktime_get(), delta); in clockevents_program_min_delta() 318 dev->next_event = expires; in clockevents_program_event() 520 return clockevents_program_event(dev, dev->next_event, false); in __clockevents_update_freq()
|
D | tick-oneshot.c | 66 ktime_t next_event) in tick_setup_oneshot() argument 70 clockevents_program_event(newdev, next_event, true); in tick_setup_oneshot()
|
D | tick-broadcast-hrtimer.c | 99 if (ce_broadcast_hrtimer.next_event.tv64 != KTIME_MAX) in bc_handler()
|
D | tick-sched.c | 673 if (ts->tick_stopped && (expires == dev->next_event.tv64)) in tick_nohz_stop_sched_tick() 708 ts->sleep_length = ktime_sub(dev->next_event, now); in tick_nohz_stop_sched_tick() 962 dev->next_event.tv64 = KTIME_MAX; in tick_nohz_handler()
|
D | timer_list.c | 236 (unsigned long long) ktime_to_ns(dev->next_event)); in print_tickdevice()
|
D | hrtimer.c | 1347 dev->next_event.tv64 = KTIME_MAX; in hrtimer_interrupt()
|
/kernel/events/ |
D | core.c | 2505 struct perf_event *next_event) in __perf_event_sync_stat() argument 2536 value = local64_read(&next_event->count); in __perf_event_sync_stat() 2538 local64_set(&next_event->count, value); in __perf_event_sync_stat() 2540 swap(event->total_time_enabled, next_event->total_time_enabled); in __perf_event_sync_stat() 2541 swap(event->total_time_running, next_event->total_time_running); in __perf_event_sync_stat() 2547 perf_event_update_userpage(next_event); in __perf_event_sync_stat() 2553 struct perf_event *event, *next_event; in perf_event_sync_stat() local 2563 next_event = list_first_entry(&next_ctx->event_list, in perf_event_sync_stat() 2567 &next_event->event_entry != &next_ctx->event_list) { in perf_event_sync_stat() 2569 __perf_event_sync_stat(event, next_event); in perf_event_sync_stat() [all …]
|