/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/ |
D | It_posix_pthread_039.c | 74 if (g_taskCBArray[index].taskStatus == OS_TASK_STATUS_UNUSED) { in Testcase() 90 if (g_taskCBArray[index].taskStatus == OS_TASK_STATUS_UNUSED) { in Testcase()
|
D | It_posix_pthread_041.c | 71 if (g_taskCBArray[index].taskStatus == OS_TASK_STATUS_UNUSED) { in Testcase()
|
D | It_posix_pthread_040.c | 73 if (g_taskCBArray[index].taskStatus & OS_TASK_STATUS_UNUSED) { in Testcase()
|
D | It_posix_pthread_042.c | 91 if (g_taskCBArray[index].taskStatus & OS_TASK_STATUS_UNUSED) { in Testcase()
|
/kernel/liteos_a/kernel/base/core/ |
D | los_task.c | 72 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/ |
D | los_task.c | 100 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()
|
D | los_sched.c | 426 LosTaskCB *taskCB = (((LosTaskCB *)g_taskCBArray) + loopNum); in TaskSchedTimeConvertFreq()
|
/kernel/liteos_a/kernel/base/include/ |
D | los_task_pri.h | 196 #define OS_TCB_FROM_RTID(taskID) (((LosTaskCB *)g_taskCBArray) + (taskID)) 240 extern LosTaskCB *g_taskCBArray;
|
/kernel/liteos_m/testsuites/src/ |
D | osTest.c | 141 extern LosTaskCB *g_taskCBArray; 149 LosTaskCB *taskCB = ((LosTaskCB *)g_taskCBArray) + index; in TaskUsedCountGet()
|
/kernel/liteos_m/components/trace/ |
D | trace_online.c | 76 tcb = g_taskCBArray + loop; in OsTraceSendObjTable()
|
/kernel/liteos_a/kernel/extended/trace/ |
D | trace_online.c | 75 tcb = g_taskCBArray + loop; in OsTraceSendObjTable()
|
/kernel/liteos_m/testsuites/sample/kernel/sem/ |
D | It_los_sem_035.c | 57 taskCB = g_taskCBArray + i; in Testcase()
|
/kernel/liteos_m/kernel/include/ |
D | los_task.h | 1467 #define OS_TCB_FROM_TID(taskID) (((LosTaskCB *)g_taskCBArray) + (taskID)) 1598 extern LosTaskCB *g_taskCBArray;
|
/kernel/liteos_a/kernel/base/misc/ |
D | sysinfo_shellcmd.c | 58 taskCB = (LosTaskCB *)g_taskCBArray + loop; in OsShellCmdTaskCntGet()
|
/kernel/liteos_a/kernel/base/sched/ |
D | los_statistics.c | 148 LosTaskCB *taskCB = g_taskCBArray + tid; in OsShellShowSchedStatistics() 316 LosTaskCB *taskCB = g_taskCBArray + tid; in OsShellShowEdfSchedStatistics()
|
/kernel/liteos_a/kernel/base/mp/ |
D | los_mp.c | 84 taskCB = &g_taskCBArray[taskID]; in OsMpCollectTasks()
|
/kernel/liteos_m/testsuites/include/ |
D | osTest.h | 397 extern LosTaskCB *g_taskCBArray;
|
/kernel/liteos_a/testsuites/kernel/src/ |
D | iCunit.c | 248 if (g_taskCBArray[i].taskStatus == OS_TASK_STATUS_UNUSED) in ICunitRunF() 328 if (g_taskCBArray[i].taskStatus == OS_TASK_STATUS_UNUSED) in ICunitRunF()
|
D | osTest.c | 175 taskCB = (((LosTaskCB *)g_taskCBArray) + loop); in TaskCountGetTest()
|
/kernel/liteos_a/arch/arm/arm/src/ |
D | los_exc.c | 673 taskCB = &g_taskCBArray[index]; in FindSuitableStack()
|
/kernel/liteos_m/kal/cmsis/ |
D | cmsis_liteos2.c | 623 if (!((g_taskCBArray + index)->taskStatus & OS_TASK_STATUS_UNUSED)) { in osThreadGetCount()
|
/kernel/liteos_a/kernel/common/ |
D | console.c | 1357 taskCB = ((LosTaskCB *)g_taskCBArray) + taskIdx; in system_console_deinit()
|