Searched refs:next_event (Results 1 – 8 of 8) sorted by relevance
/kernel/time/ |
D | tick-broadcast.c | 334 ktime_t next = ktime_add(dev->next_event, tick_period); in tick_handle_periodic_broadcast() 607 ktime_t now, next_event; in tick_handle_oneshot_broadcast() local 612 dev->next_event = KTIME_MAX; in tick_handle_oneshot_broadcast() 613 next_event = KTIME_MAX; in tick_handle_oneshot_broadcast() 627 if (td->evtdev->next_event <= now) { in tick_handle_oneshot_broadcast() 635 } else if (td->evtdev->next_event < next_event) { in tick_handle_oneshot_broadcast() 636 next_event = td->evtdev->next_event; in tick_handle_oneshot_broadcast() 673 if (next_event != KTIME_MAX) in tick_handle_oneshot_broadcast() 674 tick_broadcast_set_event(dev, next_cpu, next_event); in tick_handle_oneshot_broadcast() 688 if (bc->next_event == KTIME_MAX) in broadcast_needs_cpu() [all …]
|
D | tick-oneshot.c | 32 dev->next_event = KTIME_MAX; in tick_program_event() 63 ktime_t next_event) in tick_setup_oneshot() argument 67 clockevents_program_event(newdev, next_event, true); in tick_setup_oneshot()
|
D | tick-common.c | 106 ktime_t next = dev->next_event; in tick_handle_periodic() 206 ktime_t next_event = 0; in tick_setup_device() local 245 next_event = td->evtdev->next_event; in tick_setup_device() 271 tick_setup_oneshot(newdev, handler, next_event); in tick_setup_device()
|
D | tick-sched.c | 778 basemono, ts->next_tick, dev->next_event, in tick_nohz_stop_tick() 1054 return __this_cpu_read(tick_cpu_device.evtdev)->next_event; in tick_nohz_get_next_hrtimer() 1073 ktime_t next_event; in tick_nohz_get_sleep_length() local 1077 *delta_next = ktime_sub(dev->next_event, now); in tick_nohz_get_sleep_length() 1082 next_event = tick_nohz_next_event(ts, cpu); in tick_nohz_get_sleep_length() 1083 if (!next_event) in tick_nohz_get_sleep_length() 1090 next_event = min_t(u64, next_event, in tick_nohz_get_sleep_length() 1093 return ktime_sub(next_event, now); in tick_nohz_get_sleep_length() 1199 dev->next_event = KTIME_MAX; in tick_nohz_handler()
|
D | clockevents.c | 174 dev->next_event = KTIME_MAX; in clockevents_shutdown() 208 dev->next_event = KTIME_MAX; in clockevents_increase_min_delta() 241 dev->next_event = ktime_add_ns(ktime_get(), delta); in clockevents_program_min_delta() 280 dev->next_event = ktime_add_ns(ktime_get(), delta); in clockevents_program_min_delta() 313 dev->next_event = expires; in clockevents_program_event() 521 return clockevents_program_event(dev, dev->next_event, false); in __clockevents_update_freq()
|
D | timer_list.c | 219 (unsigned long long) ktime_to_ns(dev->next_event)); in print_tickdevice()
|
D | hrtimer.c | 1620 dev->next_event = KTIME_MAX; in hrtimer_interrupt()
|
/kernel/events/ |
D | core.c | 3103 struct perf_event *next_event) in __perf_event_sync_stat() argument 3126 value = local64_read(&next_event->count); in __perf_event_sync_stat() 3128 local64_set(&next_event->count, value); in __perf_event_sync_stat() 3130 swap(event->total_time_enabled, next_event->total_time_enabled); in __perf_event_sync_stat() 3131 swap(event->total_time_running, next_event->total_time_running); in __perf_event_sync_stat() 3137 perf_event_update_userpage(next_event); in __perf_event_sync_stat() 3143 struct perf_event *event, *next_event; in perf_event_sync_stat() local 3153 next_event = list_first_entry(&next_ctx->event_list, in perf_event_sync_stat() 3157 &next_event->event_entry != &next_ctx->event_list) { in perf_event_sync_stat() 3159 __perf_event_sync_stat(event, next_event); in perf_event_sync_stat() [all …]
|