Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dtask_kfunc_failure.c32 int BPF_PROG(task_kfunc_acquire_untrusted, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
50 int BPF_PROG(task_kfunc_acquire_fp, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
52 struct task_struct *acquired, *stack_task = (struct task_struct *)&clone_flags; in BPF_PROG()
90 int BPF_PROG(task_kfunc_acquire_null, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
105 int BPF_PROG(task_kfunc_acquire_unreleased, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
153 int BPF_PROG(task_kfunc_get_null, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
169 int BPF_PROG(task_kfunc_xchg_unreleased, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
189 int BPF_PROG(task_kfunc_get_unreleased, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
225 int BPF_PROG(task_kfunc_release_fp, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
227 struct task_struct *acquired = (struct task_struct *)&clone_flags; in BPF_PROG()
[all …]
A Dtask_kfunc_success.c38 int BPF_PROG(test_task_acquire_release_argument, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
47 int BPF_PROG(test_task_acquire_release_current, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
56 int BPF_PROG(test_task_acquire_leave_in_map, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
71 int BPF_PROG(test_task_xchg_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
104 int BPF_PROG(test_task_get_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
142 int BPF_PROG(test_task_current_acquire_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
172 int BPF_PROG(test_task_from_pid_arg, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
184 int BPF_PROG(test_task_from_pid_current, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
209 int BPF_PROG(test_task_from_pid_invalid, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
A Dcpumask_failure.c21 int BPF_PROG(test_alloc_no_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
33 int BPF_PROG(test_alloc_double_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
48 int BPF_PROG(test_acquire_wrong_cpumask, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
60 int BPF_PROG(test_mutate_cpumask, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
72 int BPF_PROG(test_insert_remove_no_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
96 int BPF_PROG(test_kptr_get_no_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
120 int BPF_PROG(test_cpumask_null, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
A Dcpumask_success.c65 int BPF_PROG(test_alloc_free_cpumask, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
81 int BPF_PROG(test_set_clear_cpu, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
110 int BPF_PROG(test_setall_clear_cpu, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
139 int BPF_PROG(test_first_firstzero_cpu, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
178 int BPF_PROG(test_test_and_set_clear, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
210 int BPF_PROG(test_and_or_xor, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
257 int BPF_PROG(test_intersects_subset, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
299 int BPF_PROG(test_copy_any_anyand, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
353 int BPF_PROG(test_insert_leave, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
369 int BPF_PROG(test_insert_remove_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
[all …]
A Dnested_trust_failure.c21 int BPF_PROG(test_invalid_nested_user_cpus, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
29 int BPF_PROG(test_invalid_nested_offset, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
A Dnested_trust_success.c15 int BPF_PROG(test_read_cpumask, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
A Dexhandler_kern.c19 int BPF_PROG(trace_task_newtask, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
/linux-6.3-rc2/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-6.3-rc2/kernel/
A Dfork.c1595 if (clone_flags & CLONE_VM) { in copy_mm()
1613 if (clone_flags & CLONE_FS) { in copy_fs()
1642 if (clone_flags & CLONE_FILES) { in copy_files()
1710 if (clone_flags & CLONE_THREAD) in copy_signal()
2040 if ((clone_flags & CLONE_THREAD) && !(clone_flags & CLONE_SIGHAND)) in copy_process()
2048 if ((clone_flags & CLONE_SIGHAND) && !(clone_flags & CLONE_VM)) in copy_process()
2071 if (clone_flags & CLONE_PIDFD) { in copy_process()
2298 if (clone_flags & CLONE_PIDFD) { in copy_process()
2427 rseq_fork(p, clone_flags); in copy_process()
2645 u64 clone_flags = args->flags; in kernel_clone() local
[all …]
/linux-6.3-rc2/include/linux/
A 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
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-6.3-rc2/arch/nios2/kernel/
A Dprocess.c104 unsigned long 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-6.3-rc2/arch/csky/kernel/
A Dprocess.c35 unsigned long clone_flags = args->flags; in copy_thread() local
61 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux-6.3-rc2/arch/hexagon/kernel/
A Dprocess.c54 unsigned long clone_flags = args->flags; in copy_thread() local
103 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux-6.3-rc2/arch/xtensa/kernel/
A Dprocess.c269 unsigned long clone_flags = args->flags; in copy_thread() local
316 if (clone_flags & CLONE_VM) { in copy_thread()
330 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux-6.3-rc2/arch/parisc/kernel/
A Dprocess.c205 unsigned long clone_flags = args->flags; in copy_thread() local
252 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux-6.3-rc2/tools/perf/util/bpf_skel/
A 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.3-rc2/arch/ia64/kernel/
A Dprocess.c302 unsigned long clone_flags = args->flags; in copy_thread() local
384 if (clone_flags & CLONE_SETTLS) in copy_thread()
405 asmlinkage long ia64_clone(unsigned long clone_flags, unsigned long stack_start, in ia64_clone() argument
410 .flags = (lower_32_bits(clone_flags) & ~CSIGNAL), in ia64_clone()
414 .exit_signal = (lower_32_bits(clone_flags) & CSIGNAL), in ia64_clone()
/linux-6.3-rc2/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-6.3-rc2/arch/openrisc/kernel/
A Dprocess.c169 unsigned long clone_flags = args->flags; in copy_thread() local
202 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux-6.3-rc2/tools/testing/selftests/arm64/abi/
A 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.3-rc2/arch/microblaze/kernel/
A Dprocess.c57 unsigned long clone_flags = args->flags; in copy_thread() local
110 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux-6.3-rc2/arch/arc/kernel/
A Dprocess.c170 unsigned long clone_flags = args->flags; in copy_thread() local
224 if (unlikely(clone_flags & CLONE_SETTLS)) { in copy_thread()
/linux-6.3-rc2/arch/sh/kernel/
A Dprocess_32.c92 unsigned long clone_flags = args->flags; in copy_thread() local
132 if (clone_flags & CLONE_SETTLS) in copy_thread()
/linux-6.3-rc2/arch/s390/kernel/
A Dprocess.c111 unsigned long clone_flags = args->flags; in copy_thread() local
172 if (clone_flags & CLONE_SETTLS) { in copy_thread()

Completed in 36 milliseconds

123