Home
last modified time | relevance | path

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

123

/linux-6.1.9/include/trace/events/
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-6.1.9/kernel/
Dfork.c1551 static int copy_mm(unsigned long clone_flags, struct task_struct *tsk) in copy_mm() argument
1574 if (clone_flags & CLONE_VM) { in copy_mm()
1588 static int copy_fs(unsigned long clone_flags, struct task_struct *tsk) in copy_fs() argument
1591 if (clone_flags & CLONE_FS) { in copy_fs()
1608 static int copy_files(unsigned long clone_flags, struct task_struct *tsk) in copy_files() argument
1620 if (clone_flags & CLONE_FILES) { in copy_files()
1635 static int copy_sighand(unsigned long clone_flags, struct task_struct *tsk) in copy_sighand() argument
1639 if (clone_flags & CLONE_SIGHAND) { in copy_sighand()
1654 if (clone_flags & CLONE_CLEAR_SIGHAND) in copy_sighand()
1684 static int copy_signal(unsigned long clone_flags, struct task_struct *tsk) in copy_signal() argument
[all …]
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-6.1.9/include/linux/
Diocontext.h121 int __copy_io(unsigned long clone_flags, struct task_struct *tsk);
122 static inline int copy_io(unsigned long clone_flags, struct task_struct *tsk) in copy_io() argument
126 return __copy_io(clone_flags, tsk); in copy_io()
132 static inline int copy_io(unsigned long clone_flags, struct task_struct *tsk) in copy_io() argument
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-6.1.9/arch/nios2/kernel/
Dprocess.c105 unsigned long clone_flags = args->flags; in copy_thread() local
144 if (clone_flags & CLONE_SETTLS) in copy_thread()
254 asmlinkage int nios2_clone(unsigned long clone_flags, unsigned long newsp, in nios2_clone() argument
259 .flags = (lower_32_bits(clone_flags) & ~CSIGNAL), in nios2_clone()
263 .exit_signal = (lower_32_bits(clone_flags) & CSIGNAL), in nios2_clone()
/linux-6.1.9/arch/csky/kernel/
Dprocess.c34 unsigned long clone_flags = args->flags; in copy_thread() local
60 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux-6.1.9/arch/hexagon/kernel/
Dprocess.c55 unsigned long clone_flags = args->flags; in copy_thread() local
104 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux-6.1.9/arch/xtensa/kernel/
Dprocess.c268 unsigned long clone_flags = args->flags; in copy_thread() local
315 if (clone_flags & CLONE_VM) { in copy_thread()
329 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux-6.1.9/arch/parisc/kernel/
Dprocess.c207 unsigned long clone_flags = args->flags; in copy_thread() local
254 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux-6.1.9/tools/perf/util/bpf_skel/
Doff_cpu.bpf.c240 u64 clone_flags; in on_newtask() local
254 clone_flags = ctx[1]; in on_newtask()
257 if (!(clone_flags & CLONE_THREAD)) in on_newtask()
/linux-6.1.9/arch/ia64/kernel/
Dprocess.c301 unsigned long clone_flags = args->flags; in copy_thread() local
383 if (clone_flags & CLONE_SETTLS) in copy_thread()
404 asmlinkage long ia64_clone(unsigned long clone_flags, unsigned long stack_start, in ia64_clone() argument
409 .flags = (lower_32_bits(clone_flags) & ~CSIGNAL), in ia64_clone()
413 .exit_signal = (lower_32_bits(clone_flags) & CSIGNAL), in ia64_clone()
/linux-6.1.9/arch/x86/kernel/
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-6.1.9/arch/openrisc/kernel/
Dprocess.c168 unsigned long clone_flags = args->flags; in copy_thread() local
201 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux-6.1.9/arch/microblaze/kernel/
Dprocess.c57 unsigned long clone_flags = args->flags; in copy_thread() local
110 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux-6.1.9/tools/testing/selftests/arm64/abi/
Dtpidr2.c164 static int sys_clone(unsigned long clone_flags, unsigned long newsp, in sys_clone() argument
168 return my_syscall5(__NR_clone, clone_flags, newsp, parent_tidptr, tls, in sys_clone()
/linux-6.1.9/arch/arc/kernel/
Dprocess.c167 unsigned long clone_flags = args->flags; in copy_thread() local
221 if (unlikely(clone_flags & CLONE_SETTLS)) { in copy_thread()
/linux-6.1.9/arch/sh/kernel/
Dprocess_32.c92 unsigned long clone_flags = args->flags; in copy_thread() local
132 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux-6.1.9/arch/s390/kernel/
Dprocess.c111 unsigned long clone_flags = args->flags; in copy_thread() local
172 if (clone_flags & CLONE_SETTLS) { in copy_thread()
/linux-6.1.9/arch/openrisc/include/asm/
Dsyscalls.h23 asmlinkage long __sys_clone(unsigned long clone_flags, unsigned long newsp,
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dexhandler_kern.c19 int BPF_PROG(trace_task_newtask, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
/linux-6.1.9/arch/x86/include/asm/fpu/
Dsched.h14 extern int fpu_clone(struct task_struct *dst, unsigned long clone_flags, bool minimal);
/linux-6.1.9/arch/riscv/kernel/
Dprocess.c162 unsigned long clone_flags = args->flags; in copy_thread() local
184 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux-6.1.9/arch/m68k/kernel/
Dprocess.c142 unsigned long clone_flags = args->flags; in copy_thread() local
177 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux-6.1.9/arch/alpha/kernel/
Dprocess.c233 unsigned long clone_flags = args->flags; in copy_thread() local
264 if (clone_flags & CLONE_SETTLS) in copy_thread()

123