Home
last modified time | relevance | path

Searched refs:g_taskCBArray (Results 1 – 22 of 22) sorted by relevance

/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/
DIt_posix_pthread_039.c74 if (g_taskCBArray[index].taskStatus == OS_TASK_STATUS_UNUSED) { in Testcase()
90 if (g_taskCBArray[index].taskStatus == OS_TASK_STATUS_UNUSED) { in Testcase()
DIt_posix_pthread_041.c71 if (g_taskCBArray[index].taskStatus == OS_TASK_STATUS_UNUSED) { in Testcase()
DIt_posix_pthread_040.c73 if (g_taskCBArray[index].taskStatus & OS_TASK_STATUS_UNUSED) { in Testcase()
DIt_posix_pthread_042.c91 if (g_taskCBArray[index].taskStatus & OS_TASK_STATUS_UNUSED) { in Testcase()
/kernel/liteos_a/kernel/base/core/
Dlos_task.c72 LITE_OS_SEC_BSS LosTaskCB *g_taskCBArray; variable
196 g_taskCBArray = (LosTaskCB *)LOS_MemAlloc(m_aucSysMem0, size); in OsTaskInit()
197 if (g_taskCBArray == NULL) { in OsTaskInit()
201 (VOID)memset_s(g_taskCBArray, size, 0, size); in OsTaskInit()
206 g_taskCBArray[index].taskStatus = OS_TASK_STATUS_UNUSED; in OsTaskInit()
207 g_taskCBArray[index].taskID = index; in OsTaskInit()
208 g_taskCBArray[index].processCB = processCB; in OsTaskInit()
209 LOS_ListTailInsert(&g_losFreeTask, &g_taskCBArray[index].pendList); in OsTaskInit()
212 g_taskCBArray[index].taskStatus = OS_TASK_STATUS_UNUSED; in OsTaskInit()
213 g_taskCBArray[index].taskID = index; in OsTaskInit()
[all …]
/kernel/liteos_m/kernel/src/
Dlos_task.c100 LITE_OS_SEC_BSS LosTaskCB *g_taskCBArray = NULL; variable
383 taskCB = (((LosTaskCB *)g_taskCBArray) + loopNum); in OsGetAllTskInfo()
428 g_taskCBArray = (LosTaskCB *)LOS_MemAlloc(m_aucSysMem0, size); in OsTaskInit()
429 if (g_taskCBArray == NULL) { in OsTaskInit()
434 (VOID)memset_s(g_taskCBArray, size, 0, size); in OsTaskInit()
438 g_taskCBArray[index].taskStatus = OS_TASK_STATUS_UNUSED; in OsTaskInit()
439 g_taskCBArray[index].taskID = index; in OsTaskInit()
440 LOS_ListTailInsert(&g_losFreeTask, &g_taskCBArray[index].pendList); in OsTaskInit()
445 g_losTask.runTask = &g_taskCBArray[g_taskMaxNum]; in OsTaskInit()
1089 g_losTask.runTask = &g_taskCBArray[g_taskMaxNum]; in OsRunningTaskDelete()
Dlos_sched.c426 LosTaskCB *taskCB = (((LosTaskCB *)g_taskCBArray) + loopNum); in TaskSchedTimeConvertFreq()
/kernel/liteos_a/kernel/base/include/
Dlos_task_pri.h196 #define OS_TCB_FROM_RTID(taskID) (((LosTaskCB *)g_taskCBArray) + (taskID))
240 extern LosTaskCB *g_taskCBArray;
/kernel/liteos_m/testsuites/src/
DosTest.c141 extern LosTaskCB *g_taskCBArray;
149 LosTaskCB *taskCB = ((LosTaskCB *)g_taskCBArray) + index; in TaskUsedCountGet()
/kernel/liteos_m/components/trace/
Dtrace_online.c76 tcb = g_taskCBArray + loop; in OsTraceSendObjTable()
/kernel/liteos_a/kernel/extended/trace/
Dtrace_online.c75 tcb = g_taskCBArray + loop; in OsTraceSendObjTable()
/kernel/liteos_m/testsuites/sample/kernel/sem/
DIt_los_sem_035.c57 taskCB = g_taskCBArray + i; in Testcase()
/kernel/liteos_m/kernel/include/
Dlos_task.h1467 #define OS_TCB_FROM_TID(taskID) (((LosTaskCB *)g_taskCBArray) + (taskID))
1598 extern LosTaskCB *g_taskCBArray;
/kernel/liteos_a/kernel/base/misc/
Dsysinfo_shellcmd.c58 taskCB = (LosTaskCB *)g_taskCBArray + loop; in OsShellCmdTaskCntGet()
/kernel/liteos_a/kernel/base/sched/
Dlos_statistics.c148 LosTaskCB *taskCB = g_taskCBArray + tid; in OsShellShowSchedStatistics()
316 LosTaskCB *taskCB = g_taskCBArray + tid; in OsShellShowEdfSchedStatistics()
/kernel/liteos_a/kernel/base/mp/
Dlos_mp.c84 taskCB = &g_taskCBArray[taskID]; in OsMpCollectTasks()
/kernel/liteos_m/testsuites/include/
DosTest.h397 extern LosTaskCB *g_taskCBArray;
/kernel/liteos_a/testsuites/kernel/src/
DiCunit.c248 if (g_taskCBArray[i].taskStatus == OS_TASK_STATUS_UNUSED) in ICunitRunF()
328 if (g_taskCBArray[i].taskStatus == OS_TASK_STATUS_UNUSED) in ICunitRunF()
DosTest.c175 taskCB = (((LosTaskCB *)g_taskCBArray) + loop); in TaskCountGetTest()
/kernel/liteos_a/arch/arm/arm/src/
Dlos_exc.c673 taskCB = &g_taskCBArray[index]; in FindSuitableStack()
/kernel/liteos_m/kal/cmsis/
Dcmsis_liteos2.c623 if (!((g_taskCBArray + index)->taskStatus & OS_TASK_STATUS_UNUSED)) { in osThreadGetCount()
/kernel/liteos_a/kernel/common/
Dconsole.c1357 taskCB = ((LosTaskCB *)g_taskCBArray) + taskIdx; in system_console_deinit()