Home
last modified time | relevance | path

Searched refs:next_event (Results 1 – 22 of 22) sorted by relevance

/linux-6.6.21/kernel/time/
Dtick-broadcast.c416 ktime_t next = ktime_add_ns(dev->next_event, TICK_NSEC); in tick_handle_periodic_broadcast()
693 ktime_t now, next_event; in tick_handle_oneshot_broadcast() local
698 dev->next_event = KTIME_MAX; in tick_handle_oneshot_broadcast()
699 next_event = KTIME_MAX; in tick_handle_oneshot_broadcast()
713 if (td->evtdev->next_event <= now) { in tick_handle_oneshot_broadcast()
721 } else if (td->evtdev->next_event < next_event) { in tick_handle_oneshot_broadcast()
722 next_event = td->evtdev->next_event; in tick_handle_oneshot_broadcast()
759 if (next_event != KTIME_MAX) in tick_handle_oneshot_broadcast()
760 tick_broadcast_set_event(dev, next_cpu, next_event); in tick_handle_oneshot_broadcast()
774 if (bc->next_event == KTIME_MAX) in broadcast_needs_cpu()
[all …]
Dtick-oneshot.c32 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()
Dtick-common.c110 ktime_t next = dev->next_event; in tick_handle_periodic()
210 ktime_t next_event = 0; in tick_setup_device() local
247 next_event = td->evtdev->next_event; in tick_setup_device()
273 tick_setup_oneshot(newdev, handler, next_event); in tick_setup_device()
Dtick-sched.c917 basemono, ts->next_tick, dev->next_event, in tick_nohz_stop_tick()
1218 return __this_cpu_read(tick_cpu_device.evtdev)->next_event; in tick_nohz_get_next_hrtimer()
1241 ktime_t next_event; in tick_nohz_get_sleep_length() local
1245 *delta_next = ktime_sub(dev->next_event, now); in tick_nohz_get_sleep_length()
1250 next_event = tick_nohz_next_event(ts, cpu); in tick_nohz_get_sleep_length()
1251 if (!next_event) in tick_nohz_get_sleep_length()
1258 next_event = min_t(u64, next_event, in tick_nohz_get_sleep_length()
1261 return ktime_sub(next_event, now); in tick_nohz_get_sleep_length()
1375 dev->next_event = KTIME_MAX; in tick_nohz_handler()
Dclockevents.c174 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()
520 return clockevents_program_event(dev, dev->next_event, false); in __clockevents_update_freq()
Dtimer_list.c204 (unsigned long long) ktime_to_ns(dev->next_event)); in print_tickdevice()
Dhrtimer.c1794 dev->next_event = KTIME_MAX; in hrtimer_interrupt()
/linux-6.6.21/samples/fanotify/
Dfs-monitor.c69 goto next_event; in handle_notifications()
74 goto next_event; in handle_notifications()
107 next_event: in handle_notifications()
/linux-6.6.21/tools/perf/tests/
Dsw-clock.c108 goto next_event; in __test__sw_clock_freq()
118 next_event: in __test__sw_clock_freq()
Dperf-time-to-tsc.c159 goto next_event; in test__perf_time_to_tsc()
171 next_event: in test__perf_time_to_tsc()
/linux-6.6.21/include/linux/
Dclockchips.h104 ktime_t next_event; member
/linux-6.6.21/tools/perf/
Dbuiltin-top.c1157 goto next_event; in deliver_event()
1173 goto next_event; in deliver_event()
1179 goto next_event; in deliver_event()
1193 goto next_event; in deliver_event()
1196 goto next_event; in deliver_event()
1215 next_event: in deliver_event()
/linux-6.6.21/drivers/pci/hotplug/
Dcpqphp_ctrl.c78 taskInfo = &(ctrl->event_queue[ctrl->next_event]); in handle_switch_change()
79 ctrl->next_event = (ctrl->next_event + 1) % 10; in handle_switch_change()
154 taskInfo = &(ctrl->event_queue[ctrl->next_event]); in handle_presence_change()
155 ctrl->next_event = (ctrl->next_event + 1) % 10; in handle_presence_change()
245 taskInfo = &(ctrl->event_queue[ctrl->next_event]); in handle_power_fault()
246 ctrl->next_event = (ctrl->next_event + 1) % 10; in handle_power_fault()
Dcpqphp.h290 u8 next_event; member
Dcpqphp_core.c1126 ctrl->next_event = 0; in cpqhpc_probe()
/linux-6.6.21/net/sched/
Dsch_htb.c942 s64 next_event; in htb_dequeue() local
960 next_event = q->now + 5LLU * NSEC_PER_SEC; in htb_dequeue()
974 if (next_event > event) in htb_dequeue()
975 next_event = event; in htb_dequeue()
987 if (likely(next_event > q->now)) in htb_dequeue()
988 qdisc_watchdog_schedule_ns(&q->watchdog, next_event); in htb_dequeue()
/linux-6.6.21/drivers/usb/gadget/legacy/
Dinode.c1079 next_event (struct dev_data *dev, enum usb_gadgetfs_event_type type) in next_event() function
1364 event = next_event (dev, GADGETFS_CONNECT); in gadgetfs_setup()
1510 event = next_event (dev, GADGETFS_SETUP); in gadgetfs_setup()
1714 next_event (dev, GADGETFS_DISCONNECT); in gadgetfs_disconnect()
1732 next_event (dev, GADGETFS_SUSPEND); in gadgetfs_suspend()
/linux-6.6.21/kernel/trace/
Dring_buffer.c565 unsigned long next_event; member
2351 if (iter->head != iter->next_event) in rb_iter_head_event()
2391 iter->next_event = iter->head + length; in rb_iter_head_event()
2397 iter->next_event = 0; in rb_iter_head_event()
2439 iter->next_event = 0; in rb_inc_iter()
4336 iter->next_event = iter->head; in rb_iter_reset()
4680 if (iter->head == iter->next_event) { in rb_advance_iter()
4686 iter->head = iter->next_event; in rb_advance_iter()
4691 if (iter->next_event >= rb_page_size(iter->head_page)) { in rb_advance_iter()
/linux-6.6.21/kernel/events/
Dcore.c3380 struct perf_event *next_event) in __perf_event_sync_stat() argument
3403 value = local64_read(&next_event->count); in __perf_event_sync_stat()
3405 local64_set(&next_event->count, value); in __perf_event_sync_stat()
3407 swap(event->total_time_enabled, next_event->total_time_enabled); in __perf_event_sync_stat()
3408 swap(event->total_time_running, next_event->total_time_running); in __perf_event_sync_stat()
3414 perf_event_update_userpage(next_event); in __perf_event_sync_stat()
3420 struct perf_event *event, *next_event; in perf_event_sync_stat() local
3430 next_event = list_first_entry(&next_ctx->event_list, in perf_event_sync_stat()
3434 &next_event->event_entry != &next_ctx->event_list) { in perf_event_sync_stat()
3436 __perf_event_sync_stat(event, next_event); in perf_event_sync_stat()
[all …]
/linux-6.6.21/drivers/firewire/
Dcore-cdev.c1872 struct event *event, *next_event; in fw_device_op_release() local
1898 list_for_each_entry_safe(event, next_event, &client->event_list, link) in fw_device_op_release()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c1996 struct mlxsw_sp_port_mapping_event *event, *next_event; in mlxsw_sp_port_mapping_events_work() local
2013 list_for_each_entry_safe(event, next_event, &event_queue, list) { in mlxsw_sp_port_mapping_events_work()
2067 struct mlxsw_sp_port_mapping_event *event, *next_event; in __mlxsw_sp_port_mapping_events_cancel() local
2074 list_for_each_entry_safe(event, next_event, &events->queue, list) { in __mlxsw_sp_port_mapping_events_cancel()
/linux-6.6.21/drivers/net/wireless/intersil/hostap/
Dhostap_hw.c2655 goto next_event; in prism2_interrupt()
2705 next_event: in prism2_interrupt()