/kernel/liteos_a/kernel/base/include/ |
D | los_task_pri.h | 178 #define OS_TCB_FROM_PENDLIST(ptr) LOS_DL_LIST_ENTRY(ptr, LosTaskCB, pendList) 195 #define OS_TCB_FROM_TID(taskID) (((LosTaskCB *)g_taskCBArray) + (taskID)) 208 LosTaskCB *runTask; 209 LosTaskCB *newTask; 214 LosTaskCB *defaultTcb; /**< Default TCB */ 215 LosTaskCB *unblockedTcb; /**< The signal unblock on this TCB*/ 216 LosTaskCB *awakenedTcb; /**< This TCB was awakened */ 217 LosTaskCB *receivedTcb; /**< This TCB received the signal */ 220 typedef int (*ForEachTaskCB)(LosTaskCB *tcb, void *arg); 234 extern LosTaskCB *g_taskCBArray; [all …]
|
D | los_sched_pri.h | 72 typedef struct TagTaskCB LosTaskCB; typedef 239 VOID (*dequeue)(SchedRunqueue *rq, LosTaskCB *taskCB); 240 VOID (*enqueue)(SchedRunqueue *rq, LosTaskCB *taskCB); 241 VOID (*start)(SchedRunqueue *rq, LosTaskCB *taskCB); 242 VOID (*exit)(LosTaskCB *taskCB); 243 UINT32 (*wait)(LosTaskCB *runTask, LOS_DL_LIST *list, UINT32 timeout); 244 VOID (*wake)(LosTaskCB *taskCB); 245 BOOL (*schedParamModify)(LosTaskCB *taskCB, const SchedParam *param); 246 UINT32 (*schedParamGet)(const LosTaskCB *taskCB, SchedParam *param); 247 UINT32 (*delay)(LosTaskCB *taskCB, UINT64 waitTime); [all …]
|
/kernel/liteos_a/kernel/base/sched/ |
D | los_idle.c | 34 STATIC VOID IdleDequeue(SchedRunqueue *rq, LosTaskCB *taskCB); 35 STATIC VOID IdleEnqueue(SchedRunqueue *rq, LosTaskCB *taskCB); 36 STATIC UINT32 IdleWait(LosTaskCB *runTask, LOS_DL_LIST *list, UINT32 ticks); 37 STATIC VOID IdleWake(LosTaskCB *resumedTask); 38 STATIC UINT32 IdleSchedParamGet(const LosTaskCB *taskCB, SchedParam *param); 39 STATIC VOID IdleYield(LosTaskCB *runTask); 40 STATIC VOID IdleStartToRun(SchedRunqueue *rq, LosTaskCB *taskCB); 41 STATIC UINT32 IdleResume(LosTaskCB *taskCB, BOOL *needSched); 42 STATIC UINT64 IdleTimeSliceGet(const LosTaskCB *taskCB); 43 STATIC VOID IdleTimeSliceUpdate(SchedRunqueue *rq, LosTaskCB *taskCB, UINT64 currTime); [all …]
|
D | los_priority.c | 48 STATIC VOID HPFDequeue(SchedRunqueue *rq, LosTaskCB *taskCB); 49 STATIC VOID HPFEnqueue(SchedRunqueue *rq, LosTaskCB *taskCB); 50 STATIC UINT32 HPFWait(LosTaskCB *runTask, LOS_DL_LIST *list, UINT32 ticks); 51 STATIC VOID HPFWake(LosTaskCB *resumedTask); 52 STATIC BOOL HPFSchedParamModify(LosTaskCB *taskCB, const SchedParam *param); 53 STATIC UINT32 HPFSchedParamGet(const LosTaskCB *taskCB, SchedParam *param); 54 STATIC UINT32 HPFDelay(LosTaskCB *runTask, UINT64 waitTime); 55 STATIC VOID HPFYield(LosTaskCB *runTask); 56 STATIC VOID HPFStartToRun(SchedRunqueue *rq, LosTaskCB *taskCB); 57 STATIC VOID HPFExit(LosTaskCB *taskCB); [all …]
|
D | los_sched.c | 96 LosTaskCB *runTask = OsCurrTaskGet(); in OsSchedExpireTimeUpdate() 103 STATIC INLINE VOID SchedTimeoutTaskWake(SchedRunqueue *rq, UINT64 currTime, LosTaskCB *taskCB, BOOL… in SchedTimeoutTaskWake() 156 LosTaskCB *taskCB = LOS_DL_LIST_ENTRY(sortList, LosTaskCB, sortList); in SchedTimeoutQueueScan() 233 INT32 OsSchedParamCompare(const LosTaskCB *task1, const LosTaskCB *task2) in OsSchedParamCompare() 250 UINT32 OsSchedParamInit(LosTaskCB *taskCB, UINT16 policy, const SchedParam *parentParam, const TSK_… in OsSchedParamInit() 282 STATIC LosTaskCB *TopTaskGet(SchedRunqueue *rq) in TopTaskGet() 284 LosTaskCB *newTask = HPFRunqueueTopTaskGet(rq->hpfRunqueue); in TopTaskGet() 306 LosTaskCB *newTask = TopTaskGet(rq); in OsSchedStart() 344 STATIC VOID TaskStackCheck(LosTaskCB *runTask, LosTaskCB *newTask) in TaskStackCheck() 358 STATIC INLINE VOID SchedSwitchCheck(LosTaskCB *runTask, LosTaskCB *newTask) in SchedSwitchCheck() [all …]
|
D | los_statistics.c | 102 STATIC VOID SchedDataGet(const LosTaskCB *taskCB, UINT64 *runTime, UINT64 *timeSlice, in SchedDataGet() 130 LosTaskCB task; in OsShellShowSchedStatistics() 146 LosTaskCB *taskCB = g_taskCBArray + tid; in OsShellShowSchedStatistics() 153 (VOID)memcpy_s(&task, sizeof(LosTaskCB), taskCB, sizeof(LosTaskCB)); in OsShellShowSchedStatistics()
|
/kernel/liteos_m/kernel/include/ |
D | los_sched.h | 54 VOID OsSchedSetIdleTaskSchedParam(LosTaskCB *idleTask); 62 VOID OsSchedTaskDeQueue(LosTaskCB *taskCB); 64 VOID OsSchedTaskEnQueue(LosTaskCB *taskCB); 68 VOID OsSchedTaskWake(LosTaskCB *resumedTask); 70 BOOL OsSchedModifyTaskSchedParam(LosTaskCB *taskCB, UINT16 priority); 72 VOID OsSchedDelay(LosTaskCB *runTask, UINT32 tick); 76 VOID OsSchedTaskExit(LosTaskCB *taskCB); 78 VOID OsSchedSuspend(LosTaskCB *taskCB); 80 BOOL OsSchedResume(LosTaskCB *taskCB); 90 LosTaskCB *OsGetTopTask(VOID);
|
D | los_task.h | 1450 #define OS_TCB_FROM_PENDLIST(ptr) LOS_DL_LIST_ENTRY(ptr, LosTaskCB, pendList) 1467 #define OS_TCB_FROM_TID(taskID) (((LosTaskCB *)g_taskCBArray) + (taskID)) 1506 } LosTaskCB; typedef 1508 STATIC INLINE BOOL OsTaskIsExit(const LosTaskCB *taskCB) in OsTaskIsExit() 1514 LosTaskCB *runTask; 1515 LosTaskCB *newTask; 1529 LosTaskCB *task; /**< Current running task */ 1598 extern LosTaskCB *g_taskCBArray; 1786 STATIC INLINE LosTaskCB *OsCurrTaskGet(VOID) in OsCurrTaskGet()
|
/kernel/liteos_m/kernel/src/ |
D | los_sched.c | 76 STATIC INLINE VOID OsTimeSliceUpdate(LosTaskCB *taskCB, UINT64 currTime) in OsTimeSliceUpdate() 123 LosTaskCB *runTask = g_losTask.runTask; in OsSchedUpdateExpireTime() 172 STATIC INLINE VOID OsSchedWakePendTimeTask(LosTaskCB *taskCB, BOOL *needSchedule) in OsSchedWakePendTimeTask() 211 LosTaskCB *taskCB = LOS_DL_LIST_ENTRY(sortList, LosTaskCB, sortList); in OsSchedScanTimerList() 224 VOID OsSchedTaskEnQueue(LosTaskCB *taskCB) in OsSchedTaskEnQueue() 244 VOID OsSchedTaskDeQueue(LosTaskCB *taskCB) in OsSchedTaskDeQueue() 255 VOID OsSchedTaskExit(LosTaskCB *taskCB) in OsSchedTaskExit() 273 LosTaskCB *runTask = g_losTask.runTask; in OsSchedYield() 278 VOID OsSchedDelay(LosTaskCB *runTask, UINT32 tick) in OsSchedDelay() 286 LosTaskCB *runTask = g_losTask.runTask; in OsSchedTaskWait() [all …]
|
D | los_task.c | 100 LITE_OS_SEC_BSS LosTaskCB *g_taskCBArray = NULL; 135 STATIC INLINE VOID OsInsertTCBToFreeList(LosTaskCB *taskCB) in OsInsertTCBToFreeList() 138 (VOID)memset_s(taskCB, sizeof(LosTaskCB), 0, sizeof(LosTaskCB)); in OsInsertTCBToFreeList() 144 STATIC VOID OsRecycleTaskResources(LosTaskCB *taskCB, UINTPTR *stackPtr) in OsRecycleTaskResources() 162 LosTaskCB *taskCB = NULL; in OsRecycleFinishedTask() 342 LosTaskCB *taskCB = (LosTaskCB *)NULL; in OsGetAllTskInfo() 365 taskCB = (((LosTaskCB *)g_taskCBArray) + loopNum); in OsGetAllTskInfo() 413 size = (g_taskMaxNum + 1) * sizeof(LosTaskCB); in OsTaskInit() 414 g_taskCBArray = (LosTaskCB *)LOS_MemAlloc(m_aucSysMem0, size); in OsTaskInit() 541 LosTaskCB *tmp = NULL; in OsHandleNewTaskStackOverflow() [all …]
|
D | los_event.c | 101 LosTaskCB *runTsk = NULL; in LOS_EventRead() 150 LosTaskCB *resumedTask = NULL; in LOS_EventWrite() 151 LosTaskCB *nextTask = (LosTaskCB *)NULL; in LOS_EventWrite() 167 for (resumedTask = LOS_DL_LIST_ENTRY((&eventCB->stEventList)->pstNext, LosTaskCB, pendList); in LOS_EventWrite() 169 nextTask = LOS_DL_LIST_ENTRY(resumedTask->pendList.pstNext, LosTaskCB, pendList); in LOS_EventWrite()
|
D | los_mux.c | 71 muxNode->owner = (LosTaskCB *)NULL; in OsMuxInit() 112 muxCreated->owner = (LosTaskCB *)NULL; in LOS_MuxCreate() 200 LosTaskCB *runningTask = NULL; in LOS_MuxPend() 213 runningTask = (LosTaskCB *)g_losTask.runTask; in LOS_MuxPend() 275 LosTaskCB *resumedTask = NULL; in LOS_MuxPost() 276 LosTaskCB *runningTask = NULL; in LOS_MuxPost() 291 runningTask = (LosTaskCB *)g_losTask.runTask; in LOS_MuxPost()
|
/kernel/liteos_a/kernel/base/core/ |
D | los_task.c | 69 LITE_OS_SEC_BSS LosTaskCB *g_taskCBArray; 82 LITE_OS_SEC_BSS STATIC LosTaskCB g_mainTask[LOSCFG_KERNEL_CORE_NUM]; 84 LosTaskCB *OsGetMainTask() in OsGetMainTask() 86 return (LosTaskCB *)(g_mainTask + ArchCurrCpuid()); in OsGetMainTask() 120 VOID OsTaskInsertToRecycleList(LosTaskCB *taskCB) in OsTaskInsertToRecycleList() 125 LITE_OS_SEC_TEXT_INIT VOID OsTaskJoinPostUnsafe(LosTaskCB *taskCB) in OsTaskJoinPostUnsafe() 129 LosTaskCB *resumedTask = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&(taskCB->joinList))); in OsTaskJoinPostUnsafe() 137 LITE_OS_SEC_TEXT UINT32 OsTaskJoinPendUnsafe(LosTaskCB *taskCB) in OsTaskJoinPendUnsafe() 149 LosTaskCB *runTask = OsCurrTaskGet(); in OsTaskJoinPendUnsafe() 156 LITE_OS_SEC_TEXT UINT32 OsTaskSetDetachUnsafe(LosTaskCB *taskCB) in OsTaskSetDetachUnsafe() [all …]
|
/kernel/liteos_a/kernel/base/ipc/ |
D | los_rwlock.c | 110 LosTaskCB *runTask = (LosTaskCB *)OsCurrTaskGet(); in OsRwlockCheck() 118 STATIC BOOL OsRwlockPriCompare(LosTaskCB *runTask, LOS_DL_LIST *rwList) in OsRwlockPriCompare() 121 LosTaskCB *highestTask = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(rwList)); in OsRwlockPriCompare() 130 STATIC UINT32 OsRwlockRdPendOp(LosTaskCB *runTask, LosRwlock *rwlock, UINT32 timeout) in OsRwlockRdPendOp() 157 if ((LosTaskCB *)(rwlock->writeOwner) == runTask) { in OsRwlockRdPendOp() 174 STATIC UINT32 OsRwlockWrPendOp(LosTaskCB *runTask, LosRwlock *rwlock, UINT32 timeout) in OsRwlockWrPendOp() 186 if ((rwlock->rwCount < 0) && ((LosTaskCB *)(rwlock->writeOwner) == runTask)) { in OsRwlockWrPendOp() 230 LosTaskCB *runTask = OsCurrTaskGet(); in OsRwlockTryRdUnsafe() 231 if ((LosTaskCB *)(rwlock->writeOwner) == runTask) { in OsRwlockTryRdUnsafe() 274 LosTaskCB *runTask = OsCurrTaskGet(); in OsRwlockTryWrUnsafe() [all …]
|
D | los_mux.c | 260 STATIC VOID OsMuxBitmapSet(const LosMux *mutex, const LosTaskCB *runTask) in OsMuxBitmapSet() 267 LosTaskCB *owner = (LosTaskCB *)mutex->owner; in OsMuxBitmapSet() 275 VOID OsMuxBitmapRestore(const LosMux *mutex, const LOS_DL_LIST *list, const LosTaskCB *runTask) in OsMuxBitmapRestore() 282 LosTaskCB *owner = (LosTaskCB *)mutex->owner; in OsMuxBitmapRestore() 287 STATIC UINT32 OsMuxPendOp(LosTaskCB *runTask, LosMux *mutex, UINT32 timeout) in OsMuxPendOp() 311 if (((LosTaskCB *)mutex->owner == runTask) && (mutex->attr.type == LOS_MUX_RECURSIVE)) { in OsMuxPendOp() 346 LosTaskCB *runTask = OsCurrTaskGet(); in OsMuxLockUnsafe() 365 LosTaskCB *runTask = OsCurrTaskGet(); in OsMuxTrylockUnsafe() 376 (((LosTaskCB *)mutex->owner != runTask) || (mutex->attr.type != LOS_MUX_RECURSIVE))) { in OsMuxTrylockUnsafe() 385 LosTaskCB *runTask = NULL; in LOS_MuxLock() [all …]
|
D | los_signal.c | 124 STATIC INLINE VOID OsSigWaitTaskWake(LosTaskCB *taskCB, INT32 signo) in OsSigWaitTaskWake() 136 STATIC UINT32 OsPendingTaskWake(LosTaskCB *taskCB, INT32 signo) in OsPendingTaskWake() 175 int OsTcbDispatch(LosTaskCB *stcb, siginfo_t *info) in OsTcbDispatch() 204 void OsSigMaskSwitch(LosTaskCB * const rtcb, sigset_t set) in OsSigMaskSwitch() 219 LosTaskCB *spcb = NULL; in OsSigprocMask() 268 LosTaskCB *taskCB = NULL; in OsSigProcessForeachChild() 269 LOS_DL_LIST_FOR_EACH_ENTRY(taskCB, &(spcb->threadSiblingList), LosTaskCB, threadList) { in OsSigProcessForeachChild() 276 static int SigProcessSignalHandler(LosTaskCB *tcb, void *arg) in SigProcessSignalHandler() 321 static int SigProcessKillSigHandler(LosTaskCB *tcb, void *arg) in SigProcessKillSigHandler() 330 LosTaskCB *tcb = NULL; in SigProcessLoadTcb() [all …]
|
/kernel/liteos_a/kernel/extended/hook/include/ |
D | los_hook_types.h | 75 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_SEM_POST, (const LosSemCB *semPosted, const LosTaskCB *resumedTask… 76 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_SEM_PEND, (const LosSemCB *semPended, const LosTaskCB *runningTask… 85 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_TASK_CREATE, (const LosTaskCB *taskCB)) … 87 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_TASK_PRIMODIFY, (const LosTaskCB *pxTask, UINT32 uxNewPriority)) … 88 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_TASK_DELETE, (const LosTaskCB *taskCB)) … 89 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_TASK_SWITCHEDIN, (const LosTaskCB *newTask, const LosTaskCB *runTa… 90 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_MOVEDTASKTOREADYSTATE, (const LosTaskCB *pstTaskCB)) … 91 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_MOVEDTASKTODELAYEDLIST, (const LosTaskCB *pstTaskCB)) … 92 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_MOVEDTASKTOSUSPENDEDLIST, (const LosTaskCB *pstTaskCB)) …
|
/kernel/liteos_m/utils/internal/ |
D | los_hook_types.h | 77 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_SEM_POST, (const LosSemCB *semPosted, const LosTaskCB *resumedTask… 78 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_SEM_PEND, (const LosSemCB *semPended, const LosTaskCB *runningTask… 87 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_TASK_CREATE, (const LosTaskCB *taskCB)) … 89 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_TASK_PRIMODIFY, (const LosTaskCB *pxTask, UINT32 uxNewPriority)) … 90 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_TASK_DELETE, (const LosTaskCB *taskCB)) … 92 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_MOVEDTASKTOREADYSTATE, (const LosTaskCB *pstTaskCB)) … 93 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_MOVEDTASKTODELAYEDLIST, (const LosTaskCB *pstTaskCB)) … 94 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_MOVEDTASKTOSUSPENDEDLIST, (const LosTaskCB *pstTaskCB)) …
|
/kernel/liteos_a/kernel/base/mp/ |
D | los_lockdep.c | 130 STATIC VOID OsLockDepDumpLock(const LosTaskCB *task, const SPIN_LOCK_S *lock, in OsLockDepDumpLock() 135 const LosTaskCB *temp = task; in OsLockDepDumpLock() 168 STATIC BOOL OsLockDepCheckDependency(const LosTaskCB *current, LosTaskCB *lockOwner) in OsLockDepCheckDependency() 194 LosTaskCB *current = OsCurrTaskGet(); in OsLockDepCheckIn() 196 LosTaskCB *lockOwner = NULL; in OsLockDepCheckIn() 244 LosTaskCB *current = OsCurrTaskGet(); in OsLockDepRecord() 276 LosTaskCB *current = OsCurrTaskGet(); in OsLockDepCheckOut() 277 LosTaskCB *owner = NULL; in OsLockDepCheckOut() 323 LosTaskCB *task = OsCurrTaskGet(); in OsLockdepClearSpinlocks()
|
/kernel/liteos_m/components/debugtools/ |
D | los_debugtools.h | 59 typedef void (*SchedTraceRecordCB)(LosTaskCB *newTask, LosTaskCB *runTask); 70 extern VOID OsSchedTraceRecord(LosTaskCB *newTask, LosTaskCB *runTask);
|
/kernel/liteos_m/kal/cmsis/ |
D | cmsis_liteos2.c | 297 LosTaskCB *pstTaskCB = NULL; in osThreadGetName() 303 pstTaskCB = (LosTaskCB *)thread_id; in osThreadGetName() 319 LosTaskCB *taskCb = (LosTaskCB *)osThreadGetId(); in osThreadGetArgument() 330 LosTaskCB *pstTaskCB = NULL; in osThreadGetState() 336 pstTaskCB = (LosTaskCB *)thread_id; in osThreadGetState() 358 LosTaskCB *pstTaskCB = NULL; in osThreadGetStackSize() 364 pstTaskCB = (LosTaskCB *)thread_id; in osThreadGetStackSize() 374 LosTaskCB *pstTaskCB = NULL; in osTaskStackWaterMarkGet() 404 LosTaskCB *pstTaskCB = NULL; in osThreadGetStackSpace() 410 pstTaskCB = (LosTaskCB *)thread_id; in osThreadGetStackSpace() [all …]
|
/kernel/liteos_m/components/trace/cnv/ |
D | trace_cnv.c | 115 STATIC VOID LOS_TraceSemPost(const LosSemCB *semCB, const LosTaskCB *resumedTask) in LOS_TraceSemPost() 121 STATIC VOID LOS_TraceSemPend(const LosSemCB *semCB, const LosTaskCB *runningTask, UINT32 timeout) in LOS_TraceSemPend() 155 STATIC VOID LOS_TraceTaskCreate(const LosTaskCB *taskCB) in LOS_TraceTaskCreate() 160 STATIC VOID LOS_TraceTaskPriModify(const LosTaskCB *taskCB, UINT32 prio) in LOS_TraceTaskPriModify() 165 STATIC VOID LOS_TraceTaskDelete(const LosTaskCB *taskCB) in LOS_TraceTaskDelete() 172 LosTaskCB *newTask = g_losTask.newTask; in LOS_TraceTaskSwitchedIn() 173 LosTaskCB *runTask = g_losTask.runTask; in LOS_TraceTaskSwitchedIn() 178 STATIC VOID LOS_TraceTaskResume(const LosTaskCB *taskCB) in LOS_TraceTaskResume() 183 STATIC VOID LOS_TraceTaskSuspend(const LosTaskCB *taskCB) in LOS_TraceTaskSuspend()
|
/kernel/liteos_a/kernel/extended/trace/cnv/ |
D | trace_cnv.c | 116 STATIC VOID LOS_TraceSemPost(const LosSemCB *semCB, const LosTaskCB *resumedTask) in LOS_TraceSemPost() 122 STATIC VOID LOS_TraceSemPend(const LosSemCB *semCB, const LosTaskCB *runningTask, UINT32 timeout) in LOS_TraceSemPend() 141 (muxCB->owner == NULL) ? 0xffffffff : ((LosTaskCB *)muxCB->owner)->taskID); in LOS_TraceMuxPost() 147 (muxCB->owner == NULL) ? 0xffffffff : ((LosTaskCB *)muxCB->owner)->taskID, timeout); in LOS_TraceMuxPend() 153 (muxCB->owner == NULL) ? 0xffffffff : ((LosTaskCB *)muxCB->owner)->taskID); in LOS_TraceMuxDelete() 156 STATIC VOID LOS_TraceTaskCreate(const LosTaskCB *taskCB) in LOS_TraceTaskCreate() 167 STATIC VOID LOS_TraceTaskPriModify(const LosTaskCB *taskCB, UINT32 prio) in LOS_TraceTaskPriModify() 179 STATIC VOID LOS_TraceTaskDelete(const LosTaskCB *taskCB) in LOS_TraceTaskDelete() 184 STATIC VOID LOS_TraceTaskSwitchedIn(const LosTaskCB *newTask, const LosTaskCB *runTask) in LOS_TraceTaskSwitchedIn() 199 STATIC VOID LOS_TraceTaskResume(const LosTaskCB *taskCB) in LOS_TraceTaskResume() [all …]
|
/kernel/liteos_m/components/signal/ |
D | los_signal.c | 45 LosTaskCB *task = OsCurrTaskGet(); in OsSignalTaskContextRestore() 112 STATIC VOID SignalHandle(LosTaskCB *task, BOOL cleanStatus) in SignalHandle() 148 LosTaskCB *task = OsCurrTaskGet(); in SignalEntry() 161 STATIC VOID SignalSend(LosTaskCB *task, INT32 sigNo) in SignalSend() 204 STATIC OsSigCB *SignalCBInit(LosTaskCB *task) in SignalCBInit() 233 LosTaskCB *task = OsCurrTaskGet(); in LOS_SignalSet() 270 LosTaskCB *task = OsCurrTaskGet(); in LOS_SignalMask() 312 STATIC INLINE UINT32 SignalTimedWait(LosTaskCB *task, const sigset_t *set, UINT32 timeout, UINT32 *… in SignalTimedWait() 351 LosTaskCB *task = OsCurrTaskGet(); in LOS_SignalWait() 397 LosTaskCB *task = NULL; in LOS_SignalSend()
|
/kernel/liteos_a/kernel/base/misc/ |
D | task_shellcmd.c | 76 #define OS_TASK_INFO_LEN (g_taskMaxNum * sizeof(LosTaskCB)) 78 #define OS_TASK_ALL_INFO_LEN (g_taskMaxNum * (sizeof(LosTaskCB) + sizeof(UINT32) + sizeof(Sche… 250 STATIC VOID ProcessInfoGet(LosProcessCB **pcbArray, LosTaskCB **tcbArray, SchedParam **schedParam) in ProcessInfoGet() 258 const LosTaskCB *taskCB = *tcbArray + tid; in ProcessInfoGet() 340 STATIC VOID TaskWaterLineGet(UINTPTR waterLineBase, LosTaskCB *tcbArray) in TaskWaterLineGet() 346 const LosTaskCB *taskCB = g_taskCBArray + tid; in TaskWaterLineGet() 363 STATIC CHAR *CheckTaskWaitFlag(const LosTaskCB *taskCB, UINTPTR *lockID) in CheckTaskWaitFlag() 398 STATIC VOID TaskPendingReasonInfoGet(const LosTaskCB *taskCB, CHAR *pendReason, UINT32 maxLen, UINT… in TaskPendingReasonInfoGet() 414 LosTaskCB *owner = ((LosMux *)taskCB->taskMux)->owner; in TaskPendingReasonInfoGet() 451 STATIC VOID AllTaskInfoDataShow(const LosTaskCB *allTaskArray, UINTPTR cpupInfo, VOID *seqBuf, UINT… in AllTaskInfoDataShow() [all …]
|