Searched refs:set_tid (Results 1 – 9 of 9) sorted by relevance
/linux-5.19.10/tools/testing/selftests/clone3/ |
D | clone3_set_tid.c | 40 static int call_clone3_set_tid(pid_t *set_tid, in call_clone3_set_tid() argument 52 .set_tid = ptr_to_u64(set_tid), in call_clone3_set_tid() 69 getpid(), set_tid[0]); in call_clone3_set_tid() 93 if (set_tid[0] != getpid()) in call_clone3_set_tid() 119 static void test_clone3_set_tid(pid_t *set_tid, in test_clone3_set_tid() argument 130 getpid(), set_tid[0], flags); in test_clone3_set_tid() 131 ret = call_clone3_set_tid(set_tid, set_tid_size, flags, expected_pid, in test_clone3_set_tid() 135 getpid(), set_tid[0], ret, expected); in test_clone3_set_tid() 157 pid_t set_tid[MAX_PID_NS_LEVEL * 2]; in main() local 176 memset(&set_tid, 0, sizeof(set_tid)); in main() [all …]
|
D | clone3_cap_checkpoint_restore.c | 42 pid_t *set_tid, size_t set_tid_size) in call_clone3_set_tid() argument 49 .set_tid = ptr_to_u64(set_tid), in call_clone3_set_tid() 63 TH_LOG("I am the child, my PID is %d (expected %d)", getpid(), set_tid[0]); in call_clone3_set_tid() 65 if (set_tid[0] != getpid()) in call_clone3_set_tid() 84 pid_t *set_tid, size_t set_tid_size) in test_clone3_set_tid() argument 88 TH_LOG("[%d] Trying clone3() with CLONE_SET_TID to %d", getpid(), set_tid[0]); in test_clone3_set_tid() 89 ret = call_clone3_set_tid(_metadata, set_tid, set_tid_size); in test_clone3_set_tid() 90 TH_LOG("[%d] clone3() with CLONE_SET_TID %d says:%d", getpid(), set_tid[0], ret); in test_clone3_set_tid() 143 pid_t set_tid[1]; in TEST() local 150 memset(&set_tid, 0, sizeof(set_tid)); in TEST() [all …]
|
D | clone3_selftests.h | 38 __aligned_u64 set_tid; member
|
/linux-5.19.10/tools/include/uapi/linux/ |
D | sched.h | 101 __aligned_u64 set_tid; member
|
/linux-5.19.10/include/uapi/linux/ |
D | sched.h | 101 __aligned_u64 set_tid; member
|
/linux-5.19.10/include/linux/sched/ |
D | task.h | 30 pid_t *set_tid; member
|
/linux-5.19.10/kernel/ |
D | fork.c | 2257 pid = alloc_pid(p->nsproxy->pid_ns_for_children, args->set_tid, in copy_process() 2802 pid_t *kset_tid = kargs->set_tid; in copy_clone_args_from_user() 2824 if (unlikely(!args.set_tid && args.set_tid_size > 0)) in copy_clone_args_from_user() 2827 if (unlikely(args.set_tid && args.set_tid_size == 0)) in copy_clone_args_from_user() 2855 if (args.set_tid && in copy_clone_args_from_user() 2856 copy_from_user(kset_tid, u64_to_user_ptr(args.set_tid), in copy_clone_args_from_user() 2860 kargs->set_tid = kset_tid; in copy_clone_args_from_user() 2937 pid_t set_tid[MAX_PID_NS_LEVEL]; in SYSCALL_DEFINE2() local 2939 kargs.set_tid = set_tid; in SYSCALL_DEFINE2()
|
D | pid.c | 159 struct pid *alloc_pid(struct pid_namespace *ns, pid_t *set_tid, in alloc_pid() argument 191 tid = set_tid[ns->level - i]; in alloc_pid()
|
/linux-5.19.10/include/linux/ |
D | pid.h | 136 extern struct pid *alloc_pid(struct pid_namespace *ns, pid_t *set_tid,
|