• Home
  • Raw
  • Download

Lines Matching refs:LosTaskCB

179 #define OS_TCB_FROM_PENDLIST(ptr) LOS_DL_LIST_ENTRY(ptr, LosTaskCB, pendList)
196 #define OS_TCB_FROM_RTID(taskID) (((LosTaskCB *)g_taskCBArray) + (taskID))
214 LosTaskCB *runTask;
215 LosTaskCB *newTask;
220 LosTaskCB *defaultTcb; /**< Default TCB */
221 LosTaskCB *unblockedTcb; /**< The signal unblock on this TCB*/
222 LosTaskCB *awakenedTcb; /**< This TCB was awakened */
223 LosTaskCB *receivedTcb; /**< This TCB received the signal */
226 typedef int (*ForEachTaskCB)(LosTaskCB *tcb, void *arg);
240 extern LosTaskCB *g_taskCBArray;
247 LosTaskCB *task; /**< Current running task */
252 STATIC INLINE LosTaskCB *OsGetTaskCB(UINT32 taskID) in OsGetTaskCB()
257 STATIC INLINE BOOL OsTaskIsUnused(const LosTaskCB *taskCB) in OsTaskIsUnused()
262 STATIC INLINE BOOL OsTaskIsKilled(const LosTaskCB *taskCB) in OsTaskIsKilled()
267 STATIC INLINE BOOL OsTaskIsNotDelete(const LosTaskCB *taskCB) in OsTaskIsNotDelete()
272 STATIC INLINE BOOL OsTaskIsUserMode(const LosTaskCB *taskCB) in OsTaskIsUserMode()
297 LosTaskCB *runTask = OsCurrTaskGet(); in OsTaskWaitSetPendMask()
303 STATIC INLINE VOID OsTaskWakeClearPendMask(LosTaskCB *resumeTask) in OsTaskWakeClearPendMask()
309 extern UINT32 OsTaskSetDetachUnsafe(LosTaskCB *taskCB);
310 extern VOID OsTaskJoinPostUnsafe(LosTaskCB *taskCB);
311 extern UINT32 OsTaskJoinPendUnsafe(LosTaskCB *taskCB);
313 extern VOID OsTaskSchedule(LosTaskCB *, LosTaskCB *);
314 extern VOID OsTaskContextLoad(LosTaskCB *newTask);
320 extern LosTaskCB *OsGetMainTask(VOID);
326 extern INT32 OsSetTaskName(LosTaskCB *taskCB, const CHAR *name, BOOL setPName);
328 extern VOID OsRunningTaskToExit(LosTaskCB *runTask, UINT32 status);
329 extern INT32 OsUserTaskOperatePermissionsCheck(const LosTaskCB *taskCB);
330 extern INT32 OsUserProcessOperatePermissionsCheck(const LosTaskCB *taskCB, UINTPTR processCB);
331 extern INT32 OsTcbDispatch(LosTaskCB *stcb, siginfo_t *info);
335 extern VOID OsTaskInsertToRecycleList(LosTaskCB *taskCB);
336 extern VOID OsInactiveTaskDelete(LosTaskCB *taskCB);
338 extern LosTaskCB *OsGetDefaultTaskCB(VOID);