| /kernel/liteos_a/kernel/base/misc/ |
| D | los_stackinfo.c | 44 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 73 …stackTop = (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 99 …stackTop = (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/ |
| D | It_container_chroot_002.cpp | 63 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()
|
| D | It_net_container_004.cpp | 57 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()
|
| D | It_net_container_006.cpp | 92 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()
|
| D | It_container_001.cpp | 52 char *stackTop = nullptr; in ItContainer001() local 55 stackTop = stack + STACK_SIZE; in ItContainer001() 57 auto pid = clone(ChildFunc, stackTop, SIGCHLD, &arg); in ItContainer001()
|
| D | It_mnt_container_002.cpp | 78 char *stackTop = nullptr; in ItMntContainer002() local 86 stackTop = stack + STACK_SIZE; in ItMntContainer002() 87 auto pid = clone(ChildFunc, stackTop, CLONE_NEWNS, &arg); in ItMntContainer002()
|
| D | It_mnt_container_007.cpp | 71 char *stackTop = nullptr; in ItMntContainer007() local 79 stackTop = stack + STACK_SIZE; in ItMntContainer007() 80 auto pid = clone(ChildFunc, stackTop, 0, &arg); in ItMntContainer007()
|
| D | It_mnt_container_004.cpp | 62 char *stackTop = nullptr; in ItMntContainer004() local 70 stackTop = stack + STACK_SIZE; in ItMntContainer004() 71 auto pid = clone(ChildFunc, stackTop, CLONE_NEWNS, &arg); in ItMntContainer004()
|
| D | It_mnt_container_001.cpp | 68 char *stackTop = nullptr; in ItMntContainer001() local 76 stackTop = stack + STACK_SIZE; in ItMntContainer001() 77 auto pid = clone(ChildFunc, stackTop, 0, &arg); in ItMntContainer001()
|
| D | It_mnt_container_006.cpp | 80 char *stackTop = nullptr; in ItMntContainer006() local 85 stackTop = stack + STACK_SIZE; in ItMntContainer006() 89 auto pid = clone(ChildFunc, stackTop, 0, &arg); in ItMntContainer006()
|
| D | It_mnt_container_003.cpp | 63 char *stackTop = nullptr; in ItMntContainer003() local 71 stackTop = stack + STACK_SIZE; in ItMntContainer003() 72 auto pid = clone(ChildFunc, stackTop, 0, &arg); in ItMntContainer003()
|
| D | It_container_chroot_001.cpp | 77 char *stackTop = nullptr; in ItContainerChroot001() local 85 stackTop = stack + STACK_SIZE; in ItContainerChroot001() 86 auto pid = clone(ChildFunc, stackTop, CLONE_NEWNS, &arg); in ItContainerChroot001()
|
| D | It_ipc_container_005.cpp | 103 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()
|
| D | It_ipc_container_006.cpp | 87 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()
|
| D | It_pid_container_032.cpp | 76 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()
|
| D | It_net_container_011.cpp | 74 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()
|
| D | It_ipc_container_007.cpp | 74 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()
|
| D | It_mnt_container_009.cpp | 74 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()
|
| D | It_user_container_006.cpp | 74 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()
|
| D | It_uts_container_007.cpp | 74 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()
|
| D | It_ipc_container_004.cpp | 81 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/ |
| D | process_test_050.cpp | 54 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()
|
| D | process_test_051.cpp | 71 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()
|
| D | process_test_049.cpp | 82 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/ |
| D | los_stackinfo_pri.h | 45 VOID *stackTop; member 76 extern UINT32 OsStackWaterLineGet(const UINTPTR *stackBottom, const UINTPTR *stackTop, UINT32 *peak…
|