Searched refs:td (Results 1 – 7 of 7) sorted by relevance
/kernel/time/ |
D | tick-common.c | 207 static void tick_setup_device(struct tick_device *td, in tick_setup_device() argument 217 if (!td->evtdev) { in tick_setup_device() 246 td->mode = TICKDEV_MODE_PERIODIC; in tick_setup_device() 248 handler = td->evtdev->event_handler; in tick_setup_device() 249 next_event = td->evtdev->next_event; in tick_setup_device() 250 td->evtdev->event_handler = clockevents_handle_noop; in tick_setup_device() 253 td->evtdev = newdev; in tick_setup_device() 272 if (td->mode == TICKDEV_MODE_PERIODIC) in tick_setup_device() 280 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_install_replacement() local 283 clockevents_exchange_device(td->evtdev, newdev); in tick_install_replacement() [all …]
|
D | tick-broadcast.c | 330 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_receive_broadcast() local 331 struct clock_event_device *evt = td->evtdev; in tick_receive_broadcast() 349 struct tick_device *td; in tick_do_broadcast() local 381 td = &per_cpu(tick_cpu_device, cpumask_first(mask)); in tick_do_broadcast() 382 td->evtdev->broadcast(mask); in tick_do_broadcast() 402 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_handle_periodic_broadcast() local 428 td->evtdev->event_handler(td->evtdev); in tick_handle_periodic_broadcast() 441 struct tick_device *td; in tick_broadcast_control() local 447 td = this_cpu_ptr(&tick_cpu_device); in tick_broadcast_control() 448 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 | 674 struct tick_device *td; in current_device_show() local 678 td = tick_get_tick_dev(dev); in current_device_show() 679 if (td && td->evtdev) in current_device_show() 680 count = snprintf(buf, PAGE_SIZE, "%s\n", td->evtdev->name); in current_device_show()
|
D | timer_list.c | 178 print_tickdevice(struct seq_file *m, struct tick_device *td, int cpu) in print_tickdevice() argument 180 struct clock_event_device *dev = td->evtdev; in print_tickdevice() 184 SEQ_printf(m, "Tick Device: mode: %d\n", td->mode); in print_tickdevice()
|
D | hrtimer.c | 1875 struct tick_device *td; in __hrtimer_peek_ahead_timers() local 1880 td = this_cpu_ptr(&tick_cpu_device); in __hrtimer_peek_ahead_timers() 1881 if (td && td->evtdev) in __hrtimer_peek_ahead_timers() 1882 hrtimer_interrupt(td->evtdev); in __hrtimer_peek_ahead_timers()
|
/kernel/ |
D | smpboot.c | 108 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 …]
|