Home
last modified time | relevance | path

Searched defs:taskCB (Results 1 – 25 of 59) sorted by relevance

123

/kernel/liteos_a/kernel/base/core/
Dlos_task.c133 VOID OsTaskInsertToRecycleList(LosTaskCB *taskCB) in OsTaskInsertToRecycleList()
138 LITE_OS_SEC_TEXT_INIT VOID OsTaskJoinPostUnsafe(LosTaskCB *taskCB) in OsTaskJoinPostUnsafe()
150 LITE_OS_SEC_TEXT UINT32 OsTaskJoinPendUnsafe(LosTaskCB *taskCB) in OsTaskJoinPendUnsafe()
169 LITE_OS_SEC_TEXT UINT32 OsTaskSetDetachUnsafe(LosTaskCB *taskCB) in OsTaskSetDetachUnsafe()
271 STATIC INLINE UINT32 TaskSyncCreate(LosTaskCB *taskCB) in TaskSyncCreate()
294 STATIC INLINE UINT32 OsTaskSyncWait(const LosTaskCB *taskCB) in OsTaskSyncWait()
320 STATIC INLINE VOID OsTaskSyncWake(const LosTaskCB *taskCB) in OsTaskSyncWake()
329 STATIC INLINE VOID OsInsertTCBToFreeList(LosTaskCB *taskCB) in OsInsertTCBToFreeList()
349 STATIC VOID OsTaskResourcesToFree(LosTaskCB *taskCB) in OsTaskResourcesToFree()
403 LosTaskCB *taskCB = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&g_taskRecycleList)); in OsTaskCBRecycleToFree() local
[all …]
Dlos_info.c53 STATIC INLINE UINT32 GetCurrTid(const LosTaskCB *taskCB) in GetCurrTid()
66 LosTaskCB *taskCB = NULL; in GetProcessStatus() local
100 LosTaskCB *taskCB = processCB->threadGroup; in GetProcessInfo() local
139 LosTaskCB *taskCB = NULL; in GetThreadInfo() local
Dlos_process.c84 VOID OsDeleteTaskFromProcess(LosTaskCB *taskCB) in OsDeleteTaskFromProcess()
93 UINT32 OsProcessAddNewTask(UINTPTR processID, LosTaskCB *taskCB, SchedParam *param, UINT32 *numCoun… in OsProcessAddNewTask()
297 VOID OsWaitWakeTask(LosTaskCB *taskCB, UINTPTR wakePID) in OsWaitWakeTask()
309 LosTaskCB *taskCB = NULL; in OsWaitWakeSpecifiedProcess() local
341 LosTaskCB *taskCB = NULL; in OsWaitCheckAndWakeParentProcess() local
1026 LosTaskCB *taskCB = processCB->threadGroup; in OsSetProcessScheduler() local
1095 LosTaskCB *taskCB = processCB->threadGroup; in LOS_GetProcessScheduler() local
1160 LosTaskCB *taskCB = processCB->threadGroup; in OsGetProcessPriority() local
1181 LosTaskCB *taskCB = NULL; in OsWaitInsertWaitListInOrder() local
1770 LosTaskCB *taskCB = OsCurrTaskGet(); in OsExecStart() local
[all …]
/kernel/liteos_a/kernel/base/sched/
Dlos_deadline.c79 STATIC VOID EDFTimeSliceUpdate(SchedRunqueue *rq, LosTaskCB *taskCB, UINT64 currTime) in EDFTimeSliceUpdate()
118 STATIC UINT64 EDFTimeSliceGet(const LosTaskCB *taskCB) in EDFTimeSliceGet()
125 STATIC VOID DeadlineQueueInsert(EDFRunqueue *rq, LosTaskCB *taskCB) in DeadlineQueueInsert()
146 STATIC VOID EDFEnqueue(SchedRunqueue *rq, LosTaskCB *taskCB) in EDFEnqueue()
206 STATIC VOID EDFDequeue(SchedRunqueue *rq, LosTaskCB *taskCB) in EDFDequeue()
213 STATIC VOID EDFExit(LosTaskCB *taskCB) in EDFExit()
245 STATIC UINT64 EDFWaitTimeGet(LosTaskCB *taskCB) in EDFWaitTimeGet()
297 STATIC BOOL EDFSchedParamModify(LosTaskCB *taskCB, const SchedParam *param) in EDFSchedParamModify()
326 STATIC UINT32 EDFSchedParamGet(const LosTaskCB *taskCB, SchedParam *param) in EDFSchedParamGet()
336 STATIC UINT32 EDFSuspend(LosTaskCB *taskCB) in EDFSuspend()
[all …]
Dlos_idle.c69 STATIC VOID IdleTimeSliceUpdate(SchedRunqueue *rq, LosTaskCB *taskCB, UINT64 currTime) in IdleTimeSliceUpdate()
76 STATIC UINT64 IdleTimeSliceGet(const LosTaskCB *taskCB) in IdleTimeSliceGet()
82 STATIC VOID IdleEnqueue(SchedRunqueue *rq, LosTaskCB *taskCB) in IdleEnqueue()
90 STATIC VOID IdleDequeue(SchedRunqueue *rq, LosTaskCB *taskCB) in IdleDequeue()
97 STATIC VOID IdleStartToRun(SchedRunqueue *rq, LosTaskCB *taskCB) in IdleStartToRun()
136 STATIC UINT32 IdleResume(LosTaskCB *taskCB, BOOL *needSched) in IdleResume()
148 STATIC UINT32 IdleSchedParamGet(const LosTaskCB *taskCB, SchedParam *param) in IdleSchedParamGet()
178 VOID IdleTaskSchedParamInit(LosTaskCB *taskCB) in IdleTaskSchedParamInit()
Dlos_priority.c88 STATIC VOID HPFTimeSliceUpdate(SchedRunqueue *rq, LosTaskCB *taskCB, UINT64 currTime) in HPFTimeSliceUpdate()
117 STATIC UINT64 HPFTimeSliceGet(const LosTaskCB *taskCB) in HPFTimeSliceGet()
207 STATIC INLINE VOID PriQueInsert(HPFRunqueue *rq, LosTaskCB *taskCB) in PriQueInsert()
247 STATIC VOID HPFEnqueue(SchedRunqueue *rq, LosTaskCB *taskCB) in HPFEnqueue()
257 STATIC VOID HPFDequeue(SchedRunqueue *rq, LosTaskCB *taskCB) in HPFDequeue()
267 STATIC VOID HPFStartToRun(SchedRunqueue *rq, LosTaskCB *taskCB) in HPFStartToRun()
272 STATIC VOID HPFExit(LosTaskCB *taskCB) in HPFExit()
306 STATIC UINT64 HPFWaitTimeGet(LosTaskCB *taskCB) in HPFWaitTimeGet()
352 STATIC BOOL BasePriorityModify(SchedRunqueue *rq, LosTaskCB *taskCB, UINT16 priority) in BasePriorityModify()
374 STATIC BOOL HPFSchedParamModify(LosTaskCB *taskCB, const SchedParam *param) in HPFSchedParamModify()
[all …]
Dlos_statistics.c103 STATIC VOID SchedDataGet(const LosTaskCB *taskCB, UINT64 *runTime, UINT64 *timeSlice, in SchedDataGet()
148 LosTaskCB *taskCB = g_taskCBArray + tid; in OsShellShowSchedStatistics() local
202 LosTaskCB *taskCB = (LosTaskCB *)task; in EDFDebugRecord() local
316 LosTaskCB *taskCB = g_taskCBArray + tid; in OsShellShowEdfSchedStatistics() local
Dlos_sched.c103 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() local
263 UINT32 OsSchedParamInit(LosTaskCB *taskCB, UINT16 policy, const SchedParam *parentParam, const LosS… in OsSchedParamInit()
/kernel/liteos_m/kernel/src/
Dlos_task.c135 STATIC INLINE VOID OsInsertTCBToFreeList(LosTaskCB *taskCB) in OsInsertTCBToFreeList()
144 STATIC VOID OsRecycleTaskResources(LosTaskCB *taskCB, UINTPTR *stackPtr) in OsRecycleTaskResources()
162 LosTaskCB *taskCB = NULL; in OsRecycleFinishedTask() local
307 STATIC VOID PrintTskInfo(const LosTaskCB *taskCB) in PrintTskInfo()
361 LosTaskCB *taskCB = (LosTaskCB *)NULL; in OsGetAllTskInfo() local
671 LosTaskCB *taskCB = OS_TCB_FROM_TID(taskID); in OsTaskEntry() local
717 STATIC UINT32 OsNewTaskInit(LosTaskCB *taskCB, TSK_INIT_PARAM_S *taskInitParam) in OsNewTaskInit()
783 LosTaskCB *taskCB = NULL; in LOS_TaskCreateOnly() local
839 LosTaskCB *taskCB = NULL; in LOS_TaskCreate() local
869 LosTaskCB *taskCB = NULL; in LOS_TaskResume() local
[all …]
Dlos_sched.c76 STATIC INLINE VOID OsTimeSliceUpdate(LosTaskCB *taskCB, UINT64 currTime) in OsTimeSliceUpdate()
172 STATIC INLINE VOID OsSchedWakePendTimeTask(LosTaskCB *taskCB, BOOL *needSchedule) in OsSchedWakePendTimeTask()
211 LosTaskCB *taskCB = LOS_DL_LIST_ENTRY(sortList, LosTaskCB, sortList); in OsSchedScanTimerList() local
224 VOID OsSchedTaskEnQueue(LosTaskCB *taskCB) in OsSchedTaskEnQueue()
244 VOID OsSchedTaskDeQueue(LosTaskCB *taskCB) in OsSchedTaskDeQueue()
255 VOID OsSchedTaskExit(LosTaskCB *taskCB) in OsSchedTaskExit()
313 STATIC VOID OsSchedFreezeTask(LosTaskCB *taskCB) in OsSchedFreezeTask()
322 STATIC VOID OsSchedUnfreezeTask(LosTaskCB *taskCB) in OsSchedUnfreezeTask()
344 VOID OsSchedSuspend(LosTaskCB *taskCB) in OsSchedSuspend()
362 BOOL OsSchedResume(LosTaskCB *taskCB) in OsSchedResume()
[all …]
/kernel/liteos_m/components/iar_tls/
Dlos_iar_tls.h40 #define LOSCFG_TASK_CREATE_EXTENSION_HOOK(taskCB) argument
42 #define LOSCFG_TASK_DELETE_EXTENSION_HOOK(taskCB) do { \ argument
54 #define LOSCFG_TASK_CREATE_EXTENSION_HOOK(taskCB) argument
56 #define LOSCFG_TASK_DELETE_EXTENSION_HOOK(taskCB) do { \ argument
/kernel/liteos_m/components/trace/cnv/
Dtrace_cnv.c155 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()
178 STATIC VOID LOS_TraceTaskResume(const LosTaskCB *taskCB) in LOS_TraceTaskResume()
183 STATIC VOID LOS_TraceTaskSuspend(const LosTaskCB *taskCB) in LOS_TraceTaskSuspend()
/kernel/liteos_m/components/backtrace/
Dlos_backtrace.c87 LosTaskCB *taskCB = OS_TCB_FROM_TID(taskID); in OsStackAddrGet() local
108 LosTaskCB *taskCB = OS_TCB_FROM_TID(taskID); in OsStackAddrGet() local
166 LosTaskCB *taskCB = NULL; in IsValidFP() local
296 LosTaskCB *taskCB = OS_TCB_FROM_TID(taskID); in OsStackAddrGet() local
316 LosTaskCB *taskCB = OS_TCB_FROM_TID(taskID); in OsStackAddrGet() local
391 LosTaskCB *taskCB = OS_TCB_FROM_TID(taskID); in FindSuitableStack() local
505 LosTaskCB *taskCB = OS_TCB_FROM_TID(taskID); in FindSuitableStack() local
616 LosTaskCB *taskCB = NULL; in LOS_RecordLR() local
/kernel/liteos_a/kernel/extended/trace/cnv/
Dtrace_cnv.c156 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()
199 STATIC VOID LOS_TraceTaskResume(const LosTaskCB *taskCB) in LOS_TraceTaskResume()
210 STATIC VOID LOS_TraceTaskSuspend(const LosTaskCB *taskCB) in LOS_TraceTaskSuspend()
/kernel/liteos_a/kernel/base/include/
Dlos_task_pri.h257 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()
Dlos_sched_pri.h470 STATIC INLINE BOOL OsTaskIsRunning(const LosTaskCB *taskCB) in OsTaskIsRunning()
475 STATIC INLINE BOOL OsTaskIsReady(const LosTaskCB *taskCB) in OsTaskIsReady()
480 STATIC INLINE BOOL OsTaskIsInactive(const LosTaskCB *taskCB) in OsTaskIsInactive()
485 STATIC INLINE BOOL OsTaskIsPending(const LosTaskCB *taskCB) in OsTaskIsPending()
490 STATIC INLINE BOOL OsTaskIsSuspended(const LosTaskCB *taskCB) in OsTaskIsSuspended()
495 STATIC INLINE BOOL OsTaskIsBlocked(const LosTaskCB *taskCB) in OsTaskIsBlocked()
500 STATIC INLINE BOOL OsSchedPolicyIsEDF(const LosTaskCB *taskCB) in OsSchedPolicyIsEDF()
551 STATIC INLINE VOID OsSchedTimeoutQueueAdd(LosTaskCB *taskCB, UINT64 responseTime) in OsSchedTimeoutQueueAdd()
573 STATIC INLINE VOID OsSchedTimeoutQueueDelete(LosTaskCB *taskCB) in OsSchedTimeoutQueueDelete()
588 STATIC INLINE UINT32 OsSchedTimeoutQueueAdjust(LosTaskCB *taskCB, UINT64 responseTime) in OsSchedTimeoutQueueAdjust()
[all …]
Dlos_process_pri.h161 #define OS_PCB_FROM_TCB(taskCB) ((LosProcessCB *)((taskCB)->processCB)) argument
412 STATIC INLINE UINT32 OsProcessUserIDGet(const LosTaskCB *taskCB) in OsProcessUserIDGet()
426 STATIC INLINE BOOL OsIsProcessThreadGroup(const LosTaskCB *taskCB) in OsIsProcessThreadGroup()
431 STATIC INLINE UINT32 OsProcessThreadNumberGet(const LosTaskCB *taskCB) in OsProcessThreadNumberGet()
/kernel/liteos_a/syscall/
Dprocess_syscall.c103 LosTaskCB *taskCB = OS_TCB_FROM_TID(tid); in OsUserTaskSchedulerSet() local
159 LosTaskCB *taskCB = OS_TCB_FROM_TID(id); in SysSchedGetScheduler() local
233 LosTaskCB *taskCB = OS_TCB_FROM_TID(id); in SysSchedGetParam() local
359 LosTaskCB *taskCB = NULL; in SysSchedRRGetInterval() local
1177 LosTaskCB *taskCB = OsCurrTaskGet(); in SysSetThreadArea() local
1205 LosTaskCB *taskCB = OS_TCB_FROM_TID(taskID); in SysUserThreadSetDetach() local
1251 LosTaskCB *taskCB = OS_TCB_FROM_TID(taskID); in SysThreadJoin() local
/kernel/liteos_a/kernel/base/ipc/
Dlos_signal.c124 STATIC INLINE VOID OsSigWaitTaskWake(LosTaskCB *taskCB, INT32 signo) in OsSigWaitTaskWake()
136 STATIC UINT32 OsPendingTaskWake(LosTaskCB *taskCB, INT32 signo) in OsPendingTaskWake()
268 LosTaskCB *taskCB = NULL; in OsSigProcessForeachChild() local
507 LosTaskCB *taskCB = OsGetTaskCB(taskID); in OsTaskKillUnsafe() local
Dlos_mux.c437 STATIC UINT32 OsMuxPostOp(LosTaskCB *taskCB, LosMux *mutex, BOOL *needSched) in OsMuxPostOp()
462 UINT32 OsMuxUnlockUnsafe(LosTaskCB *taskCB, LosMux *mutex, BOOL *needSched) in OsMuxUnlockUnsafe()
/kernel/liteos_m/kernel/include/
Dlos_config.h652 #define LOSCFG_TASK_CREATE_EXTENSION_HOOK(taskCB) argument
655 #define LOSCFG_TASK_DELETE_EXTENSION_HOOK(taskCB) argument
/kernel/liteos_m/arch/xtensa/lx6/gcc/
Dlos_interrupt.c235 LosTaskCB *taskCB = OS_TCB_FROM_TID(LOS_CurTaskIDGet()); in OsExcCurTaskInfo() local
346 LosTaskCB *taskCB = g_losTask.runTask; in HalExcHandleEntry() local
/kernel/liteos_a/kernel/extended/container/
Dlos_pid_container.c170 VOID OsFreeVtid(LosTaskCB *taskCB) in OsFreeVtid()
187 UINT32 OsAllocVtid(LosTaskCB *taskCB, const LosProcessCB *processCB) in OsAllocVtid()
565 UINT32 OsGetVtidFromCurrContainer(const LosTaskCB *taskCB) in OsGetVtidFromCurrContainer()
/kernel/liteos_m/testsuites/sample/kernel/sem/
DIt_los_sem_035.c55 LosTaskCB *taskCB = NULL; in Testcase() local
/kernel/liteos_m/arch/arm/arm9/gcc/
Dlos_context.c79 LosTaskCB *taskCB = OS_TCB_FROM_TID(taskID); in ArchTskStackInit() local

123