Lines Matching refs:xBlockSize
115 #define heapBLOCK_SIZE_IS_VALID( xBlockSize ) ( ( ( xBlockSize ) & heapBLOCK_ALLOCATED_BITMASK )… argument
116 #define heapBLOCK_IS_ALLOCATED( pxBlock ) ( ( ( pxBlock->xBlockSize ) & heapBLOCK_ALLOCATED_…
117 #define heapALLOCATE_BLOCK( pxBlock ) ( ( pxBlock->xBlockSize ) |= heapBLOCK_ALLOCATED_B…
118 #define heapFREE_BLOCK( pxBlock ) ( ( pxBlock->xBlockSize ) &= ~heapBLOCK_ALLOCATED_…
154 size_t xBlockSize; /**< The size of the free block. */ member
275 …while( ( pxBlock->xBlockSize < xWantedSize ) && ( pxBlock->pxNextFreeBlock != heapPROTECT_BLOCK_PO… in pvPortMalloc()
297 … configASSERT( heapSUBTRACT_WILL_UNDERFLOW( pxBlock->xBlockSize, xWantedSize ) == 0 ); in pvPortMalloc()
299 if( ( pxBlock->xBlockSize - xWantedSize ) > heapMINIMUM_BLOCK_SIZE ) in pvPortMalloc()
310 pxNewBlockLink->xBlockSize = pxBlock->xBlockSize - xWantedSize; in pvPortMalloc()
311 pxBlock->xBlockSize = xWantedSize; in pvPortMalloc()
322 xFreeBytesRemaining -= pxBlock->xBlockSize; in pvPortMalloc()
405 if( heapSUBTRACT_WILL_UNDERFLOW( pxLink->xBlockSize, xHeapStructSize ) == 0 ) in vPortFree()
407 … ( void ) memset( puc + xHeapStructSize, 0, pxLink->xBlockSize - xHeapStructSize ); in vPortFree()
415 xFreeBytesRemaining += pxLink->xBlockSize; in vPortFree()
416 traceFREE( pv, pxLink->xBlockSize ); in vPortFree()
487 if( ( puc + pxIterator->xBlockSize ) == ( uint8_t * ) pxBlockToInsert ) in prvInsertBlockIntoFreeList()
489 pxIterator->xBlockSize += pxBlockToInsert->xBlockSize; in prvInsertBlockIntoFreeList()
501 …if( ( puc + pxBlockToInsert->xBlockSize ) == ( uint8_t * ) heapPROTECT_BLOCK_POINTER( pxIterator->… in prvInsertBlockIntoFreeList()
506 …pxBlockToInsert->xBlockSize += heapPROTECT_BLOCK_POINTER( pxIterator->pxNextFreeBlock )->xBlockSiz… in prvInsertBlockIntoFreeList()
579 xStart.xBlockSize = ( size_t ) 0; in vPortDefineHeapRegions()
611 pxEnd->xBlockSize = 0; in vPortDefineHeapRegions()
618 …pxFirstFreeBlockInRegion->xBlockSize = ( size_t ) ( xAddress - ( portPOINTER_SIZE_TYPE ) pxFirstFr… in vPortDefineHeapRegions()
628 xTotalHeapSize += pxFirstFreeBlockInRegion->xBlockSize; in vPortDefineHeapRegions()
633 …( ( uint8_t * ) pxFirstFreeBlockInRegion ) + pxFirstFreeBlockInRegion->xBlockSize ) > pucHeapHighA… in vPortDefineHeapRegions()
635 …eapHighAddress = ( ( uint8_t * ) pxFirstFreeBlockInRegion ) + pxFirstFreeBlockInRegion->xBlockSize; in vPortDefineHeapRegions()
672 if( pxBlock->xBlockSize > xMaxSize ) in vPortGetHeapStats()
674 xMaxSize = pxBlock->xBlockSize; in vPortGetHeapStats()
680 if( pxBlock->xBlockSize != 0 ) in vPortGetHeapStats()
682 if( pxBlock->xBlockSize < xMinSize ) in vPortGetHeapStats()
684 xMinSize = pxBlock->xBlockSize; in vPortGetHeapStats()