/kernel/liteos_a/apps/shell/include/ |
H A D | shell_list.h | 52 struct SH_List *pstNext; /**< Current node's pointer to the next node */ member 74 list->pstNext = list; in SH_ListInit() 98 #define SH_LIST_FIRST(object) ((object)->pstNext) 143 node->pstNext = list->pstNext; in SH_ListAdd() 145 list->pstNext->pstPrev = node; in SH_ListAdd() 146 list->pstNext = node; in SH_ListAdd() 226 node->pstNext->pstPrev = node->pstPrev; in SH_ListDelete() 227 node->pstPrev->pstNext = node->pstNext; in SH_ListDelete() [all...] |
/kernel/liteos_a/kernel/include/ |
H A D | los_list.h | 54 struct LOS_DL_LIST *pstNext; /**< Current node's pointer to the next node */ member 76 list->pstNext = list; in LOS_ListInit() 100 #define LOS_DL_LIST_FIRST(object) ((object)->pstNext) 145 #define LOS_DL_LIST_IS_ON_QUEUE(node) ((node)->pstPrev != NULL && (node)->pstNext != NULL) 190 node->pstNext = list->pstNext; in LOS_ListAdd() 192 list->pstNext->pstPrev = node; in LOS_ListAdd() 193 list->pstNext = node; in LOS_ListAdd() 265 node->pstNext->pstPrev = node->pstPrev; in LOS_ListDelete() 266 node->pstPrev->pstNext in LOS_ListDelete() [all...] |
H A D | los_membox.h | 57 struct tagMEMBOX_NODE *pstNext; /**< Free node's pointer to the next node in a memory pool */ member
|
/kernel/liteos_m/utils/ |
H A D | los_list.h | 54 struct LOS_DL_LIST *pstNext; /**< Current node's pointer to the next node */
member 77 list->pstNext = list;
in LOS_ListInit() 101 #define LOS_DL_LIST_FIRST(object) ((object)->pstNext)
124 node->pstNext = list->pstNext;
in LOS_ListAdd() 126 list->pstNext->pstPrev = node;
in LOS_ListAdd() 127 list->pstNext = node;
in LOS_ListAdd() 200 node->pstNext->pstPrev = node->pstPrev;
in LOS_ListDelete() 201 node->pstPrev->pstNext = node->pstNext;
in LOS_ListDelete() [all...] |
/kernel/liteos_a/kernel/base/mem/membox/ |
H A D | los_membox.c | 43 ((LOS_MEMBOX_NODE *)(addr))->pstNext = (LOS_MEMBOX_NODE *)OS_MEMBOX_MAGIC 45 ((((LOS_MEMBOX_NODE *)(addr))->pstNext == (LOS_MEMBOX_NODE *)OS_MEMBOX_MAGIC) ? LOS_OK : LOS_NOK) 106 boxInfo->stFreeList.pstNext = node; in LOS_MemboxInit() 109 node->pstNext = OS_MEMBOX_NEXT(node, boxInfo->uwBlkSize); in LOS_MemboxInit() 110 node = node->pstNext; in LOS_MemboxInit() 113 node->pstNext = NULL; in LOS_MemboxInit() 133 if (node->pstNext != NULL) { in LOS_MemboxAlloc() 134 nodeTmp = node->pstNext; in LOS_MemboxAlloc() 135 node->pstNext = nodeTmp->pstNext; in LOS_MemboxAlloc() [all...] |
/kernel/liteos_m/kernel/src/mm/ |
H A D | los_membox.c | 50 node->pstNext = (LOS_MEMBOX_NODE *)(OS_MEMBOX_MAGIC | taskID);
in OsMemBoxSetMagic() 55 UINT32 taskID = OS_MEMBOX_TASKID_GET(node->pstNext);
in OsMemBoxCheckMagic() 59 return (node->pstNext == (LOS_MEMBOX_NODE *)(OS_MEMBOX_MAGIC | taskID)) ? LOS_OK : LOS_NOK;
in OsMemBoxCheckMagic() 142 boxInfo->stFreeList.pstNext = node;
in LOS_MemboxInit() 145 node->pstNext = OS_MEMBOX_NEXT(node, boxInfo->uwBlkSize);
in LOS_MemboxInit() 146 node = node->pstNext;
in LOS_MemboxInit() 149 node->pstNext = NULL;
in LOS_MemboxInit() 173 if (node->pstNext != NULL) {
in LOS_MemboxAlloc() 174 nodeTmp = node->pstNext;
in LOS_MemboxAlloc() 175 node->pstNext in LOS_MemboxAlloc() [all...] |
/kernel/liteos_a/arch/arm/arm/src/ |
H A D | los_hwi.c | 86 while (hwiForm->pstNext != NULL) { in OsInterrupt() 87 hwiForm = hwiForm->pstNext; in OsInterrupt() 187 if ((hwiForm->pstNext != NULL) && !(hwiForm->uwParam & IRQF_SHARED)) { in OsHwiDelShared() 188 hwiForm = hwiForm->pstNext; in OsHwiDelShared() 193 hwiFormtmp->pstNext = NULL; in OsHwiDelShared() 200 hwiForm = hwiForm->pstNext; in OsHwiDelShared() 204 hwiForm = hwiForm->pstNext; in OsHwiDelShared() 206 hwiFormtmp->pstNext = hwiForm->pstNext; in OsHwiDelShared() 220 if (g_hwiForm[hwiNum].pstNext in OsHwiDelShared() [all...] |
/kernel/liteos_m/arch/arm/cortex-m33/gcc/TZ/secure/ |
H A D | los_secure_heap.c | 62 head->pstNext = head;
in OsSecureHeapListInit() 67 node->pstNext->pstPrev = node->pstPrev;
in OsSecureHeapListDelete() 68 node->pstPrev->pstNext = node->pstNext;
in OsSecureHeapListDelete() 69 node->pstNext = NULL;
in OsSecureHeapListDelete() 75 node->pstNext = listNode->pstNext;
in OsSecureHeapListAdd() 77 listNode->pstNext->pstPrev = node;
in OsSecureHeapListAdd() 78 listNode->pstNext = node;
in OsSecureHeapListAdd() 101 node->freeNode.pstNext in OsSecureHeapClearNode() [all...] |
/kernel/liteos_m/arch/arm/cortex-m33/iar/TZ/secure/ |
H A D | los_secure_heap.c | 63 head->pstNext = head;
in OsSecureHeapListInit() 68 node->pstNext->pstPrev = node->pstPrev;
in OsSecureHeapListDelete() 69 node->pstPrev->pstNext = node->pstNext;
in OsSecureHeapListDelete() 70 node->pstNext = NULL;
in OsSecureHeapListDelete() 76 node->pstNext = listNode->pstNext;
in OsSecureHeapListAdd() 78 listNode->pstNext->pstPrev = node;
in OsSecureHeapListAdd() 79 listNode->pstNext = node;
in OsSecureHeapListAdd() 102 node->freeNode.pstNext in OsSecureHeapClearNode() [all...] |
/kernel/liteos_m/arch/arm/cortex-m55/gcc/TZ/secure/ |
H A D | los_secure_heap.c | 62 head->pstNext = head;
in OsSecureHeapListInit() 67 node->pstNext->pstPrev = node->pstPrev;
in OsSecureHeapListDelete() 68 node->pstPrev->pstNext = node->pstNext;
in OsSecureHeapListDelete() 69 node->pstNext = NULL;
in OsSecureHeapListDelete() 75 node->pstNext = listNode->pstNext;
in OsSecureHeapListAdd() 77 listNode->pstNext->pstPrev = node;
in OsSecureHeapListAdd() 78 listNode->pstNext = node;
in OsSecureHeapListAdd() 101 node->freeNode.pstNext in OsSecureHeapClearNode() [all...] |
/kernel/liteos_m/arch/arm/cortex-m55/iar/TZ/secure/ |
H A D | los_secure_heap.c | 63 head->pstNext = head;
in OsSecureHeapListInit() 68 node->pstNext->pstPrev = node->pstPrev;
in OsSecureHeapListDelete() 69 node->pstPrev->pstNext = node->pstNext;
in OsSecureHeapListDelete() 70 node->pstNext = NULL;
in OsSecureHeapListDelete() 76 node->pstNext = listNode->pstNext;
in OsSecureHeapListAdd() 78 listNode->pstNext->pstPrev = node;
in OsSecureHeapListAdd() 79 listNode->pstNext = node;
in OsSecureHeapListAdd() 102 node->freeNode.pstNext in OsSecureHeapClearNode() [all...] |
/kernel/liteos_m/kernel/src/ |
H A D | los_sortlink.c | 57 SortLinkList *listSorted = LOS_DL_LIST_ENTRY(head->pstNext, SortLinkList, sortLinkNode); in OsAddNode2SortLink() 62 LOS_ListAdd(head->pstNext, &sortList->sortLinkNode); in OsAddNode2SortLink() 119 LOS_DL_LIST *nextNode = head->pstNext; in SortLinkNodeTimeUpdate() 123 nextNode = nextNode->pstNext; in SortLinkNodeTimeUpdate() 169 SortLinkList *listSorted = LOS_DL_LIST_ENTRY(head->pstNext, SortLinkList, sortLinkNode); in OsSortLinkGetNextExpireTime()
|
H A D | los_event.c | 80 if ((eventCB->stEventList.pstNext == NULL) || (eventCB->stEventList.pstPrev == NULL)) {
in OsEventReadParamCheck() 157 if ((eventCB->stEventList.pstNext == NULL) || (eventCB->stEventList.pstPrev == 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() 204 eventCB->stEventList.pstNext = (LOS_DL_LIST *)NULL;
in LOS_EventDestroy()
|
H A D | los_swtmr.c | 164 LOS_DL_LIST *listObject = listHead->pstNext;
in OsSwtmrFindAlignPos() 206 listObject = listObject->pstNext;
in OsSwtmrFindAlignPos() 259 swtmr->pstNext = g_swtmrFreeList;
in OsSwtmrDelete() 308 SortLinkList *sortList = LOS_DL_LIST_ENTRY(listObject->pstNext, SortLinkList, sortLinkNode);
in OsSwtmrScan() 323 sortList = LOS_DL_LIST_ENTRY(listObject->pstNext, SortLinkList, sortLinkNode);
in OsSwtmrScan() 332 LOS_DL_LIST *listNext = listHead->pstNext;
in OsSwtmrResponseTimeReset() 343 listNext = listNext->pstNext;
in OsSwtmrResponseTimeReset() 409 temp->pstNext = swtmr;
in OsSwtmrInit() 511 g_swtmrFreeList = swtmr->pstNext;
in LOS_SwtmrCreate() 516 swtmr->pstNext in LOS_SwtmrCreate() [all...] |
/kernel/liteos_a/kernel/base/ipc/ |
H A D | los_futex.c | 126 queueList = queueList->pstNext; in OsFutexShowTaskNodeAttr() 147 for (futexList = futexList->pstNext; in OsFutexHashShow() 149 futexList = futexList->pstNext) { in OsFutexHashShow() 202 if ((newHeadNode->queueList.pstNext == NULL) || (newHeadNode->queueList.pstPrev == NULL)) { in OsFutexReplaceQueueListHeadNode() 229 if (node->futexList.pstNext != NULL) { in OsFutexDeleteKeyNodeFromHash() 321 for (futexList = hashNode->lockList.pstNext; in OsFutexInsertNewFutexKeyToHash() 323 futexList = futexList->pstNext) { in OsFutexInsertNewFutexKeyToHash() 367 for (; listHead != listTail; listHead = listHead->pstNext) { in OsFutexInsertFindFromFrontToBack() 379 if (listHead->pstNext == listTail) { in OsFutexInsertFindFromFrontToBack() 447 for (futexList = futexList->pstNext; in OsFindFutexNode() [all...] |
/kernel/liteos_a/kernel/base/sched/ |
H A D | los_sortlink.c | 51 SortLinkList *listSorted = LOS_DL_LIST_ENTRY(head->pstNext, SortLinkList, sortLinkNode); in AddNode2SortLink() 57 LOS_ListAdd(head->pstNext, &sortList->sortLinkNode); in AddNode2SortLink() 127 SortLinkList *listSorted = LOS_DL_LIST_ENTRY(head->pstNext, SortLinkList, sortLinkNode); in OsSortLinkGetNextExpireTime()
|
H A D | los_sched.c | 164 SortLinkList *sortList = LOS_DL_LIST_ENTRY(listObject->pstNext, SortLinkList, sortLinkNode); in SchedTimeoutQueueScan() 178 sortList = LOS_DL_LIST_ENTRY(listObject->pstNext, SortLinkList, sortLinkNode); in SchedTimeoutQueueScan() 538 return pendedTask->pendList.pstNext; in SchedLockPendFindPosSub() 553 return lockList->pstNext; in OsSchedLockPendFindPos()
|
/kernel/liteos_a/kernel/base/core/ |
H A D | los_swtmr.c | 235 SortLinkList *sortList = LOS_DL_LIST_ENTRY(listObject->pstNext, SortLinkList, sortLinkNode); in ScanSwtmrTimeList() 239 sortList = LOS_DL_LIST_ENTRY(listObject->pstNext, SortLinkList, sortLinkNode); in ScanSwtmrTimeList() 251 sortList = LOS_DL_LIST_ENTRY(listObject->pstNext, SortLinkList, sortLinkNode); in ScanSwtmrTimeList() 548 LOS_DL_LIST *listNext = listHead->pstNext; in OsSwtmrResponseTimeReset() 559 listNext = listNext->pstNext; in OsSwtmrResponseTimeReset() 567 LOS_DL_LIST *list = listObject->pstNext; in SwtmrRunqueueFind() 576 list = list->pstNext; in SwtmrRunqueueFind() 678 sortList = LOS_DL_LIST_ENTRY(g_swtmrFreeList.pstNext, SortLinkList, sortLinkNode); in LOS_SwtmrCreate()
|
H A D | los_process.c | 313 while (list->pstNext != head) { in OsWaitWakeSpecifiedProcess() 331 list = list->pstNext; in OsWaitWakeSpecifiedProcess() 368 while (list->pstNext != head) { in OsWaitCheckAndWakeParentProcess() 375 while (list->pstNext != head) { in OsWaitCheckAndWakeParentProcess() 379 list = list->pstNext; in OsWaitCheckAndWakeParentProcess() 502 childHead = processCB->childrenList.pstNext; in OsDealAliveChildProcess() 513 nextList = nextList->pstNext; in OsDealAliveChildProcess() 531 childCB = LOS_DL_LIST_ENTRY(processCB->exitChildList.pstNext, LosProcessCB, siblingList); in OsChildProcessResourcesFree() 1184 while (list->pstNext != head) { in OsWaitInsertWaitListInOrder() 1187 list = list->pstNext; in OsWaitInsertWaitListInOrder() [all...] |
/kernel/liteos_a/kernel/extended/power/ |
H A D | los_pm.c | 421 LOS_DL_LIST *list = head->pstNext; in LOS_PmLockInfoShow() 427 list = list->pstNext; in LOS_PmLockInfoShow() 442 LOS_DL_LIST *list = head->pstNext; in OsPmLockRequest() 466 list = list->pstNext; in OsPmLockRequest() 518 LOS_DL_LIST *list = head->pstNext; in LOS_PmLockRelease() 545 list = list->pstNext; in LOS_PmLockRelease()
|
/kernel/liteos_m/components/power/ |
H A D | los_pm.c | 556 LOS_DL_LIST *list = head->pstNext; in LOS_PmLockInfoShow() 564 list = list->pstNext; in LOS_PmLockInfoShow() 580 LOS_DL_LIST *list = head->pstNext; in OsPmLockRequest() 590 list = list->pstNext; in OsPmLockRequest() 639 LOS_DL_LIST *list = head->pstNext; in LOS_PmLockRelease() 657 list = list->pstNext; in LOS_PmLockRelease()
|
/kernel/liteos_m/kal/cmsis/ |
H A D | cmsis_liteos2.c | 1498 mp->poolInfo.stFreeList.pstNext = node;
in osMemoryPoolNew() 1500 node->pstNext = OS_MEMBOX_NEXT(node, block_size);
in osMemoryPoolNew() 1501 node = node->pstNext;
in osMemoryPoolNew() 1503 node->pstNext = NULL;
in osMemoryPoolNew() 1524 node = mp->poolInfo.stFreeList.pstNext;
in osMemoryPoolAlloc() 1526 mp->poolInfo.stFreeList.pstNext = node->pstNext;
in osMemoryPoolAlloc() 1560 nodeTmp = mp->poolInfo.stFreeList.pstNext;
in osMemoryPoolFree() 1561 mp->poolInfo.stFreeList.pstNext = node;
in osMemoryPoolFree() 1562 node->pstNext in osMemoryPoolFree() [all...] |
/kernel/liteos_a/arch/arm/arm/src/include/ |
H A D | los_hwi_pri.h | 55 #define HWI_IS_REGISTED(num) ((&g_hwiForm[num])->pstNext != NULL)
|
/kernel/liteos_m/kernel/include/ |
H A D | los_membox.h | 58 struct tagMEMBOX_NODE *pstNext; /**< Free node's pointer to the next node in a memory pool */
member
|
/kernel/liteos_a/kernel/base/include/ |
H A D | los_sortlink_pri.h | 73 LOS_DL_LIST *list = head->pstNext; in OsGetSortLinkNextExpireTime()
|