Searched refs:g_processCBArray (Results 1 – 5 of 5) sorted by relevance
140 #define OS_PCB_FROM_PID(processID) (((LosProcessCB *)g_processCBArray) + (processID))337 extern LosProcessCB *g_processCBArray;
62 LITE_OS_SEC_BSS LosProcessCB *g_processCBArray = NULL; variable545 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()
153 LosProcessCB *processCB = g_processCBArray + pid; in DoDumpCpuUsageUnsafe()
212 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()
262 processCB = g_processCBArray + pid; in OsGetPIDByAspace()