/bionic/libc/bionic/ |
H A D | fork.cpp | 40 int result = clone(nullptr, 48 // Update the cached pid, since clone() will not set it directly (as
|
H A D | clone.cpp | 57 int clone(int (*fn)(void*), void* child_stack, int flags, void* arg, ...) { function 86 // Remember the parent pid and invalidate the cached value while we clone. 90 // Remmber the caller's tid so that it can be restored in the parent after clone. 99 // Actually do the clone.
|
H A D | pthread_create.cpp | 312 int rc = clone(__pthread_start, child_stack, flags, thread, &(thread->tid), tls, &(thread->tid)); 315 // We don't have to unlock the mutex at all because clone(2) failed so there's no child waiting to 322 async_safe_format_log(ANDROID_LOG_WARN, "libc", "pthread_create failed: clone failed: %s",
|
/bionic/libc/arch-mips/bionic/ |
H A D | __bionic_clone.S | 46 # remainder of arguments are correct for clone system call
|
/bionic/tests/ |
H A D | sched_test.cpp | 30 TEST(sched, clone) { 34 pid_t tid = clone(child_fn, &child_stack[1024], CLONE_VM, &i); 45 // For glibc, any call to clone with CLONE_VM set will cause later pthread 48 TEST(sched, clone) { 55 // Check that our hand-written clone assembler sets errno correctly on failure. 59 ASSERT_EQ(-1, clone(child_fn, &fake_child_stack[16], CLONE_THREAD, NULL)); 66 ASSERT_EQ(-1, clone(child_fn, nullptr, CLONE_VM, &i));
|
H A D | unistd_test.cpp | 505 return clone(nullptr, nullptr, SIGCHLD, nullptr); 520 int rv = clone(nullptr, nullptr, CLONE_CHILD_SETTID | SIGCHLD, nullptr, nullptr, nullptr, &child_tid); 542 return clone(start_routine, &child_stack[1024], SIGCHLD, NULL);
|
/bionic/libc/arch-mips64/bionic/ |
H A D | __bionic_clone.S | 64 # remainder of arguments are correct for clone system call
|
/bionic/libc/kernel/tools/ |
H A D | generate_uapi_headers.sh | 212 git clone https://android.googlesource.com/kernel/common.git
|
/bionic/libc/kernel/uapi/scsi/ |
H A D | cxlflash_ioctl.h | 124 struct dk_cxlflash_clone clone; member in union:cxlflash_ioctls
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/scsi/ |
H A D | cxlflash_ioctl.h | 124 struct dk_cxlflash_clone clone; member in union:cxlflash_ioctls
|
/bionic/tools/versioner/dependencies/common/kernel_uapi/scsi/ |
H A D | cxlflash_ioctl.h | 124 struct dk_cxlflash_clone clone; member in union:cxlflash_ioctls
|
/bionic/libc/include/ |
H A D | sched.h | 56 int clone(int (*__fn)(void*), void* __child_stack, int __flags, void* __arg, ...)
|
/bionic/tools/versioner/current/ |
H A D | sched.h | 56 int clone(int (*__fn)(void*), void* __child_stack, int __flags, void* __arg, ...)
|