/external/libchrome/base/process/ |
H A D | launch.h | 289 // child's pid in the parent and 0 in the child. |flags|, |ptid|, and |ctid| are 303 BASE_EXPORT pid_t ForkWithFlags(unsigned long flags, pid_t* ptid, pid_t* ctid);
|
H A D | launch_posix.cc | 341 // We specify a null ptid and ctid. 693 pid_t* ctid, 708 return clone(&CloneHelper, stack, flags, env, ptid, nullptr, ctid); 713 pid_t ForkWithFlags(unsigned long flags, pid_t* ptid, pid_t* ctid) { argument 716 (flags & (CLONE_CHILD_SETTID | CLONE_CHILD_CLEARTID)) && !ctid; 734 return syscall(__NR_clone, flags, nullptr, ptid, ctid, nullptr); 738 return syscall(__NR_clone, flags, nullptr, ptid, nullptr, ctid); 746 return CloneAndLongjmpInChild(flags, ptid, ctid, &env); 691 CloneAndLongjmpInChild(unsigned long flags, pid_t* ptid, pid_t* ctid, jmp_buf* env) argument
|
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/ |
H A D | baseline_policy_unittest.cc | 118 static pid_t ctid; local 120 nullptr, &ctid, nullptr);
|
/external/libchrome/sandbox/linux/services/ |
H A D | syscall_wrappers.cc | 38 pid_t* ctid, 42 (flags & (CLONE_CHILD_SETTID | CLONE_CHILD_CLEARTID)) && !ctid; 52 if (ctid) MSAN_UNPOISON(ctid, sizeof(*ctid)); 56 return syscall(__NR_clone, flags, child_stack, ptid, ctid, tls); 60 return syscall(__NR_clone, flags, child_stack, ptid, tls, ctid); 35 sys_clone(unsigned long flags, std::nullptr_t child_stack, pid_t* ptid, pid_t* ctid, std::nullptr_t tls) argument
|
H A D | syscall_wrappers.h | 39 pid_t* ctid,
|
H A D | syscall_wrappers_unittest.cc | 47 pid_t ctid = 0; local 49 sys_clone(CLONE_CHILD_SETTID | SIGCHLD, nullptr, nullptr, &ctid, nullptr); 54 if (sys_getpid() == ctid)
|
/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 | 28 static pid_t ptid, ctid, tgid; variable 121 child_stack, &ptid, NULL, &ctid)); 209 if (ctid == ltp_syscall(__NR_getpid)) 211 printf("FAIL: ctid != getpid() (%d != %d)\n", 212 ctid, getpid());
|
/external/openssh/openbsd-compat/ |
H A D | port-solaris.c | 50 ctid_t ctid = -1; local 63 if ((ctid = ct_status_get_id(stathdl)) < 0) { 72 return ctid; 142 ctid_t ctid; local 168 ctid = get_active_process_contract_id(); 170 debug2("%s: abandoning contract id %ld", __func__, ctid); 173 CTFS_ROOT "/process/%ld/ctl", ctid);
|
/external/valgrind/callgrind/ |
H A D | callgrind_control.in | 369 $ctid = 0; 389 if ($ctid != $1) { 390 $ctid = $1; 391 push(@tids, $ctid); 392 $fcount{$ctid} = 0; 394 $fcount{$ctid}++; 395 $func{$ctid,$fcount{$ctid}} = $3; 398 if ($ctid != $1) { next; } 399 $calls{$ctid, [all...] |
/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);
|