/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_linux_s390.cc | 58 uptr internal_clone(int (*fn)(void *), void *child_stack, int flags, void *arg, in internal_clone() argument 60 if (!fn || !child_stack) in internal_clone() 62 CHECK_EQ(0, (uptr)child_stack % 16); in internal_clone() 65 child_stack = (char *)child_stack - 160; in internal_clone() 67 child_stack = (char *)child_stack - 96; in internal_clone() 70 ((unsigned long *)child_stack)[0] = 0; in internal_clone() 72 ((unsigned long *)child_stack)[1] = (uptr)fn; in internal_clone() 73 ((unsigned long *)child_stack)[2] = (uptr)arg; in internal_clone() 75 register void *__cstack __asm__("r2") = child_stack; in internal_clone()
|
D | sanitizer_linux.cc | 914 uptr internal_clone(int (*fn)(void *), void *child_stack, int flags, void *arg, in internal_clone() argument 917 if (!fn || !child_stack) in internal_clone() 919 CHECK_EQ(0, (uptr)child_stack % 16); in internal_clone() 920 child_stack = (char *)child_stack - 2 * sizeof(unsigned long long); in internal_clone() 921 ((unsigned long long *)child_stack)[0] = (uptr)fn; in internal_clone() 922 ((unsigned long long *)child_stack)[1] = (uptr)arg; in internal_clone() 961 "S"(child_stack), in internal_clone() 970 uptr internal_clone(int (*fn)(void *), void *child_stack, int flags, void *arg, in internal_clone() argument 973 if (!fn || !child_stack) in internal_clone() 975 CHECK_EQ(0, (uptr)child_stack % 16); in internal_clone() [all …]
|
/external/compiler-rt/test/lsan/TestCases/ |
D | swapcontext.cc | 20 int child_stack; in Child() local 21 printf("Child: %p\n", &child_stack); in Child() 28 char *child_stack = (argc > 1) ? stack_memory : heap_memory; in main() local 30 printf("Child stack: %p\n", child_stack); in main() 34 child_context.uc_stack.ss_sp = child_stack; in main()
|
/external/ltp/testcases/kernel/syscalls/ioctl/ |
D | ioctl_ns01.c | 29 static char *child_stack; variable 38 child_stack = ltp_alloc_stack(STACK_SIZE); in setup() 39 if (!child_stack) in setup() 45 free(child_stack); in cleanup() 79 STACK_SIZE, child_stack) == -1) in run()
|
D | ioctl_ns06.c | 29 static char *child_stack; variable 38 child_stack = ltp_alloc_stack(STACK_SIZE); in setup() 39 if (!child_stack) in setup() 45 free(child_stack); in cleanup() 59 STACK_SIZE, child_stack); in run()
|
D | ioctl_ns05.c | 28 static char *child_stack; variable 37 child_stack = ltp_alloc_stack(STACK_SIZE); in setup() 38 if (!child_stack) in setup() 44 free(child_stack); in cleanup() 60 STACK_SIZE, child_stack); in run()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
D | 15-1.c | 105 int *child_stack; in threaded() local 116 ret = pthread_create(&gchild, NULL, teststack, &child_stack); in threaded() 132 output("Child location: %p\n", child_stack); in threaded() 135 if ((((long)scenarii[sc].bottom) < ((long)child_stack)) in threaded() 136 && (((long)child_stack) < in threaded()
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
D | swapcontext_test.cc | 49 int Run(int arg, int mode, char *child_stack) { in Run() argument 50 printf("Child stack: %p\n", child_stack); in Run() 53 child_context.uc_stack.ss_sp = child_stack; in Run() 65 child_stack[i] = i; in Run() 67 return child_stack[arg]; in Run()
|
D | clone_test.cc | 25 char __attribute__((aligned(16))) child_stack[kStackSize + 1]; in main() local 26 char *sp = child_stack + kStackSize; // Stack grows down. in main() 38 child_stack[i] = i; in main() 39 int ret = child_stack[argc - 1]; in main()
|
D | swapcontext_annotation.cc | 97 int Run(int arg, int mode, char *child_stack) { in Run() argument 98 printf("Child stack: %p\n", child_stack); in Run() 101 child_context.uc_stack.ss_sp = child_stack; in Run() 121 child_stack[i] = i; in Run() 123 return child_stack[arg]; in Run()
|
/external/ltp/testcases/kernel/syscalls/clone/ |
D | clone09.c | 15 static void *child_stack; variable 24 child_stack = SAFE_MALLOC(CHILD_STACK_SIZE); in setup() 32 free(child_stack); in cleanup() 44 TEST(ltp_clone(flags, newnet, NULL, CHILD_STACK_SIZE, child_stack)); in clone_child()
|
D | clone05.c | 23 static void *child_stack; variable 43 CHILD_STACK_SIZE, child_stack), "clone with vfork"); in verify_clone() 54 {&child_stack, .size = CHILD_STACK_SIZE},
|
D | clone07.c | 21 static void *child_stack; variable 34 child_stack)); in verify_clone() 57 {&child_stack, .size = CHILD_STACK_SIZE},
|
D | clone01.c | 20 static void *child_stack; variable 32 CHILD_STACK_SIZE, child_stack), "clone()"); in verify_clone() 52 {&child_stack, .size = CHILD_STACK_SIZE},
|
D | clone06.c | 23 static void *child_stack; variable 46 child_stack)); in verify_clone() 63 {&child_stack, .size = CHILD_STACK_SIZE},
|
D | clone03.c | 18 static void *child_stack; variable 31 child_stack)); in verify_clone() 57 {&child_stack, .size = CHILD_STACK_SIZE},
|
D | clone02.c | 118 void *child_stack; in main() local 125 child_stack = malloc(CHILD_STACK_SIZE); in main() 126 if (child_stack == NULL) in main() 140 CHILD_STACK_SIZE, child_stack)); in main() 179 free(child_stack); in main()
|
D | clone08.c | 21 static void *child_stack; variable 68 child_stack = SAFE_MALLOC(CHILD_STACK_SIZE); in setup() 73 free(child_stack); in cleanup() 79 child_stack, &ptid, NULL, &ctid)); in clone_child()
|
D | clone04.c | 23 void *child_stack; member 40 CHILD_STACK_SIZE, tc->child_stack), in verify_clone()
|
/external/ltp/testcases/kernel/syscalls/setns/ |
D | setns02.c | 116 void *child_stack; in test_flag() local 119 child_stack = SAFE_MALLOC(CHILD_STACK_SIZE); in test_flag() 124 CHILD_STACK_SIZE, child_stack); in test_flag() 129 free(child_stack); in test_flag()
|
/external/strace/tests-mx32/ |
D | clone_parent.c | 50 # define clone(fn, child_stack, flags, arg) \ argument 51 __clone2(fn, child_stack, child_stack_size, flags, arg)
|
/external/strace/tests/ |
D | clone_parent.c | 50 # define clone(fn, child_stack, flags, arg) \ argument 51 __clone2(fn, child_stack, child_stack_size, flags, arg)
|
D | clone_ptrace.c | 61 # define clone(fn, child_stack, flags, arg) \ argument 62 __clone2(fn, child_stack, child_stack_size, flags, arg)
|
/external/strace/tests-m32/ |
D | clone_parent.c | 50 # define clone(fn, child_stack, flags, arg) \ argument 51 __clone2(fn, child_stack, child_stack_size, flags, arg)
|
D | clone_ptrace.c | 61 # define clone(fn, child_stack, flags, arg) \ argument 62 __clone2(fn, child_stack, child_stack_size, flags, arg)
|