Home
last modified time | relevance | path

Searched refs:OS_TCB_FROM_PENDLIST (Results 1 – 15 of 15) sorted by relevance

/kernel/liteos_a/kernel/base/ipc/
Dlos_rwlock.c121 LosTaskCB *highestTask = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(rwList)); in OsRwlockPriCompare()
355 LosTaskCB *pendedReadTask = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(readList)); in OsRwlockGetMode()
356 LosTaskCB *pendedWriteTask = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(writeList)); in OsRwlockGetMode()
376 resumedTask = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&(rwlock->writeList))); in OsRwlockPostOp()
387 resumedTask = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&(rwlock->readList))); in OsRwlockPostOp()
390 resumedTask = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&(rwlock->readList))); in OsRwlockPostOp()
392 … LosTaskCB *pendedWriteTask = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&(rwlock->writeList))); in OsRwlockPostOp()
Dlos_futex.c120 taskCB = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&(lastNode->pendList))); in OsFutexShowTaskNodeAttr()
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()
691 taskCB = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&(node->pendList))); in OsFutexCheckAndWakePendTask()
833 task = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&(nextNode->pendList))); in OsFutexRequeueInsertNewKey()
Dlos_sem.c253 resumedTask = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&(semPosted->semList))); in OsSemPostUnsafe()
Dlos_mux.c445 LosTaskCB *resumedTask = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&(mutex->muxList))); in OsMuxPostOp()
Dlos_queue.c320 …LosTaskCB *resumedTask = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&queueCB->readWriteList[!readWrite… in OsQueueOperate()
/kernel/liteos_a/kernel/base/sched/
Dlos_sched.c550 LosTaskCB *pendedTask1 = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(lockList)); in OsSchedLockPendFindPos()
556 LosTaskCB *pendedTask2 = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_LAST(lockList)); in OsSchedLockPendFindPos()
/kernel/liteos_a/kernel/base/include/
Dlos_task_pri.h179 #define OS_TCB_FROM_PENDLIST(ptr) LOS_DL_LIST_ENTRY(ptr, LosTaskCB, pendList) macro
/kernel/liteos_m/kernel/src/
Dlos_sem.c302 resumedTask = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&(semPosted->semList))); in LOS_SemPost()
Dlos_mux.c308 resumedTask = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&(muxPosted->muxList))); in LOS_MuxPost()
Dlos_queue.c426 … resumedTask = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&queueCB->readWriteList[readWriteTmp])); in OsQueueOperate()
646 resumedTask = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&queueCB->memList)); in OsQueueMailFree()
Dlos_task.c168 taskCB = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&g_taskRecycleList)); in OsRecycleFinishedTask()
803 taskCB = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&g_losFreeTask)); in LOS_TaskCreateOnly()
970 resumedTask = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&(taskCB->joinList))); in OsTaskJoinPostUnsafe()
/kernel/liteos_m/kernel/include/
Dlos_task.h1450 #define OS_TCB_FROM_PENDLIST(ptr) LOS_DL_LIST_ENTRY(ptr, LosTaskCB, pendList) macro
/kernel/liteos_m/kal/posix/src/
Dpthread_mutex.c309 resumedTask = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&(muxPosted->muxList))); in MuxPostForPosix()
/kernel/liteos_a/kernel/base/core/
Dlos_task.c142 LosTaskCB *resumedTask = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&(taskCB->joinList))); in OsTaskJoinPostUnsafe()
403 LosTaskCB *taskCB = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&g_taskRecycleList)); in OsTaskCBRecycleToFree()
613 LosTaskCB *taskCB = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&g_losFreeTask)); in GetFreeTaskCB()
Dlos_process.c314 taskCB = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(list)); in OsWaitWakeSpecifiedProcess()
369 taskCB = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(list)); in OsWaitCheckAndWakeParentProcess()
376 taskCB = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(list)); in OsWaitCheckAndWakeParentProcess()
1185 taskCB = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(list)); in OsWaitInsertWaitListInOrder()
1194 taskCB = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(list)); in OsWaitInsertWaitListInOrder()