Home
last modified time | relevance | path

Searched refs:parent_tid (Results 1 – 5 of 5) sorted by relevance

/bionic/libc/bionic/
Dclone.cpp40 extern "C" pid_t __bionic_clone(uint32_t flags, void* child_stack, int* parent_tid, void* tls, int*…
59 int* parent_tid = nullptr; in clone() local
72 parent_tid = va_arg(args, int*); in clone()
103 clone_result = __bionic_clone(flags, child_stack, parent_tid, new_tls, child_tid, fn, arg); in clone()
106 clone_result = syscall(__NR_clone, flags, child_stack, parent_tid, child_tid, new_tls); in clone()
108 clone_result = syscall(__NR_clone, flags, child_stack, parent_tid, new_tls, child_tid); in clone()
/bionic/tests/
Dunistd_test.cpp525 pid_t parent_tid = GetTidForTest(); in TestGetTidCachingWithFork() local
526 ASSERT_EQ(syscall(__NR_gettid), parent_tid); in TestGetTidCachingWithFork()
539 ASSERT_EQ(parent_tid, GetTidForTest()); in TestGetTidCachingWithFork()
570 pid_t parent_tid = GetTidForTest(); in CloneAndSetTid() local
578 EXPECT_NE(child_tid, parent_tid); in CloneAndSetTid()
581 EXPECT_NE(child_tid, parent_tid); in CloneAndSetTid()
582 EXPECT_EQ(GetTidForTest(), parent_tid); in CloneAndSetTid()
621 pid_t parent_tid = GetTidForTest(); in TEST() local
622 ASSERT_EQ(syscall(__NR_gettid), parent_tid); in TEST()
627 ASSERT_EQ(parent_tid, GetTidForTest()); in TEST()
[all …]
/bionic/libc/kernel/uapi/linux/
Dsched.h55 __aligned_u64 parent_tid; member
Di2o-dev.h145 __u32 parent_tid : 12; member
176 __u32 parent_tid : 12; member
/bionic/libc/arch-x86/bionic/
D__bionic_clone.S18 movl 24(%esp), %edx # parent_tid