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

/bionic/libc/arch-mips/bionic/
H A D__bionic_clone.S46 # remainder of arguments are correct for clone system call
/bionic/libc/bionic/
H A Dclone.cpp45 int clone(int (*fn)(void*), void* child_stack, int flags, void* arg, ...) { function
69 // Remember the parent pid and invalidate the cached value while we clone.
73 // Actually do the clone.
79 // 2. fork makes a clone system call directly.
H A Dpthread_create.cpp257 int rc = clone(__pthread_start, child_stack, flags, thread, &(thread->tid), tls, &(thread->tid));
260 // We don't have to unlock the mutex at all because clone(2) failed so there's no child waiting to
267 __libc_format_log(ANDROID_LOG_WARN, "libc", "pthread_create failed: clone failed: %s", strerror(errno));
/bionic/libc/arch-mips64/bionic/
H A D__bionic_clone.S64 # 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.
58 ASSERT_EQ(-1, clone(NULL, &fake_child_stack[16], CLONE_THREAD, NULL));
H A Dunistd_test.cpp453 int clone_result = clone(GetPidCachingCloneStartRoutine, &child_stack[1024], CLONE_NEWNS | SIGCHLD, NULL);
/bionic/libc/kernel/uapi/scsi/
H A Dcxlflash_ioctl.h145 struct dk_cxlflash_clone clone; member in union:cxlflash_ioctls
/bionic/libc/include/
H A Dsched.h55 extern int clone(int (*)(void*), void*, int, void*, ...);
/bionic/libc/kernel/tools/
H A Dgenerate_uapi_headers.sh190 git clone https://android.googlesource.com/kernel/common.git
/bionic/libc/
H A DAndroid.mk118 bionic/clone.cpp \

Completed in 883 milliseconds