Home
last modified time | relevance | path

Searched refs:g_processCBArray (Results 1 – 5 of 5) sorted by relevance

/kernel/liteos_a/kernel/base/include/
Dlos_process_pri.h140 #define OS_PCB_FROM_PID(processID) (((LosProcessCB *)g_processCBArray) + (processID))
337 extern LosProcessCB *g_processCBArray;
/kernel/liteos_a/kernel/base/core/
Dlos_process.c62 LITE_OS_SEC_BSS LosProcessCB *g_processCBArray = NULL; variable
545 g_processCBArray = (LosProcessCB *)LOS_MemAlloc(m_aucSysMem1, size); in OsProcessInit()
546 if (g_processCBArray == NULL) { in OsProcessInit()
549 (VOID)memset_s(g_processCBArray, size, 0, size); in OsProcessInit()
555 g_processCBArray[index].processID = index; in OsProcessInit()
556 g_processCBArray[index].processStatus = OS_PROCESS_FLAG_UNUSED; in OsProcessInit()
557 LOS_ListTailInsert(&g_freeProcess, &g_processCBArray[index].pendList); in OsProcessInit()
/kernel/liteos_a/kernel/extended/hidumper/
Dlos_hidumper.c153 LosProcessCB *processCB = g_processCBArray + pid; in DoDumpCpuUsageUnsafe()
/kernel/liteos_a/kernel/base/misc/
Dtask_shellcmd.c212 const LosProcessCB *processCB = g_processCBArray + pid; in ProcessMemUsageGet()
564 (VOID)memcpy_s(*pcbArray, OS_PROCESS_INFO_LEN, g_processCBArray, OS_PROCESS_INFO_LEN); in ProcessAndTaskInfoGet()
/kernel/liteos_a/kernel/base/vm/
Dlos_vm_dump.c262 processCB = g_processCBArray + pid; in OsGetPIDByAspace()