Lines Matching refs:irqtp
511 struct thread_info *curtp, *irqtp, *sirqtp; in do_IRQ() local
515 irqtp = hardirq_ctx[raw_smp_processor_id()]; in do_IRQ()
521 if (unlikely(curtp == irqtp || curtp == sirqtp)) { in do_IRQ()
528 irqtp->task = curtp->task; in do_IRQ()
529 irqtp->flags = 0; in do_IRQ()
532 irqtp->preempt_count = curtp->preempt_count; in do_IRQ()
535 call_do_irq(regs, irqtp); in do_IRQ()
538 irqtp->task = NULL; in do_IRQ()
541 if (irqtp->flags) in do_IRQ()
542 set_bits(irqtp->flags, &curtp->flags); in do_IRQ()
619 struct thread_info *curtp, *irqtp; in do_softirq_own_stack() local
622 irqtp = softirq_ctx[smp_processor_id()]; in do_softirq_own_stack()
623 irqtp->task = curtp->task; in do_softirq_own_stack()
624 irqtp->flags = 0; in do_softirq_own_stack()
625 call_do_softirq(irqtp); in do_softirq_own_stack()
626 irqtp->task = NULL; in do_softirq_own_stack()
631 if (irqtp->flags) in do_softirq_own_stack()
632 set_bits(irqtp->flags, &curtp->flags); in do_softirq_own_stack()