Searched refs:clone (Results 1 - 13 of 13) sorted by relevance

/bionic/libc/bionic/
H A Dfork.cpp40 int result = clone(nullptr,
48 // Update the cached pid, since clone() will not set it directly (as
H A Dclone.cpp57 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 Dpthread_create.cpp312 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.S46 # remainder of arguments are correct for clone system call
/bionic/tests/
H A Dsched_test.cpp30 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 Dunistd_test.cpp505 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.S64 # remainder of arguments are correct for clone system call
/bionic/libc/kernel/tools/
H A Dgenerate_uapi_headers.sh212 git clone https://android.googlesource.com/kernel/common.git
/bionic/libc/kernel/uapi/scsi/
H A Dcxlflash_ioctl.h124 struct dk_cxlflash_clone clone; member in union:cxlflash_ioctls
/bionic/libc/versioner-dependencies/common/kernel_uapi/scsi/
H A Dcxlflash_ioctl.h124 struct dk_cxlflash_clone clone; member in union:cxlflash_ioctls
/bionic/tools/versioner/dependencies/common/kernel_uapi/scsi/
H A Dcxlflash_ioctl.h124 struct dk_cxlflash_clone clone; member in union:cxlflash_ioctls
/bionic/libc/include/
H A Dsched.h56 int clone(int (*__fn)(void*), void* __child_stack, int __flags, void* __arg, ...)
/bionic/tools/versioner/current/
H A Dsched.h56 int clone(int (*__fn)(void*), void* __child_stack, int __flags, void* __arg, ...)

Completed in 175 milliseconds