Home
last modified time | relevance | path

Searched refs:stackTop (Results 1 – 25 of 72) sorted by relevance

123

/kernel/liteos_a/kernel/base/misc/
Dlos_stackinfo.c44 UINT32 OsStackWaterLineGet(const UINTPTR *stackBottom, const UINTPTR *stackTop, UINT32 *peakUsed) in OsStackWaterLineGet() argument
48 if (*stackTop == OS_STACK_MAGIC_WORD) { in OsStackWaterLineGet()
49 tmp = stackTop + 1; in OsStackWaterLineGet()
66 UINTPTR *stackTop = NULL; in OsExcStackCheck() local
73stackTop = (UINTPTR *)((UINTPTR)g_stackInfo[index].stackTop + cpuid * g_stackInfo[index].stackSize… in OsExcStackCheck()
74 if (*stackTop != OS_STACK_MAGIC_WORD) { in OsExcStackCheck()
76 … LOSCFG_KERNEL_CORE_NUM - 1 - cpuid, g_stackInfo[index].stackName, *stackTop); in OsExcStackCheck()
87 UINTPTR *stackTop = NULL; in OsExcStackInfo() local
99stackTop = (UINTPTR *)((UINTPTR)g_stackInfo[index].stackTop + cpuid * g_stackInfo[index].stackSize… in OsExcStackInfo()
100 stack = (UINTPTR *)((UINTPTR)stackTop + g_stackInfo[index].stackSize); in OsExcStackInfo()
[all …]
/kernel/liteos_a/testsuites/unittest/container/smoke/
DIt_container_chroot_002.cpp63 char *stackTop = stack + STACK_SIZE; in TestFunc() local
86 auto pid = clone(ChildFunc, stackTop, SIGCHLD, arg); in TestFunc()
107 char *stackTop = stack + STACK_SIZE; in ItContainerChroot002() local
110 auto pid = clone(TestFunc, stackTop, SIGCHLD, &arg); in ItContainerChroot002()
DIt_net_container_004.cpp57 char *stackTop = stack + STACK_SIZE; in ChildFun() local
59 auto childPid = clone(NewnetChildFun, stackTop, SIGCHLD | CLONE_NEWNET, &arg); in ChildFun()
111 char *stackTop = stack + STACK_SIZE; in ItNetContainer004() local
113 auto childPid = clone(ChildFun, stackTop, SIGCHLD | CLONE_NEWNET, &arg); in ItNetContainer004()
DIt_net_container_006.cpp92 char *stackTop = nullptr; in ChildFunc() local
119 stackTop = stack + STACK_SIZE; in ChildFunc()
122 int pid = clone(TcpClient, stackTop, SIGCHLD, &arg); in ChildFunc()
170 char *stackTop = stack + STACK_SIZE; in ItNetContainer006() local
173 int pid = clone(ChildFunc, stackTop, SIGCHLD | CLONE_NEWNET, &arg); in ItNetContainer006()
DIt_container_001.cpp52 char *stackTop = nullptr; in ItContainer001() local
55 stackTop = stack + STACK_SIZE; in ItContainer001()
57 auto pid = clone(ChildFunc, stackTop, SIGCHLD, &arg); in ItContainer001()
DIt_mnt_container_002.cpp78 char *stackTop = nullptr; in ItMntContainer002() local
86 stackTop = stack + STACK_SIZE; in ItMntContainer002()
87 auto pid = clone(ChildFunc, stackTop, CLONE_NEWNS, &arg); in ItMntContainer002()
DIt_mnt_container_007.cpp71 char *stackTop = nullptr; in ItMntContainer007() local
79 stackTop = stack + STACK_SIZE; in ItMntContainer007()
80 auto pid = clone(ChildFunc, stackTop, 0, &arg); in ItMntContainer007()
DIt_mnt_container_004.cpp62 char *stackTop = nullptr; in ItMntContainer004() local
70 stackTop = stack + STACK_SIZE; in ItMntContainer004()
71 auto pid = clone(ChildFunc, stackTop, CLONE_NEWNS, &arg); in ItMntContainer004()
DIt_mnt_container_001.cpp68 char *stackTop = nullptr; in ItMntContainer001() local
76 stackTop = stack + STACK_SIZE; in ItMntContainer001()
77 auto pid = clone(ChildFunc, stackTop, 0, &arg); in ItMntContainer001()
DIt_mnt_container_006.cpp80 char *stackTop = nullptr; in ItMntContainer006() local
85 stackTop = stack + STACK_SIZE; in ItMntContainer006()
89 auto pid = clone(ChildFunc, stackTop, 0, &arg); in ItMntContainer006()
DIt_mnt_container_003.cpp63 char *stackTop = nullptr; in ItMntContainer003() local
71 stackTop = stack + STACK_SIZE; in ItMntContainer003()
72 auto pid = clone(ChildFunc, stackTop, 0, &arg); in ItMntContainer003()
DIt_container_chroot_001.cpp77 char *stackTop = nullptr; in ItContainerChroot001() local
85 stackTop = stack + STACK_SIZE; in ItContainerChroot001()
86 auto pid = clone(ChildFunc, stackTop, CLONE_NEWNS, &arg); in ItContainerChroot001()
DIt_ipc_container_005.cpp103 char *stackTop = stack + STACK_SIZE; in testChild() local
124 pid = clone(childFunc, stackTop, SIGCHLD, &arg); in testChild()
173 char *stackTop = stack + STACK_SIZE; in ItIpcContainer005() local
176 auto pid = clone(testChild, stackTop, CLONE_NEWIPC | SIGCHLD, &arg); in ItIpcContainer005()
DIt_ipc_container_006.cpp87 char *stackTop = stack + STACK_SIZE; in childFunc() local
89 auto pid = clone(childFunc1, stackTop, CLONE_NEWIPC | SIGCHLD, &arg); in childFunc()
170 char *stackTop = stack + STACK_SIZE; in ItIpcContainer006() local
173 auto pid = clone(childFunc, stackTop, CLONE_NEWIPC | SIGCHLD, &arg); in ItIpcContainer006()
DIt_pid_container_032.cpp76 char *stackTop = stack + STACK_SIZE; in ItPidContainer032() local
78 auto pid1 = clone(childFunc, stackTop, CLONE_NEWPID, NULL); in ItPidContainer032()
81 auto pid2 = clone(childFunc, stackTop, CLONE_NEWPID, NULL); in ItPidContainer032()
DIt_net_container_011.cpp74 char *stackTop = stack + STACK_SIZE; in ItNetContainer011() local
76 auto pid1 = clone(childFunc, stackTop, CLONE_NEWNET, NULL); in ItNetContainer011()
79 auto pid2 = clone(childFunc, stackTop, CLONE_NEWNET, NULL); in ItNetContainer011()
DIt_ipc_container_007.cpp74 char *stackTop = stack + STACK_SIZE; in ItIpcContainer007() local
76 auto pid1 = clone(childFunc, stackTop, CLONE_NEWIPC, NULL); in ItIpcContainer007()
79 auto pid2 = clone(childFunc, stackTop, CLONE_NEWIPC, NULL); in ItIpcContainer007()
DIt_mnt_container_009.cpp74 char *stackTop = stack + STACK_SIZE; in ItMntContainer009() local
76 auto pid1 = clone(childFunc, stackTop, CLONE_NEWNS, NULL); in ItMntContainer009()
79 auto pid2 = clone(childFunc, stackTop, CLONE_NEWNS, NULL); in ItMntContainer009()
DIt_user_container_006.cpp74 char *stackTop = stack + STACK_SIZE; in ItUserContainer006() local
76 auto pid1 = clone(childFunc, stackTop, CLONE_NEWUSER, NULL); in ItUserContainer006()
79 auto pid2 = clone(childFunc, stackTop, CLONE_NEWUSER, NULL); in ItUserContainer006()
DIt_uts_container_007.cpp74 char *stackTop = stack + STACK_SIZE; in ItUtsContainer007() local
76 auto pid1 = clone(childFunc, stackTop, CLONE_NEWUTS, NULL); in ItUtsContainer007()
79 auto pid2 = clone(childFunc, stackTop, CLONE_NEWUTS, NULL); in ItUtsContainer007()
DIt_ipc_container_004.cpp81 char *stackTop = stack + STACK_SIZE; in childFunc() local
108 pid = clone(childFunc1, stackTop, SIGCHLD, &arg); in childFunc()
161 char *stackTop = stack + STACK_SIZE; in ItIpcContainer004() local
174 pid = clone(childFunc, stackTop, CLONE_NEWIPC | SIGCHLD, &arg); in ItIpcContainer004()
/kernel/liteos_a/testsuites/unittest/process/basic/process/full/
Dprocess_test_050.cpp54 char *stackTop; in Testcase() local
73 stackTop = reinterpret_cast<char *>(reinterpret_cast<unsigned long>(stack) + arg); in Testcase()
74 pid = clone(TestThread, (void *)stackTop, CLONE_PARENT, &arg); in Testcase()
Dprocess_test_051.cpp71 char *stackTop; in Testcase() local
88 stackTop = reinterpret_cast<char *>(reinterpret_cast<unsigned long>(stack) + arg); in Testcase()
89 pid = clone(TestThread, (void *)stackTop, CLONE_PARENT | CLONE_VFORK, &arg); in Testcase()
Dprocess_test_049.cpp82 char *stackTop; in Testcase() local
98 stackTop = reinterpret_cast<char *>(reinterpret_cast<unsigned long>(stack) + arg); in Testcase()
99 pid = clone(TestThread, (void *)stackTop, CLONE_VFORK, &arg); in Testcase()
/kernel/liteos_a/kernel/base/include/
Dlos_stackinfo_pri.h45 VOID *stackTop; member
76 extern UINT32 OsStackWaterLineGet(const UINTPTR *stackBottom, const UINTPTR *stackTop, UINT32 *peak…

123