Searched defs:ctid (Results 1 - 5 of 5) sorted by relevance
/external/ltp/lib/ |
H A D | cloner.c | 54 # define clone(fn, stack, flags, arg, ptid, tls, ctid) \ 66 size_t stack_size, void *stack, pid_t *ptid, void *tls, pid_t *ctid) 71 ret = __clone2(fn, stack, stack_size, flags, arg, ptid, tls, ctid); 87 ret = clone(fn, stack, flags, arg, ptid, tls, ctid); 102 pid_t *ptid, *ctid; local 109 ctid = va_arg(arg_clone, pid_t *); 113 return ltp_clone_(flags, fn, arg, stack_size, stack, ptid, tls, ctid); 65 ltp_clone_(unsigned long flags, int (*fn)(void *arg), void *arg, size_t stack_size, void *stack, pid_t *ptid, void *tls, pid_t *ctid) argument
|
/external/ltp/testcases/kernel/syscalls/clone/ |
H A D | clone08.c | 30 static pid_t ptid, ctid, tgid; variable 98 child_stack, &ptid, NULL, &ctid)); 142 if (ctid == tst_syscall(__NR_getpid)) 143 tst_res(TPASS, "clone() correctly set ctid"); 145 tst_res(TFAIL, "ctid != getpid() (%d != %d)", ctid, getpid()); 203 ctid = -1; 207 if (syscall(SYS_futex, &ctid, FUTEX_WAIT, -1, &timeout)) { 211 * ctid has been already changed by clone() 212 * before we make the call. As long as ctid [all...] |
/external/libchrome/base/process/ |
H A D | launch_posix.cc | 352 // We specify a null ptid and ctid. 715 pid_t* ctid, 730 return clone(&CloneHelper, stack, flags, env, ptid, nullptr, ctid); 735 pid_t ForkWithFlags(unsigned long flags, pid_t* ptid, pid_t* ctid) { argument 738 (flags & (CLONE_CHILD_SETTID | CLONE_CHILD_CLEARTID)) && !ctid; 756 return syscall(__NR_clone, flags, nullptr, ptid, ctid, nullptr); 760 return syscall(__NR_clone, flags, nullptr, ptid, nullptr, ctid); 768 return CloneAndLongjmpInChild(flags, ptid, ctid, &env); 713 CloneAndLongjmpInChild(unsigned long flags, pid_t* ptid, pid_t* ctid, jmp_buf* env) argument
|
/external/valgrind/coregrind/m_syswrap/ |
H A D | syswrap-linux.c | 542 static SysRes setup_child_tls (ThreadId ctid, Addr tlsaddr) argument 545 ThreadState* ctst = VG_(get_ThreadState)(ctid); 561 res = ML_(x86_sys_set_thread_area)(ctid, tlsinfo); 605 ThreadId ctid = VG_(alloc_ThreadState)(); local 607 ThreadState* ctst = VG_(get_ThreadState)(ctid); 615 vg_assert(VG_(is_valid_tid)(ctid)); 617 stack = (UWord*)ML_(allocstack)(ctid); 638 VG_(set_SP)(ctid, sp); 667 VG_TRACK ( pre_thread_ll_create, ptid, ctid ); 670 res = setup_child_tls(ctid, tlsadd [all...] |
H A D | syswrap-solaris.c | 6998 ThreadId ctid; local 7019 ctid = VG_(alloc_ThreadState)(); 7021 ctst = VG_(get_ThreadState)(ctid); 7025 vg_assert(VG_(is_valid_tid)(ctid)); 7027 stack = ML_(allocstack)(ctid); 7053 VG_TRACK(pre_thread_ll_create, tid, ctid); 7067 VG_(restore_context)(ctid, (vki_ucontext_t*)ARG1, Vg_CoreSysCall, 7072 ML_(setup_start_thread_context)(ctid, &uc); 7088 VG_TRACK(pre_thread_ll_exit, ctid);
|
Completed in 262 milliseconds