Searched refs:td (Results 1 – 7 of 7) sorted by relevance
/kernel/time/ |
D | tick-common.c | 201 static void tick_setup_device(struct tick_device *td, in tick_setup_device() argument 211 if (!td->evtdev) { in tick_setup_device() 242 td->mode = TICKDEV_MODE_PERIODIC; in tick_setup_device() 244 handler = td->evtdev->event_handler; in tick_setup_device() 245 next_event = td->evtdev->next_event; in tick_setup_device() 246 td->evtdev->event_handler = clockevents_handle_noop; in tick_setup_device() 249 td->evtdev = newdev; in tick_setup_device() 268 if (td->mode == TICKDEV_MODE_PERIODIC) in tick_setup_device() 276 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_install_replacement() local 279 clockevents_exchange_device(td->evtdev, newdev); in tick_install_replacement() [all …]
|
D | tick-broadcast.c | 247 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_receive_broadcast() local 248 struct clock_event_device *evt = td->evtdev; in tick_receive_broadcast() 267 struct tick_device *td; in tick_do_broadcast() local 299 td = &per_cpu(tick_cpu_device, cpumask_first(mask)); in tick_do_broadcast() 300 td->evtdev->broadcast(mask); in tick_do_broadcast() 320 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_handle_periodic_broadcast() local 346 td->evtdev->event_handler(td->evtdev); in tick_handle_periodic_broadcast() 359 struct tick_device *td; in tick_broadcast_control() local 365 td = this_cpu_ptr(&tick_cpu_device); in tick_broadcast_control() 366 dev = td->evtdev; in tick_broadcast_control() [all …]
|
D | tick-oneshot.c | 75 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_switch_to_oneshot() local 76 struct clock_event_device *dev = td->evtdev; in tick_switch_to_oneshot() 94 td->mode = TICKDEV_MODE_ONESHOT; in tick_switch_to_oneshot()
|
D | clockevents.c | 675 struct tick_device *td; in sysfs_show_current_tick_dev() local 679 td = tick_get_tick_dev(dev); in sysfs_show_current_tick_dev() 680 if (td && td->evtdev) in sysfs_show_current_tick_dev() 681 count = snprintf(buf, PAGE_SIZE, "%s\n", td->evtdev->name); in sysfs_show_current_tick_dev()
|
D | timer_list.c | 193 print_tickdevice(struct seq_file *m, struct tick_device *td, int cpu) in print_tickdevice() argument 195 struct clock_event_device *dev = td->evtdev; in print_tickdevice() 199 SEQ_printf(m, "Tick Device: mode: %d\n", td->mode); in print_tickdevice()
|
D | hrtimer.c | 1705 struct tick_device *td; in __hrtimer_peek_ahead_timers() local 1710 td = this_cpu_ptr(&tick_cpu_device); in __hrtimer_peek_ahead_timers() 1711 if (td && td->evtdev) in __hrtimer_peek_ahead_timers() 1712 hrtimer_interrupt(td->evtdev); in __hrtimer_peek_ahead_timers()
|
/kernel/ |
D | smpboot.c | 109 struct smpboot_thread_data *td = data; in smpboot_thread_fn() local 110 struct smp_hotplug_thread *ht = td->ht; in smpboot_thread_fn() 119 if (ht->cleanup && td->status != HP_THREAD_NONE) in smpboot_thread_fn() 120 ht->cleanup(td->cpu, cpu_online(td->cpu)); in smpboot_thread_fn() 121 kfree(td); in smpboot_thread_fn() 128 if (ht->park && td->status == HP_THREAD_ACTIVE) { in smpboot_thread_fn() 129 BUG_ON(td->cpu != smp_processor_id()); in smpboot_thread_fn() 130 ht->park(td->cpu); in smpboot_thread_fn() 131 td->status = HP_THREAD_PARKED; in smpboot_thread_fn() 138 BUG_ON(td->cpu != smp_processor_id()); in smpboot_thread_fn() [all …]
|