Searched refs:td (Results 1 – 6 of 6) sorted by relevance
/kernel/ |
D | rtmutex-tester.c | 56 static int handle_op(struct test_thread_data *td, int lockwakeup) in handle_op() argument 60 switch(td->opcode) { in handle_op() 66 td->mutexes[td->opdata] = 1; in handle_op() 67 td->event = atomic_add_return(1, &rttest_event); in handle_op() 72 if (td->mutexes[i] == 4) { in handle_op() 74 td->mutexes[i] = 0; in handle_op() 78 if (!lockwakeup && td->bkl == 4) { in handle_op() 80 td->bkl = 0; in handle_op() 93 switch(td->opcode) { in handle_op() 97 id = td->opdata; in handle_op() [all …]
|
D | hrtimer.c | 1275 struct tick_device *td; in __hrtimer_peek_ahead_timers() local 1280 td = &__get_cpu_var(tick_cpu_device); in __hrtimer_peek_ahead_timers() 1281 if (td && td->evtdev) in __hrtimer_peek_ahead_timers() 1282 hrtimer_interrupt(td->evtdev); in __hrtimer_peek_ahead_timers()
|
/kernel/time/ |
D | tick-common.c | 137 static void tick_setup_device(struct tick_device *td, in tick_setup_device() argument 147 if (!td->evtdev) { in tick_setup_device() 161 td->mode = TICKDEV_MODE_PERIODIC; in tick_setup_device() 163 handler = td->evtdev->event_handler; in tick_setup_device() 164 next_event = td->evtdev->next_event; in tick_setup_device() 165 td->evtdev->event_handler = clockevents_handle_noop; in tick_setup_device() 168 td->evtdev = newdev; in tick_setup_device() 186 if (td->mode == TICKDEV_MODE_PERIODIC) in tick_setup_device() 198 struct tick_device *td; in tick_check_new_device() local 208 td = &per_cpu(tick_cpu_device, cpu); in tick_check_new_device() [all …]
|
D | tick-broadcast.c | 135 struct tick_device *td; in tick_do_broadcast() local 142 td = &per_cpu(tick_cpu_device, cpu); in tick_do_broadcast() 143 td->evtdev->event_handler(td->evtdev); in tick_do_broadcast() 153 td = &per_cpu(tick_cpu_device, cpumask_first(mask)); in tick_do_broadcast() 154 td->evtdev->broadcast(mask); in tick_do_broadcast() 211 struct tick_device *td; in tick_do_broadcast_on_off() local 218 td = &per_cpu(tick_cpu_device, cpu); in tick_do_broadcast_on_off() 219 dev = td->evtdev; in tick_do_broadcast_on_off() 394 struct tick_device *td = &per_cpu(tick_cpu_device, cpu); in tick_check_oneshot_broadcast() local 396 clockevents_set_mode(td->evtdev, CLOCK_EVT_MODE_ONESHOT); in tick_check_oneshot_broadcast() [all …]
|
D | tick-oneshot.c | 80 struct tick_device *td = &__get_cpu_var(tick_cpu_device); in tick_resume_oneshot() local 81 struct clock_event_device *dev = td->evtdev; in tick_resume_oneshot() 104 struct tick_device *td = &__get_cpu_var(tick_cpu_device); in tick_switch_to_oneshot() local 105 struct clock_event_device *dev = td->evtdev; in tick_switch_to_oneshot() 124 td->mode = TICKDEV_MODE_ONESHOT; in tick_switch_to_oneshot()
|
D | timer_list.c | 190 print_tickdevice(struct seq_file *m, struct tick_device *td, int cpu) in print_tickdevice() argument 192 struct clock_event_device *dev = td->evtdev; in print_tickdevice() 195 SEQ_printf(m, "Tick Device: mode: %d\n", td->mode); in print_tickdevice()
|