Lines Matching refs:pxBlockToInsert
120 static void prvInsertBlockIntoFreeList( BlockLink_t * pxBlockToInsert );
189 static void prvInsertBlockIntoFreeList( BlockLink_t * pxBlockToInsert ) in prvInsertBlockIntoFreeList() argument
196 …for( pxIterator = &xStart; pxIterator->pxNextFreeBlock < pxBlockToInsert; pxIterator = pxIterator-… in prvInsertBlockIntoFreeList()
205 if( ( puc + pxIterator->xBlockSize ) == ( uint8_t * ) pxBlockToInsert ) in prvInsertBlockIntoFreeList()
207 pxIterator->xBlockSize += pxBlockToInsert->xBlockSize; in prvInsertBlockIntoFreeList()
208 pxBlockToInsert = pxIterator; in prvInsertBlockIntoFreeList()
217 puc = ( uint8_t * ) pxBlockToInsert; in prvInsertBlockIntoFreeList()
219 if( ( puc + pxBlockToInsert->xBlockSize ) == ( uint8_t * ) pxIterator->pxNextFreeBlock ) in prvInsertBlockIntoFreeList()
224 pxBlockToInsert->xBlockSize += pxIterator->pxNextFreeBlock->xBlockSize; in prvInsertBlockIntoFreeList()
225 pxBlockToInsert->pxNextFreeBlock = pxIterator->pxNextFreeBlock->pxNextFreeBlock; in prvInsertBlockIntoFreeList()
229 pxBlockToInsert->pxNextFreeBlock = pxEnd; in prvInsertBlockIntoFreeList()
234 pxBlockToInsert->pxNextFreeBlock = pxIterator->pxNextFreeBlock; in prvInsertBlockIntoFreeList()
241 if( pxIterator != pxBlockToInsert ) in prvInsertBlockIntoFreeList()
243 pxIterator->pxNextFreeBlock = pxBlockToInsert; in prvInsertBlockIntoFreeList()