/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | task_kfunc_failure.c | 32 int BPF_PROG(task_kfunc_acquire_untrusted, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument 53 int BPF_PROG(task_kfunc_acquire_fp, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument 55 struct task_struct *acquired, *stack_task = (struct task_struct *)&clone_flags; in BPF_PROG() 69 int BPF_PROG(task_kfunc_acquire_unsafe_kretprobe, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument 84 int BPF_PROG(task_kfunc_acquire_unsafe_kretprobe_rcu, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument 104 int BPF_PROG(task_kfunc_acquire_null, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument 119 int BPF_PROG(task_kfunc_acquire_unreleased, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument 133 int BPF_PROG(task_kfunc_xchg_unreleased, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument 153 int BPF_PROG(task_kfunc_acquire_release_no_null_check, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument 166 int BPF_PROG(task_kfunc_release_untrusted, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument [all …]
|
D | cpumask_failure.c | 36 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 121 int BPF_PROG(test_global_mask_out_of_rcu, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument 155 int BPF_PROG(test_global_mask_no_null_check, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument 183 int BPF_PROG(test_global_mask_rcu_no_null_check, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument 208 int BPF_PROG(test_invalid_nested_array, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
|
D | task_kfunc_success.c | 67 int BPF_PROG(test_task_kfunc_flavor_relo, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument 97 int BPF_PROG(test_task_kfunc_flavor_relo_not_found, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument 111 int BPF_PROG(test_task_acquire_release_argument, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument 120 int BPF_PROG(test_task_acquire_release_current, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument 129 int BPF_PROG(test_task_acquire_leave_in_map, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument 144 int BPF_PROG(test_task_xchg_release, 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 [all …]
|
D | cpumask_success.c | 139 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 …]
|
D | nested_trust_success.c | 22 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
|
D | verifier_global_ptr_args.c | 157 int BPF_PROG(trusted_destroy_fail, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument 177 int BPF_PROG(trusted_acq_rel, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
|
/linux-6.12.1/include/trace/events/ |
D | task.h | 11 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.12.1/kernel/ |
D | fork.c | 1697 static int copy_mm(unsigned long clone_flags, struct task_struct *tsk) in copy_mm() argument 1720 if (clone_flags & CLONE_VM) { in copy_mm() 1735 static int copy_fs(unsigned long clone_flags, struct task_struct *tsk) in copy_fs() argument 1738 if (clone_flags & CLONE_FS) { in copy_fs() 1756 static int copy_files(unsigned long clone_flags, struct task_struct *tsk, in copy_files() argument 1773 if (clone_flags & CLONE_FILES) { in copy_files() 1786 static int copy_sighand(unsigned long clone_flags, struct task_struct *tsk) in copy_sighand() argument 1790 if (clone_flags & CLONE_SIGHAND) { in copy_sighand() 1805 if (clone_flags & CLONE_CLEAR_SIGHAND) in copy_sighand() 1835 static int copy_signal(unsigned long clone_flags, struct task_struct *tsk) in copy_signal() argument [all …]
|
D | cred.c | 290 int copy_creds(struct task_struct *p, unsigned long clone_flags) in copy_creds() argument 303 clone_flags & CLONE_THREAD in copy_creds() 316 if (clone_flags & CLONE_NEWUSER) { in copy_creds() 331 if (clone_flags & CLONE_THREAD) in copy_creds() 338 if (!(clone_flags & CLONE_THREAD)) { in copy_creds()
|
/linux-6.12.1/include/linux/ |
D | iocontext.h | 121 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
|
D | user_events.h | 36 unsigned long clone_flags) in user_events_fork() argument 45 if (clone_flags & CLONE_VM) { in user_events_fork() 71 unsigned long clone_flags) in user_events_fork() argument
|
D | sem.h | 12 extern int copy_semundo(unsigned long clone_flags, struct task_struct *tsk); 17 static inline int copy_semundo(unsigned long clone_flags, struct task_struct *tsk) in copy_semundo() argument
|
D | rseq.h | 68 static inline void rseq_fork(struct task_struct *t, unsigned long clone_flags) in rseq_fork() argument 70 if (clone_flags & CLONE_VM) { in rseq_fork() 110 static inline void rseq_fork(struct task_struct *t, unsigned long clone_flags) in rseq_fork() argument
|
/linux-6.12.1/arch/nios2/kernel/ |
D | process.c | 104 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.12.1/arch/x86/include/asm/ |
D | shstk.h | 19 unsigned long shstk_alloc_thread_stack(struct task_struct *p, unsigned long clone_flags, 31 unsigned long clone_flags, in shstk_alloc_thread_stack() argument
|
/linux-6.12.1/arch/csky/kernel/ |
D | process.c | 35 unsigned long clone_flags = args->flags; in copy_thread() local 61 if (clone_flags & CLONE_SETTLS) in copy_thread()
|
/linux-6.12.1/arch/xtensa/kernel/ |
D | process.c | 270 unsigned long 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-6.12.1/arch/hexagon/kernel/ |
D | process.c | 55 unsigned long clone_flags = args->flags; in copy_thread() local 104 if (clone_flags & CLONE_SETTLS) in copy_thread()
|
/linux-6.12.1/arch/parisc/kernel/ |
D | process.c | 204 unsigned long clone_flags = args->flags; in copy_thread() local 251 if (clone_flags & CLONE_SETTLS) in copy_thread()
|
/linux-6.12.1/tools/perf/util/bpf_skel/ |
D | off_cpu.bpf.c | 241 u64 clone_flags; in on_newtask() local 255 clone_flags = ctx[1]; in on_newtask() 258 if (!(clone_flags & CLONE_THREAD)) in on_newtask()
|
/linux-6.12.1/arch/x86/kernel/ |
D | sys_ia32.c | 240 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.12.1/arch/openrisc/kernel/ |
D | process.c | 168 unsigned long clone_flags = args->flags; in copy_thread() local 201 if (clone_flags & CLONE_SETTLS) in copy_thread()
|
/linux-6.12.1/arch/arc/kernel/ |
D | process.c | 169 unsigned long clone_flags = args->flags; in copy_thread() local 223 if (unlikely(clone_flags & CLONE_SETTLS)) { in copy_thread()
|
/linux-6.12.1/arch/microblaze/kernel/ |
D | process.c | 57 unsigned long clone_flags = args->flags; in copy_thread() local 110 if (clone_flags & CLONE_SETTLS) in copy_thread()
|
/linux-6.12.1/arch/sh/kernel/ |
D | process_32.c | 92 unsigned long clone_flags = args->flags; in copy_thread() local 132 if (clone_flags & CLONE_SETTLS) in copy_thread()
|