Searched refs:set_tid (Results 1 - 9 of 9) sorted by relevance
/linux-master/tools/testing/selftests/clone3/ |
H A D | clone3_set_tid.c | 38 static int call_clone3_set_tid(pid_t *set_tid, argument 50 .set_tid = ptr_to_u64(set_tid), 67 getpid(), set_tid[0]); 91 if (set_tid[0] != getpid()) 117 static void test_clone3_set_tid(pid_t *set_tid, argument 128 getpid(), set_tid[0], flags); 129 ret = call_clone3_set_tid(set_tid, set_tid_size, flags, expected_pid, 133 getpid(), set_tid[0], ret, expected); 155 pid_t set_tid[MAX_PID_NS_LEVE local [all...] |
H A D | clone3_cap_checkpoint_restore.c | 40 pid_t *set_tid, size_t set_tid_size) 47 .set_tid = ptr_to_u64(set_tid), 61 TH_LOG("I am the child, my PID is %d (expected %d)", getpid(), set_tid[0]); 63 if (set_tid[0] != getpid()) 82 pid_t *set_tid, size_t set_tid_size) 86 TH_LOG("[%d] Trying clone3() with CLONE_SET_TID to %d", getpid(), set_tid[0]); 87 ret = call_clone3_set_tid(_metadata, set_tid, set_tid_size); 88 TH_LOG("[%d] clone3() with CLONE_SET_TID %d says:%d", getpid(), set_tid[0], ret); 141 pid_t set_tid[ local 39 call_clone3_set_tid(struct __test_metadata *_metadata, pid_t *set_tid, size_t set_tid_size) argument 81 test_clone3_set_tid(struct __test_metadata *_metadata, pid_t *set_tid, size_t set_tid_size) argument [all...] |
H A D | clone3_selftests.h | 31 __aligned_u64 set_tid; member in struct:__clone_args
|
/linux-master/include/uapi/linux/ |
H A D | sched.h | 71 * @set_tid: Pointer to an array of type *pid_t. The size 83 * in @set_tid. This cannot be larger than the 101 __aligned_u64 set_tid; member in struct:clone_args
|
/linux-master/tools/include/uapi/linux/ |
H A D | sched.h | 71 * @set_tid: Pointer to an array of type *pid_t. The size 83 * in @set_tid. This cannot be larger than the 101 __aligned_u64 set_tid; member in struct:clone_args
|
/linux-master/include/linux/sched/ |
H A D | task.h | 37 pid_t *set_tid; member in struct:kernel_clone_args 38 /* Number of elements in *set_tid */
|
/linux-master/include/linux/ |
H A D | pid.h | 130 extern struct pid *alloc_pid(struct pid_namespace *ns, pid_t *set_tid,
|
/linux-master/kernel/ |
H A D | fork.c | 2406 pid = alloc_pid(p->nsproxy->pid_ns_for_children, args->set_tid, 2952 pid_t *kset_tid = kargs->set_tid; 2974 if (unlikely(!args.set_tid && args.set_tid_size > 0)) 2977 if (unlikely(args.set_tid && args.set_tid_size == 0)) 3005 if (args.set_tid && 3006 copy_from_user(kset_tid, u64_to_user_ptr(args.set_tid), 3010 kargs->set_tid = kset_tid; 3087 pid_t set_tid[MAX_PID_NS_LEVEL]; local 3089 kargs.set_tid = set_tid; [all...] |
H A D | pid.c | 166 struct pid *alloc_pid(struct pid_namespace *ns, pid_t *set_tid, argument 177 * set_tid_size contains the size of the set_tid array. Starting at 198 tid = set_tid[ns->level - i];
|
Completed in 157 milliseconds