Home
last modified time | relevance | path

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

/kernel/
Dfork.c1663 static int copy_mm(unsigned long clone_flags, struct task_struct *tsk) in copy_mm() argument
1686 if (clone_flags & CLONE_VM) { in copy_mm()
1700 static int copy_fs(unsigned long clone_flags, struct task_struct *tsk) in copy_fs() argument
1703 if (clone_flags & CLONE_FS) { in copy_fs()
1720 static int copy_files(unsigned long clone_flags, struct task_struct *tsk) in copy_files() argument
1732 if (clone_flags & CLONE_FILES) { in copy_files()
1747 static int copy_sighand(unsigned long clone_flags, struct task_struct *tsk) in copy_sighand() argument
1751 if (clone_flags & CLONE_SIGHAND) { in copy_sighand()
1766 if (clone_flags & CLONE_CLEAR_SIGHAND) in copy_sighand()
1796 static int copy_signal(unsigned long clone_flags, struct task_struct *tsk) in copy_signal() argument
[all …]
Dcred.c343 int copy_creds(struct task_struct *p, unsigned long clone_flags) in copy_creds() argument
356 clone_flags & CLONE_THREAD in copy_creds()
372 if (clone_flags & CLONE_NEWUSER) { in copy_creds()
387 if (clone_flags & CLONE_THREAD) in copy_creds()
394 if (!(clone_flags & CLONE_THREAD)) { in copy_creds()
/kernel/sched/
Dsched.h1761 extern void init_numa_balancing(unsigned long clone_flags, struct task_struct *p);
1764 init_numa_balancing(unsigned long clone_flags, struct task_struct *p) in init_numa_balancing() argument
Dcore.c4522 static void __sched_fork(unsigned long clone_flags, struct task_struct *p) in __sched_fork() argument
4563 init_numa_balancing(clone_flags, p); in __sched_fork()
4745 int sched_fork(unsigned long clone_flags, struct task_struct *p) in sched_fork() argument
4749 __sched_fork(clone_flags, p); in sched_fork()
Dfair.c3081 void init_numa_balancing(unsigned long clone_flags, struct task_struct *p) in init_numa_balancing() argument
3109 if (!(clone_flags & CLONE_VM)) { in init_numa_balancing()
/kernel/events/
Dcore.c13340 u64 clone_flags, int *inherited_all) in inherit_task_group() argument
13346 (event->attr.inherit_thread && !(clone_flags & CLONE_THREAD)) || in inherit_task_group()
13348 (event->attr.sigtrap && (clone_flags & CLONE_CLEAR_SIGHAND))) { in inherit_task_group()
13381 u64 clone_flags) in perf_event_init_context() argument
13421 child, ctxn, clone_flags, in perf_event_init_context()
13438 child, ctxn, clone_flags, in perf_event_init_context()
13481 int perf_event_init_task(struct task_struct *child, u64 clone_flags) in perf_event_init_task() argument
13490 ret = perf_event_init_context(child, ctxn, clone_flags); in perf_event_init_task()