Home
last modified time | relevance | path

Searched refs:set_tid_size (Results 1 - 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/clone3/
H A Dclone3_cap_checkpoint_restore.c42 pid_t *set_tid, size_t set_tid_size) in call_clone3_set_tid()
50 .set_tid_size = set_tid_size, in call_clone3_set_tid()
84 pid_t *set_tid, size_t set_tid_size) in test_clone3_set_tid()
89 ret = call_clone3_set_tid(_metadata, set_tid, set_tid_size); in test_clone3_set_tid()
41 call_clone3_set_tid(struct __test_metadata *_metadata, pid_t *set_tid, size_t set_tid_size) call_clone3_set_tid() argument
83 test_clone3_set_tid(struct __test_metadata *_metadata, pid_t *set_tid, size_t set_tid_size) test_clone3_set_tid() argument
H A Dclone3_set_tid.c41 size_t set_tid_size, in call_clone3_set_tid()
53 .set_tid_size = set_tid_size, in call_clone3_set_tid()
120 size_t set_tid_size, in test_clone3_set_tid()
131 ret = call_clone3_set_tid(set_tid, set_tid_size, flags, expected_pid, in test_clone3_set_tid()
40 call_clone3_set_tid(pid_t *set_tid, size_t set_tid_size, int flags, int expected_pid, bool wait_for_it) call_clone3_set_tid() argument
119 test_clone3_set_tid(pid_t *set_tid, size_t set_tid_size, int flags, int expected, int expected_pid, bool wait_for_it) test_clone3_set_tid() argument
H A Dclone3_selftests.h39 __aligned_u64 set_tid_size; member
/kernel/linux/linux-6.6/tools/testing/selftests/clone3/
H A Dclone3_cap_checkpoint_restore.c42 pid_t *set_tid, size_t set_tid_size) in call_clone3_set_tid()
50 .set_tid_size = set_tid_size, in call_clone3_set_tid()
84 pid_t *set_tid, size_t set_tid_size) in test_clone3_set_tid()
89 ret = call_clone3_set_tid(_metadata, set_tid, set_tid_size); in test_clone3_set_tid()
41 call_clone3_set_tid(struct __test_metadata *_metadata, pid_t *set_tid, size_t set_tid_size) call_clone3_set_tid() argument
83 test_clone3_set_tid(struct __test_metadata *_metadata, pid_t *set_tid, size_t set_tid_size) test_clone3_set_tid() argument
H A Dclone3_set_tid.c41 size_t set_tid_size, in call_clone3_set_tid()
53 .set_tid_size = set_tid_size, in call_clone3_set_tid()
120 size_t set_tid_size, in test_clone3_set_tid()
131 ret = call_clone3_set_tid(set_tid, set_tid_size, flags, expected_pid, in test_clone3_set_tid()
40 call_clone3_set_tid(pid_t *set_tid, size_t set_tid_size, int flags, int expected_pid, bool wait_for_it) call_clone3_set_tid() argument
119 test_clone3_set_tid(pid_t *set_tid, size_t set_tid_size, int flags, int expected, int expected_pid, bool wait_for_it) test_clone3_set_tid() argument
H A Dclone3_selftests.h39 __aligned_u64 set_tid_size; member
/kernel/linux/linux-5.10/kernel/
H A Dpid.c160 size_t set_tid_size) in alloc_pid()
170 * set_tid_size contains the size of the set_tid array. Starting at in alloc_pid()
173 * up to set_tid_size PID namespaces. It does not have to set the PID in alloc_pid()
174 * for a process in all nested PID namespaces but set_tid_size must in alloc_pid()
177 if (set_tid_size > ns->level + 1) in alloc_pid()
190 if (set_tid_size) { in alloc_pid()
205 set_tid_size--; in alloc_pid()
159 alloc_pid(struct pid_namespace *ns, pid_t *set_tid, size_t set_tid_size) alloc_pid() argument
H A Dfork.c2166 args->set_tid_size); in copy_process()
2664 BUILD_BUG_ON(offsetofend(struct clone_args, set_tid_size) != in copy_clone_args_from_user()
2679 if (unlikely(args.set_tid_size > MAX_PID_NS_LEVEL)) in copy_clone_args_from_user()
2682 if (unlikely(!args.set_tid && args.set_tid_size > 0)) in copy_clone_args_from_user()
2685 if (unlikely(args.set_tid && args.set_tid_size == 0)) in copy_clone_args_from_user()
2709 .set_tid_size = args.set_tid_size, in copy_clone_args_from_user()
2715 (kargs->set_tid_size * sizeof(pid_t)))) in copy_clone_args_from_user()
/kernel/linux/linux-6.6/kernel/
H A Dpid.c163 size_t set_tid_size) in alloc_pid()
173 * set_tid_size contains the size of the set_tid array. Starting at in alloc_pid()
176 * up to set_tid_size PID namespaces. It does not have to set the PID in alloc_pid()
177 * for a process in all nested PID namespaces but set_tid_size must in alloc_pid()
180 if (set_tid_size > ns->level + 1) in alloc_pid()
193 if (set_tid_size) { in alloc_pid()
208 set_tid_size--; in alloc_pid()
162 alloc_pid(struct pid_namespace *ns, pid_t *set_tid, size_t set_tid_size) alloc_pid() argument
H A Dfork.c2532 args->set_tid_size); in copy_process()
3084 BUILD_BUG_ON(offsetofend(struct clone_args, set_tid_size) != in copy_clone_args_from_user()
3099 if (unlikely(args.set_tid_size > MAX_PID_NS_LEVEL)) in copy_clone_args_from_user()
3102 if (unlikely(!args.set_tid && args.set_tid_size > 0)) in copy_clone_args_from_user()
3105 if (unlikely(args.set_tid && args.set_tid_size == 0)) in copy_clone_args_from_user()
3129 .set_tid_size = args.set_tid_size, in copy_clone_args_from_user()
3135 (kargs->set_tid_size * sizeof(pid_t)))) in copy_clone_args_from_user()
/kernel/linux/linux-5.10/tools/include/uapi/linux/
H A Dsched.h72 * of the array is defined using @set_tid_size.
82 * @set_tid_size: This defines the size of the array referenced
102 __aligned_u64 set_tid_size; member
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dsched.h72 * of the array is defined using @set_tid_size.
82 * @set_tid_size: This defines the size of the array referenced
102 __aligned_u64 set_tid_size; member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dsched.h72 * of the array is defined using @set_tid_size.
82 * @set_tid_size: This defines the size of the array referenced
102 __aligned_u64 set_tid_size; member
/kernel/linux/linux-6.6/tools/include/uapi/linux/
H A Dsched.h72 * of the array is defined using @set_tid_size.
82 * @set_tid_size: This defines the size of the array referenced
102 __aligned_u64 set_tid_size; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dsched.h61 __aligned_u64 set_tid_size; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dsched.h61 __aligned_u64 set_tid_size; member
/kernel/linux/linux-5.10/include/linux/
H A Dpid.h135 size_t set_tid_size);
/kernel/linux/linux-5.10/include/linux/sched/
H A Dtask.h32 size_t set_tid_size; member
/kernel/linux/linux-6.6/include/linux/
H A Dpid.h138 size_t set_tid_size);
/kernel/linux/linux-6.6/include/linux/sched/
H A Dtask.h37 size_t set_tid_size; member

Completed in 16 milliseconds