Lines Matching refs:xBlockSize
79 #define heapBLOCK_SIZE_IS_VALID( xBlockSize ) ( ( ( xBlockSize ) & heapBLOCK_ALLOCATED_BITMASK )… argument
80 #define heapBLOCK_IS_ALLOCATED( pxBlock ) ( ( ( pxBlock->xBlockSize ) & heapBLOCK_ALLOCATED_…
81 #define heapALLOCATE_BLOCK( pxBlock ) ( ( pxBlock->xBlockSize ) |= heapBLOCK_ALLOCATED_B…
82 #define heapFREE_BLOCK( pxBlock ) ( ( pxBlock->xBlockSize ) &= ~heapBLOCK_ALLOCATED_…
102 size_t xBlockSize; /*<< The size of the free block. */ member
138 …size_t xBlockSize; …
140 …xBlockSize = pxBlockToInsert->xBlockSize; …
144 …for( pxIterator = &xStart; pxIterator->pxNextFreeBlock->xBlockSize < xBlockSize; pxIterator = pxIt…
226 … while( ( pxBlock->xBlockSize < xWantedSize ) && ( pxBlock->pxNextFreeBlock != NULL ) ) in pvPortMalloc()
244 if( ( pxBlock->xBlockSize - xWantedSize ) > heapMINIMUM_BLOCK_SIZE ) in pvPortMalloc()
253 pxNewBlockLink->xBlockSize = pxBlock->xBlockSize - xWantedSize; in pvPortMalloc()
254 pxBlock->xBlockSize = xWantedSize; in pvPortMalloc()
262 xFreeBytesRemaining -= pxBlock->xBlockSize; in pvPortMalloc()
316 … ( void ) memset( puc + xHeapStructSize, 0, pxLink->xBlockSize - xHeapStructSize ); in vPortFree()
324 xFreeBytesRemaining += pxLink->xBlockSize; in vPortFree()
325 traceFREE( pv, pxLink->xBlockSize ); in vPortFree()
376 xStart.xBlockSize = ( size_t ) 0; in prvHeapInit()
379 xEnd.xBlockSize = configADJUSTED_HEAP_SIZE; in prvHeapInit()
385 pxFirstFreeBlock->xBlockSize = configADJUSTED_HEAP_SIZE; in prvHeapInit()