Home
last modified time | relevance | path

Searched refs:STACK_SIZE (Results 1 – 25 of 101) sorted by relevance

12345

/kernel/liteos_a/testsuites/unittest/container/full/
DIt_pid_container_004.cpp41 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()
DIt_pid_container_005.cpp51 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()
DIt_pid_container_006.cpp45 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()
DIt_pid_container_002.cpp46 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()
DIt_pid_container_003.cpp40 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()
DIt_pid_container_001.cpp42 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/
DIt_pid_container_027.cpp51 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()
DIt_pid_container_028.cpp51 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()
DIt_pid_container_029.cpp77 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()
DIt_pid_container_030.cpp78 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()
DIt_container_chroot_002.cpp58 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()
DIt_net_container_004.cpp55 …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()
DIt_container_001.cpp53 …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()
DIt_uts_container_004.cpp72 …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()
DIt_uts_container_002.cpp71 …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()
DIt_net_container_006.cpp117 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()
DIt_ipc_container_005.cpp98 …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()
DIt_ipc_container_006.cpp82 …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/
Ddwarf-unwind.c11 #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/
Ddwarf-unwind.c12 #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/
Ddwarf-unwind.c11 #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/
Ddwarf-unwind.c12 #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/
DIt_process_fs_012.cpp38 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/
Dmisc.c121 #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/
Dchacha-core.S9 #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

12345