Home
last modified time | relevance | path

Searched refs:ctid (Results 1 – 16 of 16) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/clone/
Dclone08.c21 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/
Dcloner.c54 # 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/
Dclone.c11 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/
Dclone.c42 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/
Dclone.c41 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/
Dclone.s11 # Shuffle (fn,sp,fl,arg,ptid,tls,ctid) to (fl,sp,ptid,tls,ctid)
/third_party/musl/src/thread/riscv64/
Dclone.s1 # __clone(func, stack, flags, arg, ptid, tls, ctid)
4 # syscall(SYS_clone, flags, stack, ptid, tls, ctid)
/third_party/musl/src/thread/mips64/
Dclone.s12 # Shuffle (fn,sp,fl,arg,ptid,tls,ctid) to (fl,sp,ptid,tls,ctid)
/third_party/musl/src/thread/mipsn32/
Dclone.s12 # Shuffle (fn,sp,fl,arg,ptid,tls,ctid) to (fl,sp,ptid,tls,ctid)
/third_party/musl/src/thread/sh/
Dclone.s6 ! incoming: fn stack flags arg ptid tls ctid
19 mov.l @(8,r15), r7 ! r7 = ctid
/third_party/musl/src/thread/powerpc64/
Dclone.s6 # int clone(fn, stack, flags, arg, ptid, tls, ctid)
/third_party/musl/src/thread/powerpc/
Dclone.s6 # int clone(fn, stack, flags, arg, ptid, tls, ctid)
/third_party/musl/src/thread/s390x/
Dclone.s13 # ctid) g = *(r15+168)
/third_party/libfuse/util/
Dfusermount.c349 void *tls, pid_t *ctid); in clone_newns()
/third_party/rust/crates/libc/src/unix/solarish/
Dmod.rs1056 ctid: ::ctid_t, field
1070 ctid: ::ctid_t, field
/third_party/chromium/patch/
D0003-ohos-1115.patch2247 // child's pid in the parent and 0 in the child. |flags|, |ptid|, and |ctid| are