/third_party/ltp/testcases/kernel/syscalls/clone/ |
D | clone08.c | 21 static pid_t ptid, ctid, tgid; variable 89 child_stack, &ptid, NULL, &ctid)); in clone_child() 133 if (ctid == tst_syscall(__NR_getpid)) in child_clone_child_settid() 136 tst_res(TFAIL, "ctid != getpid() (%d != %d)", ctid, getpid()); in child_clone_child_settid() 194 ctid = -1; in test_clone_thread() 198 if (syscall(SYS_futex, &ctid, FUTEX_WAIT, -1, &timeout)) { in test_clone_thread() 207 if (errno != EWOULDBLOCK || ctid == -1) { in test_clone_thread() 209 "futex failed, ctid: %d", ctid); in test_clone_thread() 213 tst_res(TPASS, "futex exit on ctid change, ctid: %d", ctid); in test_clone_thread()
|
/third_party/ltp/lib/ |
D | cloner.c | 54 # define clone(fn, stack, flags, arg, ptid, tls, ctid) \ argument 66 size_t stack_size, void *stack, pid_t *ptid, void *tls, pid_t *ctid) in ltp_clone_() argument 71 ret = __clone2(fn, stack, stack_size, flags, arg, ptid, tls, ctid); in ltp_clone_() 87 ret = clone(fn, stack, flags, arg, ptid, tls, ctid); in ltp_clone_() 102 pid_t *ptid, *ctid; in ltp_clone7() local 109 ctid = va_arg(arg_clone, pid_t *); in ltp_clone7() 113 return ltp_clone_(flags, fn, arg, stack_size, stack, ptid, tls, ctid); in ltp_clone7()
|
/third_party/musl/src/linux/ |
D | clone.c | 11 pid_t *ptid, *ctid; in clone() local 17 ctid = va_arg(ap, pid_t *); in clone() 20 return __syscall_ret(__clone(func, stack, flags, arg, ptid, tls, ctid)); in clone()
|
/third_party/musl/porting/liteos_a/user/src/linux/ |
D | clone.c | 42 pid_t *ptid, *ctid; in clone() local 52 ctid = va_arg(ap, pid_t *); in clone() 75 ret = __syscall_ret(__clone(clone_func, clone_stack, flags, (void *)clone_args, ptid, tls, ctid)); in clone()
|
/third_party/musl/porting/linux/user/src/linux/ |
D | clone.c | 41 pid_t *ptid, *ctid; in clone() local 49 ctid = va_arg(ap, pid_t *); in clone() 70 ret = __syscall_ret(__clone(clone_func, stack, flags, (void *)clone_args, ptid, tls, ctid)); in clone()
|
/third_party/musl/src/thread/mips/ |
D | clone.s | 11 # Shuffle (fn,sp,fl,arg,ptid,tls,ctid) to (fl,sp,ptid,tls,ctid)
|
/third_party/musl/src/thread/riscv64/ |
D | clone.s | 1 # __clone(func, stack, flags, arg, ptid, tls, ctid) 4 # syscall(SYS_clone, flags, stack, ptid, tls, ctid)
|
/third_party/musl/src/thread/mips64/ |
D | clone.s | 12 # Shuffle (fn,sp,fl,arg,ptid,tls,ctid) to (fl,sp,ptid,tls,ctid)
|
/third_party/musl/src/thread/mipsn32/ |
D | clone.s | 12 # Shuffle (fn,sp,fl,arg,ptid,tls,ctid) to (fl,sp,ptid,tls,ctid)
|
/third_party/musl/src/thread/sh/ |
D | clone.s | 6 ! incoming: fn stack flags arg ptid tls ctid 19 mov.l @(8,r15), r7 ! r7 = ctid
|
/third_party/musl/src/thread/powerpc64/ |
D | clone.s | 6 # int clone(fn, stack, flags, arg, ptid, tls, ctid)
|
/third_party/musl/src/thread/powerpc/ |
D | clone.s | 6 # int clone(fn, stack, flags, arg, ptid, tls, ctid)
|
/third_party/musl/src/thread/s390x/ |
D | clone.s | 13 # ctid) g = *(r15+168)
|
/third_party/libfuse/util/ |
D | fusermount.c | 349 void *tls, pid_t *ctid); in clone_newns()
|
/third_party/rust/crates/libc/src/unix/solarish/ |
D | mod.rs | 1056 ctid: ::ctid_t, field 1070 ctid: ::ctid_t, field
|
/third_party/chromium/patch/ |
D | 0003-ohos-1115.patch | 2247 // child's pid in the parent and 0 in the child. |flags|, |ptid|, and |ctid| are
|