Lines Matching refs:pxNextFreeBlock
100 struct A_BLOCK_LINK * pxNextFreeBlock; /**< The next free block in the list. */ member
165 xStart.pxNextFreeBlock = ( void * ) pucAlignedHeap; in prvHeapInit()
175 pxEnd->pxNextFreeBlock = NULL; in prvHeapInit()
181 pxFirstFreeBlock->pxNextFreeBlock = pxEnd; in prvHeapInit()
196 …for( pxIterator = &xStart; pxIterator->pxNextFreeBlock < pxBlockToInsert; pxIterator = pxIterator-… in prvInsertBlockIntoFreeList()
219 if( ( puc + pxBlockToInsert->xBlockSize ) == ( uint8_t * ) pxIterator->pxNextFreeBlock ) in prvInsertBlockIntoFreeList()
221 if( pxIterator->pxNextFreeBlock != pxEnd ) 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()
243 pxIterator->pxNextFreeBlock = pxBlockToInsert; in prvInsertBlockIntoFreeList()
321 pxBlock = xStart.pxNextFreeBlock; in pvPortMalloc()
323 while( ( pxBlock->xBlockSize < xWantedSize ) && ( pxBlock->pxNextFreeBlock != NULL ) ) in pvPortMalloc()
326 pxBlock = pxBlock->pxNextFreeBlock; in pvPortMalloc()
335 … pvReturn = ( void * ) ( ( ( uint8_t * ) pxPreviousBlock->pxNextFreeBlock ) + xHeapStructSize ); in pvPortMalloc()
339 pxPreviousBlock->pxNextFreeBlock = pxBlock->pxNextFreeBlock; in pvPortMalloc()
358 pxNewBlockLink->pxNextFreeBlock = pxPreviousBlock->pxNextFreeBlock; in pvPortMalloc()
359 pxPreviousBlock->pxNextFreeBlock = pxNewBlockLink; in pvPortMalloc()
380 pxBlock->pxNextFreeBlock = NULL; in pvPortMalloc()
434 secureportASSERT( pxLink->pxNextFreeBlock == NULL ); in vPortFree()
438 if( pxLink->pxNextFreeBlock == NULL ) in vPortFree()