Lines Matching refs:pxList
49 void vListInitialise( List_t * const pxList ) in vListInitialise() argument
51 traceENTER_vListInitialise( pxList ); in vListInitialise()
56 pxList->pxIndex = ( ListItem_t * ) &( pxList->xListEnd ); in vListInitialise()
58 listSET_FIRST_LIST_ITEM_INTEGRITY_CHECK_VALUE( &( pxList->xListEnd ) ); in vListInitialise()
62 pxList->xListEnd.xItemValue = portMAX_DELAY; in vListInitialise()
66 pxList->xListEnd.pxNext = ( ListItem_t * ) &( pxList->xListEnd ); in vListInitialise()
67 pxList->xListEnd.pxPrevious = ( ListItem_t * ) &( pxList->xListEnd ); in vListInitialise()
72 pxList->xListEnd.pvOwner = NULL; in vListInitialise()
73 pxList->xListEnd.pxContainer = NULL; in vListInitialise()
74 listSET_SECOND_LIST_ITEM_INTEGRITY_CHECK_VALUE( &( pxList->xListEnd ) ); in vListInitialise()
78 pxList->uxNumberOfItems = ( UBaseType_t ) 0U; in vListInitialise()
82 listSET_LIST_INTEGRITY_CHECK_1_VALUE( pxList ); in vListInitialise()
83 listSET_LIST_INTEGRITY_CHECK_2_VALUE( pxList ); in vListInitialise()
105 void vListInsertEnd( List_t * const pxList, in vListInsertEnd() argument
108 ListItem_t * const pxIndex = pxList->pxIndex; in vListInsertEnd()
110 traceENTER_vListInsertEnd( pxList, pxNewListItem ); in vListInsertEnd()
115 listTEST_LIST_INTEGRITY( pxList ); in vListInsertEnd()
131 pxNewListItem->pxContainer = pxList; in vListInsertEnd()
133 ( pxList->uxNumberOfItems ) = ( UBaseType_t ) ( pxList->uxNumberOfItems + 1U ); in vListInsertEnd()
139 void vListInsert( List_t * const pxList, in vListInsert() argument
145 traceENTER_vListInsert( pxList, pxNewListItem ); in vListInsert()
150 listTEST_LIST_INTEGRITY( pxList ); in vListInsert()
163 pxIterator = pxList->xListEnd.pxPrevious; in vListInsert()
192 …for( pxIterator = ( ListItem_t * ) &( pxList->xListEnd ); pxIterator->pxNext->xItemValue <= xValue… in vListInsert()
206 pxNewListItem->pxContainer = pxList; in vListInsert()
208 ( pxList->uxNumberOfItems ) = ( UBaseType_t ) ( pxList->uxNumberOfItems + 1U ); in vListInsert()
219 List_t * const pxList = pxItemToRemove->pxContainer; in uxListRemove() local
230 if( pxList->pxIndex == pxItemToRemove ) in uxListRemove()
232 pxList->pxIndex = pxItemToRemove->pxPrevious; in uxListRemove()
240 ( pxList->uxNumberOfItems ) = ( UBaseType_t ) ( pxList->uxNumberOfItems - 1U ); in uxListRemove()
242 traceRETURN_uxListRemove( pxList->uxNumberOfItems ); in uxListRemove()
244 return pxList->uxNumberOfItems; in uxListRemove()