/kernel/uniproton/src/core/kernel/task/ |
H A D | prt_amp_task_del.c | 23 ListDelete(&taskCb->pendList); in OsTaskDeleteResInit() 78 ListTailAdd(&taskCb->pendList, &g_tskRecyleList); in OsTaskDelete() 94 ListAdd(&taskCb->pendList, &g_tskCbFreeList); in OsTaskDelete()
|
H A D | prt_amp_task_internal.h | 58 ListTailAdd(&tsk->pendList, readyList); in OsEnqueueTaskAmp() 67 ListAdd(&tsk->pendList, readyList); in OsEnqueueTaskHeadAmp() 81 ListDelete(&tsk->pendList); in OsDequeueTaskAmp()
|
H A D | prt_task_minor.c | 27 *yieldTo = (GET_TCB_PEND(OS_LIST_FIRST(&currTask->pendList)))->taskPid; in OsTaskYieldProc() 38 ListDelete(&nextTask->pendList); in OsTaskYieldProc() 39 ListAdd(&nextTask->pendList, tskPriorRdyList); in OsTaskYieldProc()
|
H A D | prt_amp_task.c | 94 ListDelete(&taskCb->pendList); in OsTaskScan() 99 ListDelete(&taskCb->pendList); in OsTaskScan()
|
H A D | prt_task_init.c | 232 ListTailAdd(&taskCb->pendList, &g_tskCbFreeList); in OsTskRecycle() 320 INIT_LIST_OBJECT(&taskCb->pendList); in OsTskCreateTcbInit() 354 ListAdd(&taskCb->pendList, &g_tskCbFreeList); in OsTaskCreateOnly()
|
H A D | prt_amp_task_init.c | 51 ListTailAdd(&g_tskCbArray[idx].pendList, &g_tskCbFreeList); in OsTskAMPInit()
|
/kernel/liteos_a/kernel/base/sched/ |
H A D | los_deadline.c | 129 LOS_ListTailInsert(root, &taskCB->pendList); in DeadlineQueueInsert() 135 LosTaskCB *readyTask = LOS_DL_LIST_ENTRY(list, LosTaskCB, pendList); in DeadlineQueueInsert() 137 LOS_ListHeadInsert(list, &taskCB->pendList); in DeadlineQueueInsert() 143 LOS_ListHeadInsert(list, &taskCB->pendList); in DeadlineQueueInsert() 178 LOS_ListTailInsert(&erq->waitList, &taskCB->pendList); in EDFEnqueue() 209 LOS_ListDelete(&taskCB->pendList); in EDFDequeue() 218 LOS_ListDelete(&taskCB->pendList); in EDFExit() 258 LOS_ListTailInsert(list, &runTask->pendList); in EDFWait() 280 LOS_ListDelete(&resumedTask->pendList); in EDFWake()
|
H A D | los_priority.c | 215 PriQueHeadInsert(rq, sched->basePrio, &taskCB->pendList, sched->priority); in PriQueInsert() 219 PriQueTailInsert(rq, sched->basePrio, &taskCB->pendList, sched->priority); in PriQueInsert() 230 PriQueHeadInsert(rq, sched->basePrio, &taskCB->pendList, sched->priority); in PriQueInsert() 234 PriQueTailInsert(rq, sched->basePrio, &taskCB->pendList, sched->priority); in PriQueInsert() 262 PriQueDelete(rq->hpfRunqueue, sched->basePrio, &taskCB->pendList, sched->priority); in HPFDequeue() 277 LOS_ListDelete(&taskCB->pendList); in HPFExit() 315 LOS_ListTailInsert(list, &runTask->pendList); in HPFWait() 335 LOS_ListDelete(&resumedTask->pendList); in HPFWake() 502 LOS_DL_LIST_FOR_EACH_ENTRY(pendedTask, list, LosTaskCB, pendList) { in HPFPriorityRestore()
|
H A D | los_sched.c | 126 LOS_ListDelete(&taskCB->pendList); in SchedTimeoutTaskWake() 531 LOS_DL_LIST_FOR_EACH_ENTRY(pendedTask, lockList, LosTaskCB, pendList) { in SchedLockPendFindPosSub() 536 return &pendedTask->pendList; in SchedLockPendFindPosSub() 538 return pendedTask->pendList.pstNext; in SchedLockPendFindPosSub()
|
/kernel/liteos_m/kernel/src/ |
H A D | los_sched.c | 179 LOS_ListDelete(&taskCB->pendList); in OsSchedWakePendTimeTask() 230 OsSchedPriQueueEnHead(&taskCB->pendList, taskCB->priority); in OsSchedTaskEnQueue() 233 OsSchedPriQueueEnTail(&taskCB->pendList, taskCB->priority); in OsSchedTaskEnQueue() 248 OsSchedPriQueueDelete(&taskCB->pendList, taskCB->priority); in OsSchedTaskDeQueue() 260 LOS_ListDelete(&taskCB->pendList); in OsSchedTaskExit() 289 LOS_ListTailInsert(list, &runTask->pendList); in OsSchedTaskWait() 299 LOS_ListDelete(&resumedTask->pendList); in OsSchedTaskWake() 338 LOS_ListDelete(&taskCB->pendList); in OsSchedUnfreezeTask() 485 newTask = LOS_DL_LIST_ENTRY(((LOS_DL_LIST *)&g_priQueueList[priority])->pstNext, LosTaskCB, pendList); in OsGetTopTask()
|
H A D | los_event.c | 167 for (resumedTask = LOS_DL_LIST_ENTRY((&eventCB->stEventList)->pstNext, LosTaskCB, pendList);
in LOS_EventWrite() 168 &resumedTask->pendList != (&eventCB->stEventList);) {
in LOS_EventWrite() 169 nextTask = LOS_DL_LIST_ENTRY(resumedTask->pendList.pstNext, LosTaskCB, pendList);
in LOS_EventWrite()
|
H A D | los_queue.c | 768 LOS_DL_LIST_FOR_EACH_ENTRY(tskCB, &queueCB->readWriteList[OS_QUEUE_READ], LosTaskCB, pendList) {
in LOS_QueueInfoGet() 773 LOS_DL_LIST_FOR_EACH_ENTRY(tskCB, &queueCB->readWriteList[OS_QUEUE_WRITE], LosTaskCB, pendList) {
in LOS_QueueInfoGet() 778 LOS_DL_LIST_FOR_EACH_ENTRY(tskCB, &queueCB->memList, LosTaskCB, pendList) {
in LOS_QueueInfoGet()
|
/kernel/liteos_a/kernel/base/ipc/ |
H A D | los_futex.c | 119 if (!LOS_ListEmpty(&(lastNode->pendList))) { in OsFutexShowTaskNodeAttr() 120 taskCB = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&(lastNode->pendList))); in OsFutexShowTaskNodeAttr() 280 while (LOS_ListEmpty(&(tempNode->pendList))) { /* already weak */ in OsFutexDeleteAlreadyWakeTaskAndGetNext() 346 LosTaskCB *taskTail = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&(tempNode->pendList))); in OsFutexInsertFindFormBackToFront() 373 LosTaskCB *taskHead = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&(tempNode->pendList))); in OsFutexInsertFindFromFrontToBack() 413 LosTaskCB *taskHead = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&((*firstNode)->pendList))); in OsFutexInsertTasktoPendList() 432 LosTaskCB *taskTail = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&(tailNode->pendList))); in OsFutexInsertTasktoPendList() 565 LOS_ListInit(&((*node)->pendList)); in OsFutexInsertTaskToHash() 602 taskCB->ops->wait(taskCB, &(node->pendList), timeout); in OsFutexWaitTask() 691 taskCB = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&(node->pendList))); in OsFutexCheckAndWakePendTask() [all...] |
H A D | los_event.c | 202 for (resumedTask = LOS_DL_LIST_ENTRY((&eventCB->stEventList)->pstNext, LosTaskCB, pendList); in OsEventWriteUnsafe() 203 &resumedTask->pendList != &eventCB->stEventList;) { in OsEventWriteUnsafe() 204 nextTask = LOS_DL_LIST_ENTRY(resumedTask->pendList.pstNext, LosTaskCB, pendList); in OsEventWriteUnsafe()
|
H A D | los_queue.c | 501 LOS_DL_LIST_FOR_EACH_ENTRY(tskCB, &queueCB->readWriteList[OS_QUEUE_READ], LosTaskCB, pendList) { in LOS_QueueInfoGet() 505 LOS_DL_LIST_FOR_EACH_ENTRY(tskCB, &queueCB->readWriteList[OS_QUEUE_WRITE], LosTaskCB, pendList) { in LOS_QueueInfoGet() 509 LOS_DL_LIST_FOR_EACH_ENTRY(tskCB, &queueCB->memList, LosTaskCB, pendList) { in LOS_QueueInfoGet()
|
/kernel/uniproton/src/core/ipc/sem/ |
H A D | prt_sem.c | 28 struct TagListObject *pendObj = &runTsk->pendList; in OsSemPendListPut() 37 LIST_FOR_EACH(curTskCb, &semPended->semList, struct TagTskCb, pendList) { in OsSemPendListPut() 39 ListTailAdd(pendObj, &curTskCb->pendList); in OsSemPendListPut()
|
H A D | prt_sem_minor.c | 100 LIST_FOR_EACH(tskCb, &semCb->semList, struct TagTskCb, pendList) { in PRT_SemGetPendList()
|
/kernel/uniproton/src/core/ipc/queue/ |
H A D | prt_queue.c | 36 OS_SEC_ALW_INLINE INLINE U32 OsInnerPend(U16 *count, struct TagListObject *pendList, U32 timeOut) in OsInnerPend() argument 67 ListTailAdd(&runTsk->pendList, pendList); in OsInnerPend()
|
/kernel/uniproton/src/core/kernel/include/ |
H A D | prt_task_external.h | 73 struct TagListObject pendList; member 159 #define GET_TCB_PEND(ptr) LIST_COMPONENT(ptr, struct TagTskCb, pendList)
|
/kernel/liteos_a/kernel/base/include/ |
H A D | los_futex_pri.h | 52 LOS_DL_LIST pendList; /* point to pendList in TCB struct */ member
|
H A D | los_sched_pri.h | 418 LOS_DL_LIST pendList; /**< Task pend node */ member 644 LOS_ListDelete(&taskCB->pendList); in SchedTaskUnfreeze() 673 return LOS_DL_LIST_ENTRY(LOS_DL_LIST_FIRST(root), LosTaskCB, pendList); in EDFRunqueueTopTaskGet() 690 LOS_DL_LIST_FOR_EACH_ENTRY(newTask, &queueList->priQueList[priority], LosTaskCB, pendList) { in HPFRunqueueTopTaskGet()
|
H A D | los_process_pri.h | 94 LOS_DL_LIST pendList; /**< Block list to which the process belongs */ member 165 #define OS_PCB_FROM_PENDLIST(ptr) LOS_DL_LIST_ENTRY((ptr), LosProcessCB, pendList)
|
H A D | los_task_pri.h | 179 #define OS_TCB_FROM_PENDLIST(ptr) LOS_DL_LIST_ENTRY(ptr, LosTaskCB, pendList)
|
/kernel/liteos_m/kernel/include/ |
H A D | los_task.h | 1450 #define OS_TCB_FROM_PENDLIST(ptr) LOS_DL_LIST_ENTRY(ptr, LosTaskCB, pendList)
1491 LOS_DL_LIST pendList;
member
|
/kernel/liteos_a/kernel/base/core/ |
H A D | los_process.c | 81 LOS_ListTailInsert(&g_freeProcess, &processCB->pendList); in OsInsertPCBToFreeList() 176 LOS_ListDelete(&pgroupCB->pendList); in ExitProcessGroup() 478 LOS_ListDelete(&childCB->pendList); in OsRecycleZombiesProcess() 480 LOS_ListHeadInsert(&g_processRecycleList, &childCB->pendList); in OsRecycleZombiesProcess() 482 LOS_ListTailInsert(&g_processRecycleList, &childCB->pendList); in OsRecycleZombiesProcess() 560 LOS_ListHeadInsert(&g_processRecycleList, &processCB->pendList); in OsProcessNaturalExit() 570 LOS_ListDelete(&processCB->pendList); in SystemProcessEarlyInit() 600 LOS_ListTailInsert(&g_freeProcess, &g_processCBArray[index].pendList); in OsProcessInit() 652 LOS_ListDelete(&processCB->pendList); in OsProcessCBRecycleToFree() 654 LOS_ListTailInsert(&g_processRecycleList, &processCB->pendList); in OsProcessCBRecycleToFree() [all...] |