Home
last modified time | relevance | path

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

/arch/cris/kernel/
Dptrace.c47 unsigned int thread_flags) in do_work_pending() argument
50 if (likely(thread_flags & _TIF_NEED_RESCHED)) { in do_work_pending()
56 if (thread_flags & _TIF_SIGPENDING) { in do_work_pending()
65 thread_flags = current_thread_info()->flags; in do_work_pending()
66 } while (thread_flags & _TIF_WORK_MASK); in do_work_pending()
/arch/openrisc/kernel/
Dsignal.c297 do_work_pending(struct pt_regs *regs, unsigned int thread_flags, int syscall) in do_work_pending() argument
300 if (likely(thread_flags & _TIF_NEED_RESCHED)) { in do_work_pending()
306 if (thread_flags & _TIF_SIGPENDING) { in do_work_pending()
323 thread_flags = current_thread_info()->flags; in do_work_pending()
324 } while (thread_flags & _TIF_WORK_MASK); in do_work_pending()
/arch/metag/kernel/
Dsignal.c304 int do_work_pending(struct pt_regs *regs, unsigned int thread_flags, in do_work_pending() argument
308 if (likely(thread_flags & _TIF_NEED_RESCHED)) { in do_work_pending()
314 if (thread_flags & _TIF_SIGPENDING) { in do_work_pending()
331 thread_flags = current_thread_info()->flags; in do_work_pending()
332 } while (thread_flags & _TIF_WORK_MASK); in do_work_pending()
/arch/metag/include/asm/
Dsyscalls.h36 int do_work_pending(struct pt_regs *regs, unsigned int thread_flags,
/arch/arm/kernel/
Dsignal.c575 do_work_pending(struct pt_regs *regs, unsigned int thread_flags, int syscall) in do_work_pending() argument
584 if (likely(thread_flags & _TIF_NEED_RESCHED)) { in do_work_pending()
590 if (thread_flags & _TIF_SIGPENDING) { in do_work_pending()
601 } else if (thread_flags & _TIF_UPROBE) { in do_work_pending()
609 thread_flags = current_thread_info()->flags; in do_work_pending()
610 } while (thread_flags & _TIF_WORK_MASK); in do_work_pending()
/arch/arm64/kernel/
Dsignal.c403 unsigned int thread_flags) in do_notify_resume() argument
405 if (thread_flags & _TIF_SIGPENDING) in do_notify_resume()
408 if (thread_flags & _TIF_NOTIFY_RESUME) { in do_notify_resume()
413 if (thread_flags & _TIF_FOREIGN_FPSTATE) in do_notify_resume()
/arch/alpha/kernel/
Dsignal.c532 do_work_pending(struct pt_regs *regs, unsigned long thread_flags, in do_work_pending() argument
536 if (thread_flags & _TIF_NEED_RESCHED) { in do_work_pending()
540 if (thread_flags & _TIF_SIGPENDING) { in do_work_pending()
549 thread_flags = current_thread_info()->flags; in do_work_pending()
550 } while (thread_flags & _TIF_WORK_MASK); in do_work_pending()
/arch/unicore32/kernel/
Dsignal.c405 unsigned int thread_flags, int syscall) in do_notify_resume() argument
407 if (thread_flags & _TIF_SIGPENDING) in do_notify_resume()
410 if (thread_flags & _TIF_NOTIFY_RESUME) { in do_notify_resume()