Lines Matching refs:secondary
199 if (action->secondary && action->secondary->thread) { in irq_set_thread_affinity()
200 set_bit(IRQTF_AFFINITY, &action->secondary->thread_flags); in irq_set_thread_affinity()
201 wake_up_process(action->secondary->thread); in irq_set_thread_affinity()
1262 struct irqaction *secondary = action->secondary; in irq_wake_secondary() local
1264 if (WARN_ON_ONCE(!secondary)) in irq_wake_secondary()
1268 __irq_wake_thread(desc, secondary); in irq_wake_secondary()
1391 new->secondary = kzalloc(sizeof(struct irqaction), GFP_KERNEL); in irq_setup_forced_threading()
1392 if (!new->secondary) in irq_setup_forced_threading()
1394 new->secondary->handler = irq_forced_secondary_handler; in irq_setup_forced_threading()
1395 new->secondary->thread_fn = new->thread_fn; in irq_setup_forced_threading()
1396 new->secondary->dev_id = new->dev_id; in irq_setup_forced_threading()
1397 new->secondary->irq = new->irq; in irq_setup_forced_threading()
1398 new->secondary->name = new->name; in irq_setup_forced_threading()
1458 setup_irq_thread(struct irqaction *new, unsigned int irq, bool secondary) in setup_irq_thread() argument
1462 if (!secondary) { in setup_irq_thread()
1563 if (new->secondary) { in __setup_irq()
1564 ret = setup_irq_thread(new->secondary, irq, true); in __setup_irq()
1831 wake_up_and_wait_for_irq_thread_ready(desc, new->secondary); in __setup_irq()
1864 if (new->secondary && new->secondary->thread) { in __setup_irq()
1865 struct task_struct *t = new->secondary->thread; in __setup_irq()
1867 new->secondary->thread = NULL; in __setup_irq()
1980 if (action->secondary && action->secondary->thread) in __free_irq()
1981 kthread_stop_put(action->secondary->thread); in __free_irq()
2008 kfree(action->secondary); in __free_irq()
2212 kfree(action->secondary); in request_threaded_irq()