Searched refs:next_event (Results 1 – 9 of 9) sorted by relevance
/kernel/time/ |
D | tick-broadcast.c | 316 for (next = dev->next_event; ;) { in tick_handle_periodic_broadcast() 577 ktime_t now, next_event; in tick_handle_oneshot_broadcast() local 582 dev->next_event.tv64 = KTIME_MAX; in tick_handle_oneshot_broadcast() 583 next_event.tv64 = KTIME_MAX; in tick_handle_oneshot_broadcast() 589 if (td->evtdev->next_event.tv64 <= now.tv64) { in tick_handle_oneshot_broadcast() 597 } else if (td->evtdev->next_event.tv64 < next_event.tv64) { in tick_handle_oneshot_broadcast() 598 next_event.tv64 = td->evtdev->next_event.tv64; in tick_handle_oneshot_broadcast() 635 if (next_event.tv64 != KTIME_MAX) { in tick_handle_oneshot_broadcast() 640 if (tick_broadcast_set_event(dev, next_cpu, next_event, 0)) in tick_handle_oneshot_broadcast() 650 if (bc->next_event.tv64 == KTIME_MAX) in broadcast_needs_cpu() [all …]
|
D | tick-common.c | 101 ktime_t next = dev->next_event; in tick_handle_periodic() 170 ktime_t next_event; in tick_setup_device() local 196 next_event = td->evtdev->next_event; in tick_setup_device() 222 tick_setup_oneshot(newdev, handler, next_event); in tick_setup_device()
|
D | clockevents.c | 131 dev->next_event.tv64 = KTIME_MAX; in clockevents_shutdown() 151 dev->next_event.tv64 = KTIME_MAX; in clockevents_increase_min_delta() 184 dev->next_event = ktime_add_ns(ktime_get(), delta); in clockevents_program_min_delta() 221 dev->next_event = ktime_add_ns(ktime_get(), delta); in clockevents_program_min_delta() 253 dev->next_event = expires; in clockevents_program_event() 449 return clockevents_program_event(dev, dev->next_event, false); in __clockevents_update_freq()
|
D | tick-oneshot.c | 50 ktime_t next_event) in tick_setup_oneshot() argument 54 clockevents_program_event(newdev, next_event, true); in tick_setup_oneshot()
|
D | tick-broadcast-hrtimer.c | 102 if (ce_broadcast_hrtimer.next_event.tv64 == KTIME_MAX) in bc_handler()
|
D | tick-sched.c | 667 if (ts->tick_stopped && ktime_equal(expires, dev->next_event)) in tick_nohz_stop_sched_tick() 717 ts->sleep_length = ktime_sub(dev->next_event, now); in tick_nohz_stop_sched_tick() 992 dev->next_event.tv64 = KTIME_MAX; in tick_nohz_handler()
|
D | timer_list.c | 225 (unsigned long long) ktime_to_ns(dev->next_event)); in print_tickdevice()
|
D | hrtimer.c | 1254 dev->next_event.tv64 = KTIME_MAX; in hrtimer_interrupt()
|
/kernel/events/ |
D | core.c | 2418 struct perf_event *next_event) in __perf_event_sync_stat() argument 2449 value = local64_read(&next_event->count); in __perf_event_sync_stat() 2451 local64_set(&next_event->count, value); in __perf_event_sync_stat() 2453 swap(event->total_time_enabled, next_event->total_time_enabled); in __perf_event_sync_stat() 2454 swap(event->total_time_running, next_event->total_time_running); in __perf_event_sync_stat() 2460 perf_event_update_userpage(next_event); in __perf_event_sync_stat() 2466 struct perf_event *event, *next_event; in perf_event_sync_stat() local 2476 next_event = list_first_entry(&next_ctx->event_list, in perf_event_sync_stat() 2480 &next_event->event_entry != &next_ctx->event_list) { in perf_event_sync_stat() 2482 __perf_event_sync_stat(event, next_event); in perf_event_sync_stat() [all …]
|