/kernel/liteos_a/testsuites/unittest/container/full/ |
D | It_pid_container_004.cpp | 41 void *pstk = malloc(STACK_SIZE); in ChildFunClone2() 45 int childPid = clone(ChildFun, (char *)pstk + STACK_SIZE, CLONE_NEWPID | SIGCHLD, NULL); in ChildFunClone2() 62 void *pstk = malloc(STACK_SIZE); in ChildFunClone1() 66 int childPid = clone(ChildFunClone2, (char *)pstk + STACK_SIZE, CLONE_NEWPID | SIGCHLD, NULL); in ChildFunClone1() 94 void *pstk = malloc(STACK_SIZE); in ItPidContainer004() 96 int childPid = clone(ChildFunClone1, (char *)pstk + STACK_SIZE, CLONE_NEWPID | SIGCHLD, NULL); in ItPidContainer004()
|
D | It_pid_container_005.cpp | 51 void *pstk = malloc(STACK_SIZE); in ChildFunClone2() 55 int childPid = clone(ChildFunClone3, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ChildFunClone2() 98 void *pstk = malloc(STACK_SIZE); in ChildFunClone1() 102 int childPid = clone(ChildFunClone2, (char *)pstk + STACK_SIZE, CLONE_NEWUTS | SIGCHLD, NULL); in ChildFunClone1() 127 void *pstk = malloc(STACK_SIZE); in ItPidContainer005() 130 int childPid = clone(ChildFunClone1, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ItPidContainer005()
|
D | It_pid_container_006.cpp | 45 void *pstk = malloc(STACK_SIZE); in ChildFun() 49 int childPid = clone(ChildFun1, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ChildFun() 63 childPid = clone(ChildFun1, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ChildFun() 85 void *pstk = malloc(STACK_SIZE); in ItPidContainer006() 88 int childPid = clone(ChildFun, (char *)pstk + STACK_SIZE, CLONE_NEWPID | SIGCHLD, NULL); in ItPidContainer006()
|
D | It_pid_container_002.cpp | 46 void *pstk = malloc(STACK_SIZE); in ChildFunClone3() 56 childPid = clone(ChildFun, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ChildFunClone3() 84 void *pstk = malloc(STACK_SIZE); in ChildFunClone2() 88 int childPid = clone(ChildFunClone3, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ChildFunClone2() 140 void *pstk = malloc(STACK_SIZE); in ItPidContainer002() 142 int childPid = clone(ChildFunClone1, (char *)pstk + STACK_SIZE, CLONE_NEWPID | SIGCHLD, NULL); in ItPidContainer002()
|
D | It_pid_container_003.cpp | 40 void *pstk = malloc(STACK_SIZE); in ChildFunClone2() 44 int childPid = clone(ChildFun, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ChildFunClone2() 91 void *pstk = malloc(STACK_SIZE); in ItPidContainer003() 93 int childPid = clone(ChildFunClone1, (char *)pstk + STACK_SIZE, CLONE_NEWPID | SIGCHLD, NULL); in ItPidContainer003()
|
D | It_pid_container_001.cpp | 42 void *pstk = malloc(STACK_SIZE); in ItPidContainer001() 44 int childPid = clone(ChildFun, (char *)pstk + STACK_SIZE, CLONE_NEWPID | SIGCHLD, NULL); in ItPidContainer001()
|
/kernel/liteos_a/testsuites/unittest/container/smoke/ |
D | It_pid_container_027.cpp | 51 void *pstk = malloc(STACK_SIZE); in ChildFunClone2() 55 int childPid = clone(ChildFunClone3, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ChildFunClone2() 101 void *pstk = malloc(STACK_SIZE); in ChildFunClone1() 105 int childPid = clone(ChildFunClone2, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ChildFunClone1() 133 void *pstk = malloc(STACK_SIZE); in ItPidContainer027() 136 int childPid = clone(ChildFunClone1, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ItPidContainer027()
|
D | It_pid_container_028.cpp | 51 void *pstk = malloc(STACK_SIZE); in ChildFunClone2() 55 int childPid = clone(ChildFunClone3, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ChildFunClone2() 99 void *pstk = malloc(STACK_SIZE); in ChildFunClone1() 103 int childPid = clone(ChildFunClone2, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ChildFunClone1() 131 void *pstk = malloc(STACK_SIZE); in ItPidContainer028() 134 int childPid = clone(ChildFunClone1, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ItPidContainer028()
|
D | It_pid_container_029.cpp | 77 void *pstk = malloc(STACK_SIZE); in ChildFunClone1() 81 int childPid = clone(ChildFunClone2, (char *)pstk + STACK_SIZE, CLONE_NEWPID | SIGCHLD, NULL); in ChildFunClone1() 87 int childPid1 = clone(ChildFunClone3, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ChildFunClone1() 115 void *pstk = malloc(STACK_SIZE); in ItPidContainer029() 118 int childPid = clone(ChildFunClone1, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ItPidContainer029()
|
D | It_pid_container_030.cpp | 78 void *pstk = malloc(STACK_SIZE); in ChildFunClone1() 82 int childPid = clone(ChildFunClone2, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ChildFunClone1() 90 int childPid1 = clone(ChildFunClone3, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ChildFunClone1() 121 void *pstk = malloc(STACK_SIZE); in ItPidContainer030() 124 int childPid = clone(ChildFunClone1, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ItPidContainer030()
|
D | It_container_chroot_002.cpp | 58 char *stack = (char *)mmap(nullptr, STACK_SIZE, PROT_READ | PROT_WRITE, in TestFunc() 63 char *stackTop = stack + STACK_SIZE; in TestFunc() 104 char *stack = (char *)mmap(nullptr, STACK_SIZE, PROT_READ | PROT_WRITE, in ItContainerChroot002() 107 char *stackTop = stack + STACK_SIZE; in ItContainerChroot002()
|
D | It_net_container_004.cpp | 55 …char *stack = (char *)mmap(nullptr, STACK_SIZE, PROT_READ | PROT_WRITE, CLONE_STACK_MMAP_FLAG, -1,… in ChildFun() 57 char *stackTop = stack + STACK_SIZE; in ChildFun() 109 …char *stack = (char *)mmap(nullptr, STACK_SIZE, PROT_READ | PROT_WRITE, CLONE_STACK_MMAP_FLAG, -1,… in ItNetContainer004() 111 char *stackTop = stack + STACK_SIZE; in ItNetContainer004()
|
D | It_container_001.cpp | 53 …stack = (char *)mmap(nullptr, STACK_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS | MA… in ItContainer001() 55 stackTop = stack + STACK_SIZE; in ItContainer001() 58 (void)munmap(stack, STACK_SIZE); in ItContainer001()
|
D | It_uts_container_004.cpp | 72 …char *stack = (char *)mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE, CLONE_STACK_MMAP_FLAG, -1, 0); in ItUtsContainer004() 74 char *stackTop = stack + STACK_SIZE; in ItUtsContainer004() 81 (void)munmap(stack, STACK_SIZE); in ItUtsContainer004()
|
D | It_uts_container_002.cpp | 71 …char *stack = (char*)mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS | … in ItUtsContainer002() 73 char *stackTop = stack + STACK_SIZE; in ItUtsContainer002() 81 (void)munmap(stack, STACK_SIZE); in ItUtsContainer002()
|
D | It_net_container_006.cpp | 117 stack = (char *)mmap(nullptr, STACK_SIZE, PROT_READ | PROT_WRITE, CLONE_STACK_MMAP_FLAG, -1, 0); in ChildFunc() 119 stackTop = stack + STACK_SIZE; in ChildFunc() 168 …char *stack = (char *)mmap(nullptr, STACK_SIZE, PROT_READ | PROT_WRITE, CLONE_STACK_MMAP_FLAG, -1,… in ItNetContainer006() 170 char *stackTop = stack + STACK_SIZE; in ItNetContainer006()
|
D | It_ipc_container_005.cpp | 98 …char *stack = (char *)mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS |… in testChild() 103 char *stackTop = stack + STACK_SIZE; in testChild() 169 …char *stack = (char *)mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS |… in ItIpcContainer005() 173 char *stackTop = stack + STACK_SIZE; in ItIpcContainer005()
|
D | It_ipc_container_006.cpp | 82 …char *stack = (char *)mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS |… in childFunc() 87 char *stackTop = stack + STACK_SIZE; in childFunc() 167 …char *stack = (char *)mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS |… in ItIpcContainer006() 170 char *stackTop = stack + STACK_SIZE; in ItIpcContainer006()
|
/kernel/linux/linux-5.10/tools/perf/arch/arm/tests/ |
D | dwarf-unwind.c | 11 #define STACK_SIZE 8192 macro 21 buf = malloc(STACK_SIZE); in sample_ustack() 37 stack_size = stack_size > STACK_SIZE ? STACK_SIZE : stack_size; in sample_ustack()
|
/kernel/linux/linux-5.10/tools/perf/arch/powerpc/tests/ |
D | dwarf-unwind.c | 12 #define STACK_SIZE 8192 macro 22 buf = malloc(STACK_SIZE); in sample_ustack() 38 stack_size = stack_size > STACK_SIZE ? STACK_SIZE : stack_size; in sample_ustack()
|
/kernel/linux/linux-5.10/tools/perf/arch/arm64/tests/ |
D | dwarf-unwind.c | 11 #define STACK_SIZE 8192 macro 21 buf = malloc(STACK_SIZE); in sample_ustack() 37 stack_size = stack_size > STACK_SIZE ? STACK_SIZE : stack_size; in sample_ustack()
|
/kernel/linux/linux-5.10/tools/perf/arch/x86/tests/ |
D | dwarf-unwind.c | 12 #define STACK_SIZE 8192 macro 22 buf = malloc(STACK_SIZE); in sample_ustack() 38 stack_size = stack_size > STACK_SIZE ? STACK_SIZE : stack_size; in sample_ustack()
|
/kernel/liteos_a/testsuites/unittest/process/fs/smoke/ |
D | It_process_fs_012.cpp | 38 static const int STACK_SIZE = 1024 * 1024; variable 60 …char *stack = (char *)mmap(nullptr, STACK_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOU… in ItProcessFs012() 63 char *stackTop = stack + STACK_SIZE; in ItProcessFs012()
|
/kernel/linux/linux-5.10/arch/sh/boot/compressed/ |
D | misc.c | 121 #define STACK_SIZE (4096) macro 122 long __attribute__ ((aligned(stackalign))) user_stack[STACK_SIZE]; 123 long *stack_start = &user_stack[STACK_SIZE];
|
/kernel/linux/linux-5.10/arch/mips/crypto/ |
D | chacha-core.S | 9 #define STACK_SIZE 32 macro 206 .frame $sp, STACK_SIZE, $ra 211 addiu $sp, -STACK_SIZE 280 lw $at, (STACK_SIZE+16)($sp) 311 addiu $sp, STACK_SIZE 347 lw $at, (STACK_SIZE+16)($sp) 446 .frame $sp, STACK_SIZE, $ra 448 addiu $sp, -STACK_SIZE 494 addiu $sp, STACK_SIZE
|