Lines Matching refs:thread
193 if (action->thread) in irq_set_thread_affinity()
1276 if (!action || !action->thread) in wake_up_and_wait_for_irq_thread_ready()
1279 wake_up_process(action->thread); in wake_up_and_wait_for_irq_thread_ready()
1350 if (action->thread) in irq_wake_thread()
1469 new->thread = get_task_struct(t); in setup_irq_thread()
1844 if (new->thread) { in __setup_irq()
1845 struct task_struct *t = new->thread; in __setup_irq()
1847 new->thread = NULL; in __setup_irq()
1851 if (new->secondary && new->secondary->thread) { in __setup_irq()
1852 struct task_struct *t = new->secondary->thread; in __setup_irq()
1854 new->secondary->thread = NULL; in __setup_irq()
1966 if (action->thread) { in __free_irq()
1967 kthread_stop(action->thread); in __free_irq()
1968 put_task_struct(action->thread); in __free_irq()
1969 if (action->secondary && action->secondary->thread) { in __free_irq()
1970 kthread_stop(action->secondary->thread); in __free_irq()
1971 put_task_struct(action->secondary->thread); in __free_irq()