Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/bpf/progs/
H A Dtask_kfunc_failure.c33 int BPF_PROG(task_kfunc_acquire_untrusted, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
54 int BPF_PROG(task_kfunc_acquire_fp, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
56 struct task_struct *acquired, *stack_task = (struct task_struct *)&clone_flags; in BPF_PROG()
70 int BPF_PROG(task_kfunc_acquire_unsafe_kretprobe, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
85 int BPF_PROG(task_kfunc_acquire_unsafe_kretprobe_rcu, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
105 int BPF_PROG(task_kfunc_acquire_null, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
120 int BPF_PROG(task_kfunc_acquire_unreleased, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
134 int BPF_PROG(task_kfunc_xchg_unreleased, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
154 int BPF_PROG(task_kfunc_acquire_release_no_null_check, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
167 int BPF_PROG(task_kfunc_release_untrusted, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
[all …]
H A Dcpumask_failure.c36 int BPF_PROG(test_alloc_no_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
49 int BPF_PROG(test_alloc_double_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
64 int BPF_PROG(test_acquire_wrong_cpumask, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
77 int BPF_PROG(test_mutate_cpumask, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
87 int BPF_PROG(test_insert_remove_no_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
111 int BPF_PROG(test_cpumask_null, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
159 int BPF_PROG(test_global_mask_no_null_check, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
187 int BPF_PROG(test_global_mask_rcu_no_null_check, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
212 int BPF_PROG(test_invalid_nested_array, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
232 int BPF_PROG(test_populate_invalid_destination, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
[all …]
H A Dcpumask_success.c139 int BPF_PROG(test_alloc_free_cpumask, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
155 int BPF_PROG(test_set_clear_cpu, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
184 int BPF_PROG(test_setall_clear_cpu, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
213 int BPF_PROG(test_first_firstzero_cpu, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
252 int BPF_PROG(test_firstand_nocpu, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
284 int BPF_PROG(test_test_and_set_clear, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
316 int BPF_PROG(test_and_or_xor, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
363 int BPF_PROG(test_intersects_subset, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
405 int BPF_PROG(test_copy_any_anyand, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
459 int BPF_PROG(test_insert_leave, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
[all …]
H A Dtask_kfunc_success.c68 int BPF_PROG(test_task_kfunc_flavor_relo, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
98 int BPF_PROG(test_task_kfunc_flavor_relo_not_found, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
112 int BPF_PROG(test_task_acquire_release_argument, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
121 int BPF_PROG(test_task_acquire_release_current, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
130 int BPF_PROG(test_task_acquire_leave_in_map, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
228 int BPF_PROG(test_task_map_acquire_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
266 int BPF_PROG(test_task_current_acquire_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
299 int BPF_PROG(test_task_from_pid_arg, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
309 int BPF_PROG(test_task_from_pid_current, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
332 int BPF_PROG(test_task_from_pid_invalid, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
[all …]
H A Dnested_trust_success.c22 int BPF_PROG(test_read_cpumask, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
38 int BPF_PROG(test_nested_offset, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
H A Dexhandler_kern.c19 int BPF_PROG(trace_task_newtask, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
/linux/kernel/
H A Dfork.c1568 static int copy_mm(u64 clone_flags, struct task_struct *tsk) in copy_mm() argument
1591 if (clone_flags & CLONE_VM) { in copy_mm()
1606 static int copy_exec_state(u64 clone_flags, struct task_struct *tsk) in copy_exec_state()
1611 if (clone_flags & CLONE_VM) { in copy_exec_state()
1622 static int copy_fs(u64 clone_flags, struct task_struct *tsk, bool umh) in copy_fs()
1633 if (clone_flags & (CLONE_NEWNS | CLONE_FS)) in copy_fs()
1643 if (clone_flags & CLONE_FS) { in copy_fs()
1661 static int copy_files(u64 clone_flags, struct task_struct *tsk, in copy_files()
1678 if (clone_flags & CLONE_FILES) { in copy_files()
1691 static int copy_sighand(u64 clone_flags, struc in copy_sighand()
1605 copy_exec_state(u64 clone_flags,struct task_struct * tsk) copy_exec_state() argument
1621 copy_fs(u64 clone_flags,struct task_struct * tsk,bool umh) copy_fs() argument
1660 copy_files(u64 clone_flags,struct task_struct * tsk,int no_files) copy_files() argument
1690 copy_sighand(u64 clone_flags,struct task_struct * tsk) copy_sighand() argument
1739 copy_signal(u64 clone_flags,struct task_struct * tsk) copy_signal() argument
1967 copy_oom_score_adj(u64 clone_flags,struct task_struct * tsk) copy_oom_score_adj() argument
1995 need_futex_hash_allocate_default(u64 clone_flags) need_futex_hash_allocate_default() argument
2022 const u64 clone_flags = args->flags; copy_process() local
2717 u64 clone_flags = args->flags; kernel_clone() local
2879 SYSCALL_DEFINE5(clone,unsigned long,clone_flags,unsigned long,newsp,int __user *,parent_tidptr,unsigned long,tls,int __user *,child_tidptr) SYSCALL_DEFINE5() argument
[all...]
/linux/include/trace/events/
H A Dtask.h11 TP_PROTO(struct task_struct *task, u64 clone_flags),
13 TP_ARGS(task, clone_flags),
18 __field( u64, clone_flags)
25 __entry->clone_flags = clone_flags;
31 __entry->clone_flags, __entry->oom_score_adj)
/linux/include/linux/
H A Diocontext.h121 int __copy_io(u64 clone_flags, struct task_struct *tsk);
122 static inline int copy_io(u64 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(u64 clone_flags, struct task_struct *tsk) in copy_io() argument
H A Duser_events.h36 u64 clone_flags) in user_events_fork() argument
45 if (clone_flags & CLONE_VM) { in user_events_fork()
71 u64 clone_flags) in user_events_fork() argument
H A Dsem.h12 extern int copy_semundo(u64 clone_flags, struct task_struct *tsk);
17 static inline int copy_semundo(u64 clone_flags, struct task_struct *tsk) in copy_semundo() argument
H A Drseq.h155 static inline void rseq_fork(struct task_struct *t, u64 clone_flags) in rseq_fork() argument
157 if (clone_flags & CLONE_VM) in rseq_fork()
183 static inline void rseq_fork(struct task_struct *t, u64 clone_flags) { } in rseq_fork() argument
/linux/arch/nios2/kernel/
H A Dprocess.c104 u64 clone_flags = args->flags; in copy_thread() local
143 if (clone_flags & CLONE_SETTLS) in copy_thread()
253 asmlinkage int nios2_clone(unsigned long clone_flags, unsigned long newsp, in nios2_clone() argument
258 .flags = (lower_32_bits(clone_flags) & ~CSIGNAL), in nios2_clone()
262 .exit_signal = (lower_32_bits(clone_flags) & CSIGNAL), in nios2_clone()
/linux/arch/x86/include/asm/
H A Dshstk.h19 unsigned long shstk_alloc_thread_stack(struct task_struct *p, u64 clone_flags,
33 u64 clone_flags, in shstk_alloc_thread_stack() argument
/linux/arch/csky/kernel/
H A Dprocess.c35 u64 clone_flags = args->flags; in copy_thread() local
61 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux/arch/xtensa/kernel/
H A Dprocess.c270 u64 clone_flags = args->flags; in copy_thread() local
317 if (clone_flags & CLONE_VM) { in copy_thread()
331 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux/arch/hexagon/kernel/
H A Dprocess.c55 u64 clone_flags = args->flags; in copy_thread() local
104 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux/tools/testing/selftests/arm64/abi/
H A Dtpidr2.c127 static int sys_clone(unsigned long clone_flags, unsigned long newsp, in sys_clone() argument
131 return syscall(__NR_clone, clone_flags, newsp, parent_tidptr, tls, child_tidptr); in sys_clone()
/linux/arch/openrisc/kernel/
H A Dprocess.c168 u64 clone_flags = args->flags; in copy_thread() local
201 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux/arch/arc/kernel/
H A Dprocess.c169 u64 clone_flags = args->flags; in copy_thread() local
223 if (unlikely(clone_flags & CLONE_SETTLS)) { in copy_thread()
/linux/arch/microblaze/kernel/
H A Dprocess.c57 u64 clone_flags = args->flags; in copy_thread() local
110 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux/arch/sh/kernel/
H A Dprocess_32.c92 u64 clone_flags = args->flags; in copy_thread() local
132 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux/tools/perf/util/bpf_skel/
H A Doff_cpu.bpf.c329 u64 clone_flags; in on_newtask() local
343 clone_flags = ctx[1]; in on_newtask()
346 if (!(clone_flags & CLONE_THREAD)) in on_newtask()
/linux/arch/x86/kernel/
H A Dshstk.c186 unsigned long shstk_alloc_thread_stack(struct task_struct *tsk, u64 clone_flags, in shstk_alloc_thread_stack() argument
204 if (clone_flags & CLONE_VFORK) { in shstk_alloc_thread_stack()
214 if (!(clone_flags & CLONE_VM)) in shstk_alloc_thread_stack()
/linux/arch/openrisc/include/asm/
H A Dsyscalls.h23 asmlinkage long __sys_clone(unsigned long clone_flags, unsigned long newsp,

12