/external/llvm-project/openmp/runtime/test/affinity/format/ |
D | fields_modifiers.c | 44 char ctid = '0' + (char)tid; in check_thread_num_padded_rjustified() local 49 check(s[j] == ctid); in check_thread_num_padded_rjustified() 63 char ctid = '0' + (char)tid; in check_thread_num_rjustified() local 68 check(s[j] == ctid); in check_thread_num_rjustified() 82 char ctid = '0' + (char)tid; in check_thread_num_ljustified() local 84 check(s[0] == ctid); in check_thread_num_ljustified() 101 char ctid = '0' + (char)tid; in check_thread_num_padded_ljustified() local 103 check(s[0] == ctid); in check_thread_num_padded_ljustified()
|
/external/ltp/testcases/kernel/syscalls/clone/ |
D | clone08.c | 20 static pid_t ptid, ctid, tgid; variable 88 child_stack, &ptid, NULL, &ctid)); in clone_child() 132 if (ctid == tst_syscall(__NR_getpid)) in child_clone_child_settid() 135 tst_res(TFAIL, "ctid != getpid() (%d != %d)", ctid, getpid()); in child_clone_child_settid() 193 ctid = -1; in test_clone_thread() 197 if (syscall(SYS_futex, &ctid, FUTEX_WAIT, -1, &timeout)) { in test_clone_thread() 206 if (errno != EWOULDBLOCK || ctid == -1) { in test_clone_thread() 208 "futex failed, ctid: %d", ctid); in test_clone_thread() 212 tst_res(TPASS, "futex exit on ctid change, ctid: %d", ctid); in test_clone_thread()
|
/external/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()
|
/external/openssh/openbsd-compat/ |
D | port-solaris.c | 50 ctid_t ctid = -1; in get_active_process_contract_id() local 63 if ((ctid = ct_status_get_id(stathdl)) < 0) { in get_active_process_contract_id() 72 return ctid; in get_active_process_contract_id() 142 ctid_t ctid; in solaris_contract_post_fork_parent() local 168 ctid = get_active_process_contract_id(); in solaris_contract_post_fork_parent() 170 debug2("%s: abandoning contract id %ld", __func__, ctid); in solaris_contract_post_fork_parent() 173 CTFS_ROOT "/process/%ld/ctl", ctid); in solaris_contract_post_fork_parent()
|
/external/libchrome/base/process/ |
D | launch_posix.cc | 721 pid_t* ctid, in CloneAndLongjmpInChild() argument 737 return clone(&CloneHelper, stack, flags, env, ptid, nullptr, ctid); in CloneAndLongjmpInChild() 742 pid_t ForkWithFlags(unsigned long flags, pid_t* ptid, pid_t* ctid) { in ForkWithFlags() argument 745 (flags & (CLONE_CHILD_SETTID | CLONE_CHILD_CLEARTID)) && !ctid; in ForkWithFlags() 757 return CloneAndLongjmpInChild(flags, ptid, ctid, &env); in ForkWithFlags()
|
D | launch.h | 391 BASE_EXPORT pid_t ForkWithFlags(unsigned long flags, pid_t* ptid, pid_t* ctid);
|
D | process_util_unittest.cc | 1327 pid_t ctid = 0; in TEST() local 1328 const pid_t pid = ForkWithFlags(SIGCHLD | CLONE_CHILD_SETTID, nullptr, &ctid); in TEST() 1332 RAW_CHECK(syscall(__NR_getpid) == ctid); in TEST() 1333 RAW_CHECK(getpid() == ctid); in TEST()
|
/external/bcc/tools/ |
D | deadlock_detector.c | 184 void *ptid, void *ctid, struct pt_regs *regs) { in trace_clone() argument
|