Home
last modified time | relevance | path

Searched refs:clone_flags (Results 1 – 25 of 47) sorted by relevance

12

/linux/kernel/
A Dfork.c1498 if (clone_flags & CLONE_VM) { in copy_mm()
1515 if (clone_flags & CLONE_FS) { in copy_fs()
1544 if (clone_flags & CLONE_FILES) { in copy_files()
1570 if (clone_flags & CLONE_IO) { in copy_io()
1638 if (clone_flags & CLONE_THREAD) in copy_signal()
1937 u64 clone_flags = args->flags; in copy_process() local
1954 if ((clone_flags & CLONE_THREAD) && !(clone_flags & CLONE_SIGHAND)) in copy_process()
1962 if ((clone_flags & CLONE_SIGHAND) && !(clone_flags & CLONE_VM)) in copy_process()
2339 rseq_fork(p, clone_flags); in copy_process()
2543 u64 clone_flags = args->flags; in kernel_clone() local
[all …]
A Dcred.c340 int copy_creds(struct task_struct *p, unsigned long clone_flags) in copy_creds() argument
353 clone_flags & CLONE_THREAD in copy_creds()
369 if (clone_flags & CLONE_NEWUSER) { in copy_creds()
384 if (clone_flags & CLONE_THREAD) in copy_creds()
391 if (!(clone_flags & CLONE_THREAD)) { in copy_creds()
/linux/include/trace/events/
A Dtask.h11 TP_PROTO(struct task_struct *task, unsigned long clone_flags),
13 TP_ARGS(task, clone_flags),
18 __field( unsigned long, clone_flags)
25 __entry->clone_flags = clone_flags;
31 __entry->clone_flags, __entry->oom_score_adj)
/linux/arch/h8300/kernel/
A Dprocess.c108 int copy_thread(unsigned long clone_flags, unsigned long usp, in copy_thread() argument
154 unsigned long clone_flags; in sys_clone() local
160 get_user(clone_flags, &args[0]); in sys_clone()
165 kargs.flags = (lower_32_bits(clone_flags) & ~CSIGNAL); in sys_clone()
169 kargs.exit_signal = (lower_32_bits(clone_flags) & CSIGNAL); in sys_clone()
/linux/arch/nios2/kernel/
A Dprocess.c103 int copy_thread(unsigned long clone_flags, unsigned long usp, unsigned long arg, in copy_thread() argument
142 if (clone_flags & CLONE_SETTLS) in copy_thread()
252 asmlinkage int nios2_clone(unsigned long clone_flags, unsigned long newsp, in nios2_clone() argument
257 .flags = (lower_32_bits(clone_flags) & ~CSIGNAL), in nios2_clone()
261 .exit_signal = (lower_32_bits(clone_flags) & CSIGNAL), in nios2_clone()
/linux/include/linux/
A Dsem.h16 extern int copy_semundo(unsigned long clone_flags, struct task_struct *tsk);
25 static inline int copy_semundo(unsigned long clone_flags, struct task_struct *tsk) in copy_semundo() argument
/linux/arch/xtensa/kernel/
A Dprocess.c204 int copy_thread(unsigned long clone_flags, unsigned long usp_thread_fn, in copy_thread() argument
256 if (clone_flags & CLONE_VM) { in copy_thread()
276 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux/arch/csky/kernel/
A Dprocess.c33 int copy_thread(unsigned long clone_flags, in copy_thread() argument
62 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux/arch/ia64/kernel/
A Dprocess.c298 copy_thread(unsigned long clone_flags, unsigned long user_stack_base, in copy_thread() argument
379 if (clone_flags & CLONE_SETTLS) in copy_thread()
400 asmlinkage long ia64_clone(unsigned long clone_flags, unsigned long stack_start, in ia64_clone() argument
405 .flags = (lower_32_bits(clone_flags) & ~CSIGNAL), in ia64_clone()
409 .exit_signal = (lower_32_bits(clone_flags) & CSIGNAL), in ia64_clone()
/linux/arch/hexagon/kernel/
A Dprocess.c53 int copy_thread(unsigned long clone_flags, unsigned long usp, unsigned long arg, in copy_thread() argument
102 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux/arch/parisc/kernel/
A Dprocess.c188 copy_thread(unsigned long clone_flags, unsigned long usp, in copy_thread() argument
235 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux/arch/x86/kernel/
A Dsys_ia32.c240 COMPAT_SYSCALL_DEFINE5(ia32_clone, unsigned long, clone_flags, in COMPAT_SYSCALL_DEFINE5() argument
245 .flags = (clone_flags & ~CSIGNAL), in COMPAT_SYSCALL_DEFINE5()
249 .exit_signal = (clone_flags & CSIGNAL), in COMPAT_SYSCALL_DEFINE5()
/linux/arch/openrisc/kernel/
A Dprocess.c155 copy_thread(unsigned long clone_flags, unsigned long usp, unsigned long arg, in copy_thread() argument
188 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux/arch/arc/kernel/
A Dprocess.c165 int copy_thread(unsigned long clone_flags, unsigned long usp, in copy_thread() argument
220 if (unlikely(clone_flags & CLONE_SETTLS)) { in copy_thread()
/linux/arch/microblaze/kernel/
A Dprocess.c56 int copy_thread(unsigned long clone_flags, unsigned long usp, unsigned long arg, in copy_thread() argument
109 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux/arch/sh/kernel/
A Dprocess_32.c95 int copy_thread(unsigned long clone_flags, unsigned long usp, unsigned long arg, in copy_thread() argument
137 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux/arch/riscv/kernel/
A Dprocess.c122 int copy_thread(unsigned long clone_flags, unsigned long usp, unsigned long arg, in copy_thread() argument
142 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux/arch/s390/kernel/
A Dprocess.c97 int copy_thread(unsigned long clone_flags, unsigned long new_stackp, in copy_thread() argument
161 if (clone_flags & CLONE_SETTLS) { in copy_thread()
/linux/arch/nds32/kernel/
A Dprocess.c152 int copy_thread(unsigned long clone_flags, unsigned long stack_start, in copy_thread() argument
172 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux/arch/m68k/kernel/
A Dprocess.c141 int copy_thread(unsigned long clone_flags, unsigned long usp, unsigned long arg, in copy_thread() argument
176 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux/arch/openrisc/include/asm/
A Dsyscalls.h23 asmlinkage long __sys_clone(unsigned long clone_flags, unsigned long newsp,
/linux/tools/testing/selftests/safesetid/
A Dsafesetid-test.c181 int clone_flags = CLONE_NEWUSER; in test_userns() local
182 cpid = syscall(SYS_clone, clone_flags, NULL); in test_userns()
/linux/arch/x86/include/asm/fpu/
A Dsched.h14 extern int fpu_clone(struct task_struct *dst, unsigned long clone_flags);
/linux/arch/alpha/kernel/
A Dprocess.c236 int copy_thread(unsigned long clone_flags, unsigned long usp, in copy_thread() argument
268 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux/arch/um/kernel/
A Dprocess.c156 int copy_thread(unsigned long clone_flags, unsigned long sp, in copy_thread() argument
190 if (clone_flags & CLONE_SETTLS) in copy_thread()

Completed in 25 milliseconds

12