Home
last modified time | relevance | path

Searched refs:thread_flags (Results 1 – 8 of 8) sorted by relevance

/linux/arch/openrisc/kernel/
H A Dsignal.c40 asmlinkage int do_work_pending(struct pt_regs *regs, unsigned int thread_flags,
330 do_work_pending(struct pt_regs *regs, unsigned int thread_flags, int syscall) in do_work_pending() argument
333 if (likely(thread_flags & _TIF_NEED_RESCHED)) { in do_work_pending()
339 if (thread_flags & (_TIF_SIGPENDING|_TIF_NOTIFY_SIGNAL)) { in do_work_pending()
355 thread_flags = read_thread_flags(); in do_work_pending()
356 } while (thread_flags & _TIF_WORK_MASK); in do_work_pending()
/linux/arch/arm64/kernel/
H A Dentry-common.c130 static void do_notify_resume(struct pt_regs *regs, unsigned long thread_flags) in do_notify_resume() argument
135 if (thread_flags & _TIF_NEED_RESCHED) in do_notify_resume()
138 if (thread_flags & _TIF_UPROBE) in do_notify_resume()
141 if (thread_flags & _TIF_MTE_ASYNC_FAULT) { in do_notify_resume()
147 if (thread_flags & (_TIF_SIGPENDING | _TIF_NOTIFY_SIGNAL)) in do_notify_resume()
150 if (thread_flags & _TIF_NOTIFY_RESUME) in do_notify_resume()
153 if (thread_flags & _TIF_FOREIGN_FPSTATE) in do_notify_resume()
157 thread_flags = read_thread_flags(); in do_notify_resume()
158 } while (thread_flags & _TIF_WORK_MASK); in do_notify_resume()
/linux/arch/arm/kernel/
H A Dsignal.c602 do_work_pending(struct pt_regs *regs, unsigned int thread_flags, int syscall) in do_work_pending() argument
611 if (likely(thread_flags & _TIF_NEED_RESCHED)) { in do_work_pending()
617 if (thread_flags & (_TIF_SIGPENDING | _TIF_NOTIFY_SIGNAL)) { in do_work_pending()
628 } else if (thread_flags & _TIF_UPROBE) { in do_work_pending()
635 thread_flags = read_thread_flags(); in do_work_pending()
636 } while (thread_flags & _TIF_WORK_MASK); in do_work_pending()
/linux/kernel/irq/
H A Dhandle.c54 if (test_and_set_bit(IRQTF_WARNED, &action->thread_flags)) in warn_no_thread()
75 if (test_and_set_bit(IRQTF_RUNTHREAD, &action->thread_flags)) in __irq_wake_thread()
H A Dmanage.c196 set_bit(IRQTF_AFFINITY, &action->thread_flags); in irq_set_thread_affinity()
200 set_bit(IRQTF_AFFINITY, &action->secondary->thread_flags); in irq_set_thread_affinity()
1066 if (!test_and_clear_bit(IRQTF_AFFINITY, &action->thread_flags)) in irq_thread_check_affinity()
1076 set_bit(IRQTF_AFFINITY, &action->thread_flags); in irq_thread_check_affinity()
1112 &action->thread_flags)) { in irq_wait_for_interrupt()
1121 &action->thread_flags)) { in irq_wait_for_interrupt()
1170 if (test_bit(IRQTF_RUNTHREAD, &action->thread_flags)) in irq_finalize_oneshot()
1253 if (test_and_clear_bit(IRQTF_RUNTHREAD, &action->thread_flags)) in irq_thread_dtor()
1278 set_bit(IRQTF_READY, &action->thread_flags); in irq_thread_set_ready()
1294 test_bit(IRQTF_READY, &action->thread_flags)); in wake_up_and_wait_for_irq_thread_ready()
[all …]
/linux/arch/alpha/kernel/
H A Dsignal.c523 do_work_pending(struct pt_regs *regs, unsigned long thread_flags, in do_work_pending() argument
527 if (thread_flags & _TIF_NEED_RESCHED) { in do_work_pending()
531 if (thread_flags & (_TIF_SIGPENDING|_TIF_NOTIFY_SIGNAL)) { in do_work_pending()
542 thread_flags = read_thread_flags(); in do_work_pending()
543 } while (thread_flags & _TIF_WORK_MASK); in do_work_pending()
/linux/arch/arm/include/asm/
H A Dsignal.h27 int do_work_pending(struct pt_regs *regs, unsigned int thread_flags,
/linux/include/linux/
H A Dinterrupt.h132 unsigned long thread_flags; member