Home
last modified time | relevance | path

Searched refs:LosTaskCB (Results 1 – 25 of 115) sorted by relevance

12345

/kernel/liteos_a/kernel/base/include/
Dlos_task_pri.h179 #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;
[all …]
Dlos_sched_pri.h79 typedef struct TagTaskCB LosTaskCB; typedef
117 LosTaskCB *idleTask; /* idle task id */
216 STATIC INLINE LosTaskCB *OsSchedRunqueueIdleGet(VOID) in OsSchedRunqueueIdleGet()
275 VOID (*dequeue)(SchedRunqueue *rq, LosTaskCB *taskCB);
276 VOID (*enqueue)(SchedRunqueue *rq, LosTaskCB *taskCB);
277 VOID (*start)(SchedRunqueue *rq, LosTaskCB *taskCB);
278 VOID (*exit)(LosTaskCB *taskCB);
279 UINT64 (*waitTimeGet)(LosTaskCB *taskCB);
280 UINT32 (*wait)(LosTaskCB *runTask, LOS_DL_LIST *list, UINT32 timeout);
281 VOID (*wake)(LosTaskCB *taskCB);
[all …]
Dlos_pid_container_pri.h37 typedef struct TagTaskCB LosTaskCB; typedef
94 LosTaskCB *OsGetTCBFromVtid(UINT32 vtid);
100 UINT32 OsGetVtidFromCurrContainer(const LosTaskCB *taskCB);
102 VOID OsFreeVtid(LosTaskCB *taskCB);
104 UINT32 OsAllocVtid(LosTaskCB *taskCB, const LosProcessCB *processCB);
/kernel/liteos_a/kernel/base/sched/
Dlos_idle.c34 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 …]
Dlos_deadline.c40 STATIC VOID EDFDequeue(SchedRunqueue *rq, LosTaskCB *taskCB);
41 STATIC VOID EDFEnqueue(SchedRunqueue *rq, LosTaskCB *taskCB);
42 STATIC UINT64 EDFWaitTimeGet(LosTaskCB *taskCB);
43 STATIC UINT32 EDFWait(LosTaskCB *runTask, LOS_DL_LIST *list, UINT32 ticks);
44 STATIC VOID EDFWake(LosTaskCB *resumedTask);
45 STATIC BOOL EDFSchedParamModify(LosTaskCB *taskCB, const SchedParam *param);
46 STATIC UINT32 EDFSchedParamGet(const LosTaskCB *taskCB, SchedParam *param);
47 STATIC UINT32 EDFDelay(LosTaskCB *runTask, UINT64 waitTime);
48 STATIC VOID EDFYield(LosTaskCB *runTask);
49 STATIC VOID EDFExit(LosTaskCB *taskCB);
[all …]
Dlos_priority.c48 STATIC VOID HPFDequeue(SchedRunqueue *rq, LosTaskCB *taskCB);
49 STATIC VOID HPFEnqueue(SchedRunqueue *rq, LosTaskCB *taskCB);
50 STATIC UINT64 HPFWaitTimeGet(LosTaskCB *taskCB);
51 STATIC UINT32 HPFWait(LosTaskCB *runTask, LOS_DL_LIST *list, UINT32 ticks);
52 STATIC VOID HPFWake(LosTaskCB *resumedTask);
53 STATIC BOOL HPFSchedParamModify(LosTaskCB *taskCB, const SchedParam *param);
54 STATIC UINT32 HPFSchedParamGet(const LosTaskCB *taskCB, SchedParam *param);
55 STATIC UINT32 HPFDelay(LosTaskCB *runTask, UINT64 waitTime);
56 STATIC VOID HPFYield(LosTaskCB *runTask);
57 STATIC VOID HPFStartToRun(SchedRunqueue *rq, LosTaskCB *taskCB);
[all …]
Dlos_sched.c96 LosTaskCB *runTask = OsCurrTaskGet(); in OsSchedExpireTimeUpdate()
103 STATIC INLINE VOID SchedTimeoutTaskWake(SchedRunqueue *rq, UINT64 currTime, LosTaskCB *taskCB, BOOL… in SchedTimeoutTaskWake()
167 LosTaskCB *taskCB = LOS_DL_LIST_ENTRY(sortList, LosTaskCB, sortList); in SchedTimeoutQueueScan()
218 VOID OsSchedRunqueueIdleInit(LosTaskCB *idleTask) in OsSchedRunqueueIdleInit()
246 INT32 OsSchedParamCompare(const LosTaskCB *task1, const LosTaskCB *task2) in OsSchedParamCompare()
263 UINT32 OsSchedParamInit(LosTaskCB *taskCB, UINT16 policy, const SchedParam *parentParam, const LosS… in OsSchedParamInit()
300 STATIC LosTaskCB *TopTaskGet(SchedRunqueue *rq) in TopTaskGet()
302 LosTaskCB *newTask = EDFRunqueueTopTaskGet(rq->edfRunqueue); in TopTaskGet()
331 LosTaskCB *newTask = TopTaskGet(rq); in OsSchedStart()
369 STATIC VOID TaskStackCheck(LosTaskCB *runTask, LosTaskCB *newTask) in TaskStackCheck()
[all …]
Dlos_statistics.c103 STATIC VOID SchedDataGet(const LosTaskCB *taskCB, UINT64 *runTime, UINT64 *timeSlice, in SchedDataGet()
131 LosTaskCB task; in OsShellShowSchedStatistics()
148 LosTaskCB *taskCB = g_taskCBArray + tid; in OsShellShowSchedStatistics()
161 (VOID)memcpy_s(&task, sizeof(LosTaskCB), taskCB, sizeof(LosTaskCB)); in OsShellShowSchedStatistics()
202 LosTaskCB *taskCB = (LosTaskCB *)task; in EDFDebugRecord()
306 LosTaskCB task; in OsShellShowEdfSchedStatistics()
316 LosTaskCB *taskCB = g_taskCBArray + tid; in OsShellShowEdfSchedStatistics()
329 (VOID)memcpy_s(&task, sizeof(LosTaskCB), taskCB, sizeof(LosTaskCB)); in OsShellShowEdfSchedStatistics()
/kernel/liteos_m/kernel/include/
Dlos_sched.h54 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);
Dlos_task.h1450 #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_a/kernel/base/core/
Dlos_task.c72 LITE_OS_SEC_BSS LosTaskCB *g_taskCBArray;
85 LITE_OS_SEC_BSS STATIC LosTaskCB g_mainTask[LOSCFG_KERNEL_CORE_NUM];
87 LosTaskCB *OsGetMainTask(VOID) in OsGetMainTask()
89 return (LosTaskCB *)(g_mainTask + ArchCurrCpuid()); in OsGetMainTask()
133 VOID OsTaskInsertToRecycleList(LosTaskCB *taskCB) in OsTaskInsertToRecycleList()
138 LITE_OS_SEC_TEXT_INIT VOID OsTaskJoinPostUnsafe(LosTaskCB *taskCB) in OsTaskJoinPostUnsafe()
142 LosTaskCB *resumedTask = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&(taskCB->joinList))); in OsTaskJoinPostUnsafe()
150 LITE_OS_SEC_TEXT UINT32 OsTaskJoinPendUnsafe(LosTaskCB *taskCB) in OsTaskJoinPendUnsafe()
162 LosTaskCB *runTask = OsCurrTaskGet(); in OsTaskJoinPendUnsafe()
169 LITE_OS_SEC_TEXT UINT32 OsTaskSetDetachUnsafe(LosTaskCB *taskCB) in OsTaskSetDetachUnsafe()
[all …]
/kernel/liteos_m/kernel/src/
Dlos_sched.c76 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 …]
Dlos_task.c100 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()
307 STATIC VOID PrintTskInfo(const LosTaskCB *taskCB) in PrintTskInfo()
361 LosTaskCB *taskCB = (LosTaskCB *)NULL; in OsGetAllTskInfo()
383 taskCB = (((LosTaskCB *)g_taskCBArray) + loopNum); in OsGetAllTskInfo()
427 size = (g_taskMaxNum + 1) * sizeof(LosTaskCB); in OsTaskInit()
428 g_taskCBArray = (LosTaskCB *)LOS_MemAlloc(m_aucSysMem0, size); in OsTaskInit()
[all …]
Dlos_event.c101 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()
/kernel/liteos_a/kernel/base/ipc/
Dlos_rwlock.c110 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 …]
Dlos_mux.c260 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 …]
Dlos_signal.c124 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/
Dlos_hook_types.h75 …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/
Dlos_hook_types.h81 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_SEM_POST, (const LosSemCB *semPosted, const LosTaskCB *resumedTask…
82 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_SEM_PEND, (const LosSemCB *semPended, const LosTaskCB *runningTask…
91 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_TASK_CREATE, (const LosTaskCB *taskCB)) …
93 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_TASK_PRIMODIFY, (const LosTaskCB *pxTask, UINT32 uxNewPriority)) …
94 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_TASK_DELETE, (const LosTaskCB *taskCB)) …
96 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_MOVEDTASKTOREADYSTATE, (const LosTaskCB *pstTaskCB)) …
97 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_MOVEDTASKTODELAYEDLIST, (const LosTaskCB *pstTaskCB)) …
98 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_MOVEDTASKTOSUSPENDEDLIST, (const LosTaskCB *pstTaskCB)) …
/kernel/liteos_a/kernel/base/mp/
Dlos_lockdep.c130 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/
Dlos_debugtools.h59 typedef void (*SchedTraceRecordCB)(LosTaskCB *newTask, LosTaskCB *runTask);
70 extern VOID OsSchedTraceRecord(LosTaskCB *newTask, LosTaskCB *runTask);
/kernel/liteos_m/kal/cmsis/
Dcmsis_liteos2.c297 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/
Dtrace_cnv.c115 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/
Dtrace_cnv.c116 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/
Dlos_signal.c45 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()

12345