Home
last modified time | relevance | path

Searched refs:pstPrev (Results 1 – 22 of 22) sorted by relevance

/kernel/liteos_a/apps/shell/include/
Dshell_list.h51 struct SH_List *pstPrev; /**< Current node's pointer to the previous node */ member
75 list->pstPrev = list; in SH_ListInit()
120 #define SH_LIST_LAST(object) ((object)->pstPrev)
144 node->pstPrev = list; in SH_ListAdd()
145 list->pstNext->pstPrev = node; in SH_ListAdd()
174 SH_ListAdd(list->pstPrev, node); in SH_ListTailInsert()
226 node->pstNext->pstPrev = node->pstPrev; in SH_ListDelete()
227 node->pstPrev->pstNext = node->pstNext; in SH_ListDelete()
229 node->pstPrev = NULL; in SH_ListDelete()
286 SH_List *newListTail = newList->pstPrev; in SH_ListAddList()
[all …]
/kernel/liteos_a/kernel/include/
Dlos_list.h53 struct LOS_DL_LIST *pstPrev; /**< Current node's pointer to the previous node */ member
77 list->pstPrev = list; in LOS_ListInit()
145 #define LOS_DL_LIST_IS_ON_QUEUE(node) ((node)->pstPrev != NULL && (node)->pstNext != NULL)
167 #define LOS_DL_LIST_LAST(object) ((object)->pstPrev)
191 node->pstPrev = list; in LOS_ListAdd()
192 list->pstNext->pstPrev = node; in LOS_ListAdd()
217 LOS_ListAdd(list->pstPrev, node); in LOS_ListTailInsert()
265 node->pstNext->pstPrev = node->pstPrev; in LOS_ListDelete()
266 node->pstPrev->pstNext = node->pstNext; in LOS_ListDelete()
268 node->pstPrev = NULL; in LOS_ListDelete()
[all …]
/kernel/liteos_m/utils/
Dlos_list.h53 struct LOS_DL_LIST *pstPrev; /**< Current node's pointer to the previous node */ member
78 list->pstPrev = list; in LOS_ListInit()
125 node->pstPrev = list; in LOS_ListAdd()
126 list->pstNext->pstPrev = node; in LOS_ListAdd()
151 LOS_ListAdd(list->pstPrev, node); in LOS_ListTailInsert()
200 node->pstNext->pstPrev = node->pstPrev; in LOS_ListDelete()
201 node->pstPrev->pstNext = node->pstNext; in LOS_ListDelete()
203 node->pstPrev = (LOS_DL_LIST *)NULL; in LOS_ListDelete()
353 list->pstNext->pstPrev = list->pstPrev; in LOS_ListDelInit()
354 list->pstPrev->pstNext = list->pstNext; in LOS_ListDelInit()
/kernel/liteos_m/arch/arm/cortex-m33/iar/TZ/secure/
Dlos_secure_heap.c62 head->pstPrev = head; in OsSecureHeapListInit()
68 node->pstNext->pstPrev = node->pstPrev; in OsSecureHeapListDelete()
69 node->pstPrev->pstNext = node->pstNext; in OsSecureHeapListDelete()
71 node->pstPrev = NULL; in OsSecureHeapListDelete()
77 node->pstPrev = listNode; in OsSecureHeapListAdd()
78 listNode->pstNext->pstPrev = node; in OsSecureHeapListAdd()
101 node->freeNode.pstPrev = NULL; in OsSecureHeapClearNode()
207 if ((g_secureHeapFreeList.pstPrev == NULL) && in HalSecureMalloc()
/kernel/liteos_m/arch/arm/cortex-m55/gcc/TZ/secure/
Dlos_secure_heap.c61 head->pstPrev = head; in OsSecureHeapListInit()
67 node->pstNext->pstPrev = node->pstPrev; in OsSecureHeapListDelete()
68 node->pstPrev->pstNext = node->pstNext; in OsSecureHeapListDelete()
70 node->pstPrev = NULL; in OsSecureHeapListDelete()
76 node->pstPrev = listNode; in OsSecureHeapListAdd()
77 listNode->pstNext->pstPrev = node; in OsSecureHeapListAdd()
100 node->freeNode.pstPrev = NULL; in OsSecureHeapClearNode()
206 if ((g_secureHeapFreeList.pstPrev == NULL) && in HalSecureMalloc()
/kernel/liteos_m/arch/arm/cortex-m33/gcc/TZ/secure/
Dlos_secure_heap.c61 head->pstPrev = head; in OsSecureHeapListInit()
67 node->pstNext->pstPrev = node->pstPrev; in OsSecureHeapListDelete()
68 node->pstPrev->pstNext = node->pstNext; in OsSecureHeapListDelete()
70 node->pstPrev = NULL; in OsSecureHeapListDelete()
76 node->pstPrev = listNode; in OsSecureHeapListAdd()
77 listNode->pstNext->pstPrev = node; in OsSecureHeapListAdd()
100 node->freeNode.pstPrev = NULL; in OsSecureHeapClearNode()
206 if ((g_secureHeapFreeList.pstPrev == NULL) && in HalSecureMalloc()
/kernel/liteos_m/arch/arm/cortex-m55/iar/TZ/secure/
Dlos_secure_heap.c62 head->pstPrev = head; in OsSecureHeapListInit()
68 node->pstNext->pstPrev = node->pstPrev; in OsSecureHeapListDelete()
69 node->pstPrev->pstNext = node->pstNext; in OsSecureHeapListDelete()
71 node->pstPrev = NULL; in OsSecureHeapListDelete()
77 node->pstPrev = listNode; in OsSecureHeapListAdd()
78 listNode->pstNext->pstPrev = node; in OsSecureHeapListAdd()
101 node->freeNode.pstPrev = NULL; in OsSecureHeapClearNode()
207 if ((g_secureHeapFreeList.pstPrev == NULL) && in HalSecureMalloc()
/kernel/liteos_m/kernel/src/
Dlos_event.c80 if ((eventCB->stEventList.pstNext == NULL) || (eventCB->stEventList.pstPrev == NULL)) { in OsEventReadParamCheck()
157 if ((eventCB->stEventList.pstNext == NULL) || (eventCB->stEventList.pstPrev == NULL)) { in LOS_EventWrite()
205 eventCB->stEventList.pstPrev = (LOS_DL_LIST *)NULL; in LOS_EventDestroy()
Dlos_sortlink.c66 LOS_DL_LIST *prevNode = head->pstPrev; in OsAddNode2SortLink()
74 prevNode = prevNode->pstPrev; in OsAddNode2SortLink()
/kernel/liteos_a/kernel/base/sched/
Dlos_sortlink.c62 LOS_DL_LIST *prevNode = head->pstPrev; in AddNode2SortLink()
71 prevNode = prevNode->pstPrev; in AddNode2SortLink()
/kernel/liteos_a/kernel/base/ipc/
Dlos_futex.c199 LOS_DL_LIST *futexList = oldHeadNode->futexList.pstPrev; in OsFutexReplaceQueueListHeadNode()
202 if ((newHeadNode->queueList.pstNext == NULL) || (newHeadNode->queueList.pstPrev == NULL)) { in OsFutexReplaceQueueListHeadNode()
338 LOS_DL_LIST *listTail = queueList->pstPrev; in OsFutexInsertFindFormBackToFront()
340 for (; listHead != listTail; listTail = listTail->pstPrev) { in OsFutexInsertFindFormBackToFront()
352 if (listTail->pstPrev == listHead) { in OsFutexInsertFindFormBackToFront()
365 LOS_DL_LIST *listTail = queueList->pstPrev; in OsFutexInsertFindFromFrontToBack()
874 futexList = oldHeadNode->futexList.pstPrev; in OsFutexRequeueSplitTwoLists()
882 oldHeadNode->queueList.pstPrev = &nextNode->queueList; in OsFutexRequeueSplitTwoLists()
884 newHeadNode->queueList.pstPrev = &tailNode->queueList; in OsFutexRequeueSplitTwoLists()
Dlos_mux.c291 if ((mutex->muxList.pstPrev == NULL) || (mutex->muxList.pstNext == NULL)) { in OsMuxPendOp()
/kernel/liteos_m/components/lmk/
Dlos_lmk.c85 opsNode = LOS_DL_LIST_ENTRY(g_losLmkOps.lmkOpsList.pstPrev, LosLmkOpsNode, node); in LOS_LmkOpsNodeRegister()
95 LOS_ListHeadInsert((&opsNode->node)->pstPrev, &lmkNode->node); in LOS_LmkOpsNodeRegister()
/kernel/liteos_m/components/shell/src/base/
Dshcmd.c220 for (cmdItem = LOS_DL_LIST_ENTRY((&cmdInfo.cmdList.list)->pstPrev, CmdItemNode, list); in OsCmdAscendingInsert()
222 cmdNext = LOS_DL_LIST_ENTRY(cmdItem->list.pstPrev, CmdItemNode, list); in OsCmdAscendingInsert()
/kernel/liteos_a/shell/full/src/base/
Dshcmd.c574 for (cmdItem = LOS_DL_LIST_ENTRY((&g_cmdInfo.cmdList.list)->pstPrev, CmdItemNode, list); in OsCmdAscendingInsert()
576 cmdNext = LOS_DL_LIST_ENTRY(cmdItem->list.pstPrev, CmdItemNode, list); in OsCmdAscendingInsert()
711 cmdtmp = LOS_DL_LIST_ENTRY(cmdMask->list.pstPrev, CmdKeyLink, list); in OsShellHistoryShow()
Dshmsg.c80 cmdNxt = LOS_DL_LIST_ENTRY(cmdHistory->list.pstPrev, CmdKeyLink, list); in ShellSaveHistoryCmd()
/kernel/liteos_a/fs/vfs/bcache/src/
Dbcache.c466 node = bc->listHead.pstPrev; in GetSlowBlock()
469 node = block->listNode.pstPrev; in GetSlowBlock()
608 node = bc->listHead.pstPrev; in BcacheSync()
616 node = node->pstPrev; in BcacheSync()
/kernel/liteos_a/compat/posix/src/
Dpthread_cond.c47 if ((cond->event.stEventList.pstPrev == NULL) && in CondInitCheck()
/kernel/liteos_m/kal/posix/src/
Dpthread_cond.c129 if ((cond->event.stEventList.pstPrev == NULL) && in CondInitCheck()
/kernel/liteos_a/apps/shell/src/
Dshcmd.c559 cmdtmp = SH_LIST_ENTRY(cmdMask->list.pstPrev, CmdKeyLink, list); in OsShellHistoryShow()
Dshmsg.c93 cmdNxt = SH_LIST_ENTRY(cmdHistory->list.pstPrev, CmdKeyLink, list); in ShellSaveHistoryCmd()
/kernel/liteos_a/fs/fat/os_adapt/
Dfatfs.c1756 dfp_new->fno.fp_list.pstPrev = dfp_old->fno.fp_list.pstPrev; in fatfs_rename()