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/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/tests/
Dunistd_test.cpp522 pid_t parent_tid = GetTidForTest(); in TestGetTidCachingWithFork() local
523 ASSERT_EQ(syscall(__NR_gettid), parent_tid); in TestGetTidCachingWithFork()
536 ASSERT_EQ(parent_tid, GetTidForTest()); in TestGetTidCachingWithFork()
567 pid_t parent_tid = GetTidForTest(); in CloneAndSetTid() local
575 EXPECT_NE(child_tid, parent_tid); in CloneAndSetTid()
578 EXPECT_NE(child_tid, parent_tid); in CloneAndSetTid()
579 EXPECT_EQ(GetTidForTest(), parent_tid); in CloneAndSetTid()
617 pid_t parent_tid = GetTidForTest(); in TEST() local
618 ASSERT_EQ(syscall(__NR_gettid), parent_tid); in TEST()
623 ASSERT_EQ(parent_tid, GetTidForTest()); in TEST()
[all …]
/bionic/libc/arch-x86/bionic/
D__bionic_clone.S18 movl 24(%esp), %edx # parent_tid