/external/compiler-rt/test/lsan/TestCases/ |
H A D | swapcontext.cc | 20 int child_stack; local 21 printf("Child: %p\n", &child_stack); 28 char *child_stack = (argc > 1) ? stack_memory : heap_memory; local 30 printf("Child stack: %p\n", child_stack); 34 child_context.uc_stack.ss_sp = child_stack;
|
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_linux_s390.cc | 58 uptr internal_clone(int (*fn)(void *), void *child_stack, int flags, void *arg, argument 60 if (!fn || !child_stack) 62 CHECK_EQ(0, (uptr)child_stack % 16); 65 child_stack = (char *)child_stack - 160; 67 child_stack = (char *)child_stack - 96; 70 ((unsigned long *)child_stack)[0] = 0; 72 ((unsigned long *)child_stack)[1] = (uptr)fn; 73 ((unsigned long *)child_stack)[ [all...] |
H A D | sanitizer_linux.cc | 914 uptr internal_clone(int (*fn)(void *), void *child_stack, int flags, void *arg, argument 917 if (!fn || !child_stack) 919 CHECK_EQ(0, (uptr)child_stack % 16); 920 child_stack = (char *)child_stack - 2 * sizeof(unsigned long long); 921 ((unsigned long long *)child_stack)[0] = (uptr)fn; 922 ((unsigned long long *)child_stack)[1] = (uptr)arg; 928 * %rsi = child_stack, 961 "S"(child_stack), 970 uptr internal_clone(int (*fn)(void *), void *child_stack, in argument 1046 internal_clone(int (*fn)(void *), void *child_stack, int flags, void *arg, int *parent_tidptr, void *newtls, int *child_tidptr) argument 1097 internal_clone(int (*fn)(void *), void *child_stack, int flags, void *arg, int *parent_tidptr, void *newtls, int *child_tidptr) argument [all...] |
H A D | sanitizer_linux.h | 52 uptr internal_clone(int (*fn)(void *), void *child_stack, int flags, void *arg,
|
/external/ltp/testcases/kernel/syscalls/clone/ |
H A D | clone01.c | 44 void *child_stack; local 51 child_stack = malloc(CHILD_STACK_SIZE); 52 if (child_stack == NULL) 57 TEST(ltp_clone(SIGCHLD, do_child, NULL, CHILD_STACK_SIZE, child_stack)); 72 free(child_stack);
|
H A D | clone04.c | 39 static void *child_stack; variable 43 void **child_stack; member in struct:test_case_t 66 if (test_cases[ind].child_stack == NULL) { 68 } else if (*test_cases[ind].child_stack == NULL) { 73 test_stack = child_stack; 102 child_stack = malloc(CHILD_STACK_SIZE); 107 free(child_stack);
|
H A D | clone03.c | 60 void *child_stack; local 69 child_stack = malloc(CHILD_STACK_SIZE); 70 if (child_stack == NULL) 80 child_stack)); 112 free(child_stack);
|
H A D | clone05.c | 46 void *child_stack; local 52 child_stack = malloc(CHILD_STACK_SIZE); 53 if (child_stack == NULL) 60 CHILD_STACK_SIZE, child_stack)); 74 free(child_stack);
|
H A D | clone07.c | 51 void *child_stack; local 59 child_stack = malloc(CHILD_STACK_SIZE); 60 if (child_stack == NULL) 65 CHILD_STACK_SIZE, child_stack); 74 free(child_stack);
|
H A D | clone06.c | 50 void *child_stack; local 58 child_stack = malloc(CHILD_STACK_SIZE); 59 if (child_stack == NULL) 69 child_stack)); 99 free(child_stack);
|
H A D | clone02.c | 117 void *child_stack; local 124 child_stack = malloc(CHILD_STACK_SIZE); 125 if (child_stack == NULL) 140 CHILD_STACK_SIZE, child_stack)); 179 free(child_stack);
|
H A D | clone08.c | 29 static void *child_stack; variable 108 child_stack = SAFE_MALLOC(cleanup, CHILD_STACK_SIZE); 113 free(child_stack); 121 child_stack, &ptid, NULL, &ctid));
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
H A D | clone_test.cc | 25 char __attribute__((aligned(16))) child_stack[kStackSize + 1]; local 26 char *sp = child_stack + kStackSize; // Stack grows down. 38 child_stack[i] = i; 39 int ret = child_stack[argc - 1];
|
H A D | swapcontext_test.cc | 49 int Run(int arg, int mode, char *child_stack) { argument 50 printf("Child stack: %p\n", child_stack); 53 child_context.uc_stack.ss_sp = child_stack; 65 child_stack[i] = i; 67 return child_stack[arg];
|
H A D | swapcontext_annotation.cc | 97 int Run(int arg, int mode, char *child_stack) { argument 98 printf("Child stack: %p\n", child_stack); 101 child_context.uc_stack.ss_sp = child_stack; 121 child_stack[i] = i; 123 return child_stack[arg];
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
H A D | 15-1.c | 111 int *child_stack; local 122 ret = pthread_create(&gchild, NULL, teststack, &child_stack); 138 output("Child location: %p\n", child_stack); 141 if ((((long)scenarii[sc].bottom) < ((long)child_stack)) 142 && (((long)child_stack) <
|
/external/valgrind/none/tests/linux/ |
H A D | clonev.c | 27 void *child_stack = mmap( local 30 if (NULL == child_stack) { 36 if (-1 == mprotect((char *)child_stack, page_size, PROT_NONE)) { 41 if (-1 == mprotect((char *)child_stack + page_size + stack_size, 47 void *stack_start = (char *)child_stack + page_size + stack_size;
|
/external/ltp/testcases/kernel/syscalls/setns/ |
H A D | setns02.c | 139 void *child_stack; local 142 child_stack = malloc(CHILD_STACK_SIZE); 143 if (child_stack == NULL) 149 CHILD_STACK_SIZE, child_stack); 159 free(child_stack);
|
/external/strace/tests/ |
H A D | ioctl_nsfs.c | 108 # define clone(fn, child_stack, flags, arg) \ 109 __clone2(fn, child_stack, get_page_size() / 2, flags, arg)
|
/external/strace/tests-m32/ |
H A D | ioctl_nsfs.c | 108 # define clone(fn, child_stack, flags, arg) \ 109 __clone2(fn, child_stack, get_page_size() / 2, flags, arg)
|
/external/strace/tests-mx32/ |
H A D | ioctl_nsfs.c | 108 # define clone(fn, child_stack, flags, arg) \ 109 __clone2(fn, child_stack, get_page_size() / 2, flags, arg)
|
/external/libchrome/sandbox/linux/services/ |
H A D | syscall_wrappers.h | 33 // |regs| is not supported and must be passed as nullptr. |child_stack| must be 37 std::nullptr_t child_stack,
|
H A D | syscall_wrappers.cc | 36 std::nullptr_t child_stack, 56 return syscall(__NR_clone, flags, child_stack, ptid, ctid, tls); 60 return syscall(__NR_clone, flags, child_stack, ptid, tls, ctid); 35 sys_clone(unsigned long flags, std::nullptr_t child_stack, pid_t* ptid, pid_t* ctid, std::nullptr_t tls) argument
|
/external/google-breakpad/src/third_party/lss/ |
H A D | linux_syscall_support.h | 1745 LSS_INLINE int LSS_NAME(clone)(int (*fn)(void *), void *child_stack, argument 1755 /* if (child_stack == NULL) 1762 * child_stack = (child_stack & ~0xF) - 20; 1777 * %ecx = child_stack, 1826 "m"(fn), "m"(child_stack), "m"(flags), "m"(arg), 2066 LSS_INLINE int LSS_NAME(clone)(int (*fn)(void *), void *child_stack, argument 2077 /* if (child_stack == NULL) 2095 * %rsi = child_stack, 2133 "S"(LSS_SYSCALL_ARG(child_stack)), 2234 clone(int (*fn)(void *), void *child_stack, int flags, void *arg, int *parent_tidptr, void *newtls, int *child_tidptr) argument 2360 clone(int (*fn)(void *), void *child_stack, int flags, void *arg, int *parent_tidptr, void *newtls, int *child_tidptr) argument 2516 clone(int (*fn)(void *), void *child_stack, int flags, void *arg, int *parent_tidptr, void *newtls, int *child_tidptr) argument 2695 clone(int (*fn)(void *), void *child_stack, int flags, void *arg, int *parent_tidptr, void *newtls, int *child_tidptr) argument 2903 clone(int (*fn)(void *), void *child_stack, int flags, void *arg, int *parent_tidptr, void *newtls, int *child_tidptr) argument 4003 void *child_stack = NULL; local [all...] |
/external/valgrind/memcheck/tests/arm64-linux/ |
H A D | scalar.stderr.exp | 784 Syscall param clone(child_stack) contains uninitialised byte(s)
|