/kernel/liteos_a/kernel/base/core/ |
D | los_task.c | 133 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 …]
|
D | los_info.c | 53 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
|
D | los_process.c | 84 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/ |
D | los_deadline.c | 79 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 …]
|
D | los_idle.c | 69 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()
|
D | los_priority.c | 88 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 …]
|
D | los_statistics.c | 103 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
|
D | los_sched.c | 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() local 263 UINT32 OsSchedParamInit(LosTaskCB *taskCB, UINT16 policy, const SchedParam *parentParam, const LosS… in OsSchedParamInit()
|
/kernel/liteos_m/kernel/src/ |
D | los_task.c | 135 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 …]
|
D | los_sched.c | 76 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/ |
D | los_iar_tls.h | 40 #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/ |
D | trace_cnv.c | 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() 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/ |
D | los_backtrace.c | 87 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/ |
D | trace_cnv.c | 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() 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/ |
D | los_task_pri.h | 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()
|
D | los_sched_pri.h | 470 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 …]
|
D | los_process_pri.h | 161 #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/ |
D | process_syscall.c | 103 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/ |
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() 268 LosTaskCB *taskCB = NULL; in OsSigProcessForeachChild() local 507 LosTaskCB *taskCB = OsGetTaskCB(taskID); in OsTaskKillUnsafe() local
|
D | los_mux.c | 437 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/ |
D | los_config.h | 652 #define LOSCFG_TASK_CREATE_EXTENSION_HOOK(taskCB) argument 655 #define LOSCFG_TASK_DELETE_EXTENSION_HOOK(taskCB) argument
|
/kernel/liteos_m/arch/xtensa/lx6/gcc/ |
D | los_interrupt.c | 235 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/ |
D | los_pid_container.c | 170 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/ |
D | It_los_sem_035.c | 55 LosTaskCB *taskCB = NULL; in Testcase() local
|
/kernel/liteos_m/arch/arm/arm9/gcc/ |
D | los_context.c | 79 LosTaskCB *taskCB = OS_TCB_FROM_TID(taskID); in ArchTskStackInit() local
|