Home
last modified time | relevance | path

Searched refs:td (Results 1 – 7 of 7) sorted by relevance

/kernel/time/
Dtick-common.c205 static void tick_setup_device(struct tick_device *td, in tick_setup_device() argument
215 if (!td->evtdev) { in tick_setup_device()
244 td->mode = TICKDEV_MODE_PERIODIC; in tick_setup_device()
246 handler = td->evtdev->event_handler; in tick_setup_device()
247 next_event = td->evtdev->next_event; in tick_setup_device()
248 td->evtdev->event_handler = clockevents_handle_noop; in tick_setup_device()
251 td->evtdev = newdev; in tick_setup_device()
270 if (td->mode == TICKDEV_MODE_PERIODIC) in tick_setup_device()
278 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_install_replacement() local
281 clockevents_exchange_device(td->evtdev, newdev); in tick_install_replacement()
[all …]
Dtick-broadcast.c329 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_receive_broadcast() local
330 struct clock_event_device *evt = td->evtdev; in tick_receive_broadcast()
348 struct tick_device *td; in tick_do_broadcast() local
380 td = &per_cpu(tick_cpu_device, cpumask_first(mask)); in tick_do_broadcast()
381 td->evtdev->broadcast(mask); in tick_do_broadcast()
401 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_handle_periodic_broadcast() local
427 td->evtdev->event_handler(td->evtdev); in tick_handle_periodic_broadcast()
440 struct tick_device *td; in tick_broadcast_control() local
446 td = this_cpu_ptr(&tick_cpu_device); in tick_broadcast_control()
447 dev = td->evtdev; in tick_broadcast_control()
[all …]
Dtick-oneshot.c75 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()
Dclockevents.c675 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()
Dtimer_list.c193 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()
Dhrtimer.c1773 struct tick_device *td; in __hrtimer_peek_ahead_timers() local
1778 td = this_cpu_ptr(&tick_cpu_device); in __hrtimer_peek_ahead_timers()
1779 if (td && td->evtdev) in __hrtimer_peek_ahead_timers()
1780 hrtimer_interrupt(td->evtdev); in __hrtimer_peek_ahead_timers()
/kernel/
Dsmpboot.c108 struct smpboot_thread_data *td = data; in smpboot_thread_fn() local
109 struct smp_hotplug_thread *ht = td->ht; in smpboot_thread_fn()
118 if (ht->cleanup && td->status != HP_THREAD_NONE) in smpboot_thread_fn()
119 ht->cleanup(td->cpu, cpu_online(td->cpu)); in smpboot_thread_fn()
120 kfree(td); in smpboot_thread_fn()
127 if (ht->park && td->status == HP_THREAD_ACTIVE) { in smpboot_thread_fn()
128 BUG_ON(td->cpu != smp_processor_id()); in smpboot_thread_fn()
129 ht->park(td->cpu); in smpboot_thread_fn()
130 td->status = HP_THREAD_PARKED; in smpboot_thread_fn()
137 BUG_ON(td->cpu != smp_processor_id()); in smpboot_thread_fn()
[all …]