Lines Matching refs:CLONE_THREAD
1839 if (clone_flags & CLONE_THREAD) in copy_signal()
2086 if ((clone_flags & (CLONE_VM | CLONE_THREAD | CLONE_VFORK)) != CLONE_VM) in copy_oom_score_adj()
2145 if ((clone_flags & CLONE_THREAD) && !(clone_flags & CLONE_SIGHAND)) in copy_process()
2170 if (clone_flags & CLONE_THREAD) { in copy_process()
2195 if (!(clone_flags & CLONE_THREAD)) in copy_process()
2404 int flags = (clone_flags & CLONE_THREAD) ? PIDFD_THREAD : 0; in copy_process()
2441 if (clone_flags & CLONE_THREAD) { in copy_process()
2505 if (clone_flags & (CLONE_PARENT|CLONE_THREAD)) { in copy_process()
2508 if (clone_flags & CLONE_THREAD) in copy_process()
2638 if (!(clone_flags & CLONE_THREAD)) in copy_process()
2722 unsigned long flags = CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD| in create_io_thread()
3048 if ((kargs->flags & (CLONE_THREAD | CLONE_PARENT)) && in clone3_args_valid()
3188 if (unshare_flags & ~(CLONE_THREAD|CLONE_FS|CLONE_NEWNS|CLONE_SIGHAND| in check_unshare_flags()
3200 if (unshare_flags & (CLONE_THREAD | CLONE_SIGHAND | CLONE_VM)) { in check_unshare_flags()
3277 unshare_flags |= CLONE_THREAD | CLONE_FS; in ksys_unshare()
3287 unshare_flags |= CLONE_THREAD; in ksys_unshare()