Home
last modified time | relevance | path

Searched refs:tempStatus (Results 1 – 4 of 4) sorted by relevance

/kernel/liteos_m/kernel/src/
Dlos_task.c870 UINT16 tempStatus; in LOS_TaskResume() local
880 tempStatus = taskCB->taskStatus; in LOS_TaskResume()
882 if (tempStatus & OS_TASK_STATUS_UNUSED) { in LOS_TaskResume()
885 } else if (!(tempStatus & OS_TASK_STATUS_SUSPEND)) { in LOS_TaskResume()
916 UINT16 tempStatus; in LOS_TaskSuspend() local
926 tempStatus = taskCB->taskStatus; in LOS_TaskSuspend()
928 if (tempStatus & OS_TASK_STATUS_UNUSED) { in LOS_TaskSuspend()
933 if (tempStatus & OS_TASK_FLAG_SYSTEM_TASK) { in LOS_TaskSuspend()
938 if (tempStatus & OS_TASK_STATUS_SUSPEND) { in LOS_TaskSuspend()
943 if ((tempStatus & OS_TASK_STATUS_RUNNING) && (g_losTaskLock != 0)) { in LOS_TaskSuspend()
[all …]
Dlos_sched.c174 UINT16 tempStatus = taskCB->taskStatus; in OsSchedWakePendTimeTask() local
175 if (tempStatus & (OS_TASK_STATUS_PEND | OS_TASK_STATUS_DELAY)) { in OsSchedWakePendTimeTask()
177 if (tempStatus & OS_TASK_STATUS_PEND) { in OsSchedWakePendTimeTask()
184 if (!(tempStatus & OS_TASK_STATUS_SUSPEND)) { in OsSchedWakePendTimeTask()
/kernel/liteos_a/kernel/base/sched/
Dlos_sched.c121 UINT16 tempStatus = taskCB->taskStatus; in SchedTimeoutTaskWake() local
122 if (tempStatus & (OS_TASK_STATUS_PEND_TIME | OS_TASK_STATUS_DELAY)) { in SchedTimeoutTaskWake()
124 if (tempStatus & OS_TASK_STATUS_PEND_TIME) { in SchedTimeoutTaskWake()
131 if (!(tempStatus & OS_TASK_STATUS_SUSPENDED)) { in SchedTimeoutTaskWake()
/kernel/liteos_a/kernel/base/core/
Dlos_task.c780 UINT16 tempStatus = taskCB->taskStatus; in OsTaskSuspend() local
781 if (tempStatus & OS_TASK_STATUS_UNUSED) { in OsTaskSuspend()
785 if (tempStatus & OS_TASK_STATUS_SUSPENDED) { in OsTaskSuspend()
789 if ((tempStatus & OS_TASK_STATUS_RUNNING) && in OsTaskSuspend()