/external/libchrome/sandbox/linux/services/ |
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/valgrind/coregrind/m_syswrap/ |
syswrap-amd64-linux.c | 207 ThreadId ctid = VG_(alloc_ThreadState)(); local 209 ThreadState* ctst = VG_(get_ThreadState)(ctid); 218 vg_assert(VG_(is_valid_tid)(ctid)); 220 stack = (UWord*)ML_(allocstack)(ctid); 271 VG_TRACK ( pre_thread_ll_create, ptid, ctid ); 286 ML_(start_thread_NORETURN), stack, flags, &VG_(threads)[ctid], 299 VG_TRACK( pre_thread_ll_exit, ctid ); [all...] |
syswrap-arm-linux.c | 152 static void assign_guest_tls(ThreadId ctid, Addr tlsptr); 171 ThreadId ctid = VG_(alloc_ThreadState)(); local 173 ThreadState* ctst = VG_(get_ThreadState)(ctid); 182 vg_assert(VG_(is_valid_tid)(ctid)); 184 stack = (UWord*)ML_(allocstack)(ctid); 216 VG_TRACK ( pre_thread_ll_create, ptid, ctid ); 220 assign_guest_tls(ctid, child_tls); 228 ML_(start_thread_NORETURN), stack, flags, &VG_(threads)[ctid], 241 VG_TRACK( pre_thread_ll_exit, ctid ); [all...] |
syswrap-arm64-linux.c | 196 static void assign_guest_tls(ThreadId ctid, Addr tlsptr); 216 ThreadId ctid = VG_(alloc_ThreadState)(); local 218 ThreadState* ctst = VG_(get_ThreadState)(ctid); 227 vg_assert(VG_(is_valid_tid)(ctid)); 229 stack = (UWord*)ML_(allocstack)(ctid); 280 VG_TRACK ( pre_thread_ll_create, ptid, ctid ); 284 assign_guest_tls(ctid, child_tls); 293 ML_(start_thread_NORETURN), stack, flags, &VG_(threads)[ctid], 307 VG_TRACK( pre_thread_ll_exit, ctid ); [all...] |
syswrap-ppc32-linux.c | 240 ThreadId ctid = VG_(alloc_ThreadState)(); local 242 ThreadState* ctst = VG_(get_ThreadState)(ctid); 251 vg_assert(VG_(is_valid_tid)(ctid)); 253 stack = (UWord*)ML_(allocstack)(ctid); 317 VG_TRACK ( pre_thread_ll_create, ptid, ctid ); 332 ML_(start_thread_NORETURN), stack, flags, &VG_(threads)[ctid], 351 VG_TRACK( pre_thread_ll_exit, ctid ); [all...] |
syswrap-ppc64-linux.c | 390 ThreadId ctid = VG_(alloc_ThreadState)(); local 392 ThreadState* ctst = VG_(get_ThreadState)(ctid); 401 vg_assert(VG_(is_valid_tid)(ctid)); 403 stack = (UWord*)ML_(allocstack)(ctid); 467 VG_TRACK ( pre_thread_ll_create, ptid, ctid ); 483 stack, flags, &VG_(threads)[ctid], 503 VG_TRACK( pre_thread_ll_exit, ctid ); [all...] |
syswrap-tilegx-linux.c | 335 ThreadId ctid = VG_ (alloc_ThreadState) (); local 337 ThreadState * ctst = VG_ (get_ThreadState) (ctid); 345 vg_assert (VG_ (is_valid_tid) (ctid)); 346 stack = (Long *) ML_ (allocstack) (ctid); 376 VG_TRACK (pre_thread_ll_create, ptid, ctid); 381 res = sys_set_tls(ctid, child_tls); 390 stack, flags, &VG_ (threads)[ctid], 406 VG_TRACK (pre_thread_ll_exit, ctid); [all...] |
syswrap-mips32-linux.c | 244 ThreadId ctid = VG_ (alloc_ThreadState) (); local 246 ThreadState * ctst = VG_ (get_ThreadState) (ctid); 254 vg_assert (VG_ (is_valid_tid) (ctid)); 255 stack = (UWord *) ML_ (allocstack) (ctid); 286 VG_TRACK (pre_thread_ll_create, ptid, ctid); 291 res = sys_set_tls(ctid, child_tls); 301 stack, flags, &VG_ (threads)[ctid], 318 VG_TRACK (pre_thread_ll_exit, ctid); [all...] |
syswrap-mips64-linux.c | 201 ThreadId ctid = VG_ (alloc_ThreadState) (); local 203 ThreadState * ctst = VG_ (get_ThreadState) (ctid); 211 vg_assert(VG_(is_valid_tid)(ctid)); 212 stack = (UWord *)ML_(allocstack)(ctid); 233 VG_TRACK(pre_thread_ll_create, ptid, ctid); 237 res = sys_set_tls(ctid, child_tls); 247 stack, flags, &VG_(threads)[ctid], 261 VG_TRACK (pre_thread_ll_exit, ctid); [all...] |
syswrap-s390x-linux.c | 213 ThreadId ctid = VG_(alloc_ThreadState)(); local 215 ThreadState* ctst = VG_(get_ThreadState)(ctid); 224 vg_assert(VG_(is_valid_tid)(ctid)); 226 stack = (UWord*)ML_(allocstack)(ctid); 269 VG_TRACK ( pre_thread_ll_create, ptid, ctid ); 285 ML_(start_thread_NORETURN), &VG_(threads)[ctid]); 296 VG_TRACK( pre_thread_ll_exit, ctid ); [all...] |
syswrap-x86-linux.c | 214 ThreadId ctid = VG_(alloc_ThreadState)(); local 216 ThreadState* ctst = VG_(get_ThreadState)(ctid); 225 vg_assert(VG_(is_valid_tid)(ctid)); 227 stack = (UWord*)ML_(allocstack)(ctid); 285 VG_TRACK ( pre_thread_ll_create, ptid, ctid ); 295 res = sys_set_thread_area(ctid, tlsinfo); 307 ML_(start_thread_NORETURN), stack, flags, &VG_(threads)[ctid], 320 VG_TRACK( pre_thread_ll_exit, ctid ); [all...] |
syswrap-solaris.c | 6594 ThreadId ctid; local [all...] |
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/ |
baseline_policy_unittest.cc | 118 static pid_t ctid; local 120 nullptr, &ctid, nullptr);
|