Home
last modified time | relevance | path

Searched refs:xHeapStructSize (Results 1 – 15 of 15) sorted by relevance

/Kernel-v11.1.0/portable/MemMang/
Dheap_2.c106 static const size_t xHeapStructSize = ( ( sizeof( BlockLink_t ) + ( size_t ) ( portBYTE_ALIGNMENT -… variable
107 #define heapMINIMUM_BLOCK_SIZE ( ( size_t ) ( xHeapStructSize * 2 ) )
168 if( heapADD_WILL_OVERFLOW( xWantedSize, xHeapStructSize ) == 0 ) in pvPortMalloc()
170 xWantedSize += xHeapStructSize; in pvPortMalloc()
237 … pvReturn = ( void * ) ( ( ( uint8_t * ) pxPreviousBlock->pxNextFreeBlock ) + xHeapStructSize ); in pvPortMalloc()
298 puc -= xHeapStructSize; in vPortFree()
316 … ( void ) memset( puc + xHeapStructSize, 0, pxLink->xBlockSize - xHeapStructSize ); in vPortFree()
Dheap_4.c59 #define heapMINIMUM_BLOCK_SIZE ( ( size_t ) ( xHeapStructSize << 1 ) )
158 static const size_t xHeapStructSize = ( sizeof( BlockLink_t ) + ( ( size_t ) ( portBYTE_ALIGNMENT -… variable
185 if( heapADD_WILL_OVERFLOW( xWantedSize, xHeapStructSize ) == 0 ) in pvPortMalloc()
187 xWantedSize += xHeapStructSize; in pvPortMalloc()
260 … ( uint8_t * ) heapPROTECT_BLOCK_POINTER( pxPreviousBlock->pxNextFreeBlock ) ) + xHeapStructSize ); in pvPortMalloc()
357 puc -= xHeapStructSize; in vPortFree()
377 if( heapSUBTRACT_WILL_UNDERFLOW( pxLink->xBlockSize, xHeapStructSize ) == 0 ) in vPortFree()
379 … ( void ) memset( puc + xHeapStructSize, 0, pxLink->xBlockSize - xHeapStructSize ); in vPortFree()
474 uxEndAddress -= ( portPOINTER_SIZE_TYPE ) xHeapStructSize; in prvHeapInit()
Dheap_5.c93 #define heapMINIMUM_BLOCK_SIZE ( ( size_t ) ( xHeapStructSize << 1 ) )
182 static const size_t xHeapStructSize = ( sizeof( BlockLink_t ) + ( ( size_t ) ( portBYTE_ALIGNMENT -… variable
224 if( heapADD_WILL_OVERFLOW( xWantedSize, xHeapStructSize ) == 0 ) in pvPortMalloc()
226 xWantedSize += xHeapStructSize; in pvPortMalloc()
288 … ( uint8_t * ) heapPROTECT_BLOCK_POINTER( pxPreviousBlock->pxNextFreeBlock ) ) + xHeapStructSize ); in pvPortMalloc()
385 puc -= xHeapStructSize; in vPortFree()
405 if( heapSUBTRACT_WILL_UNDERFLOW( pxLink->xBlockSize, xHeapStructSize ) == 0 ) in vPortFree()
407 … ( void ) memset( puc + xHeapStructSize, 0, pxLink->xBlockSize - xHeapStructSize ); in vPortFree()
608 xAddress -= ( portPOINTER_SIZE_TYPE ) xHeapStructSize; in vPortDefineHeapRegions()
/Kernel-v11.1.0/portable/IAR/ARM_CM33/secure/
Dsecure_heap.c61 #define secureheapMINIMUM_BLOCK_SIZE ( ( size_t ) ( xHeapStructSize << 1 ) )
127 static const size_t xHeapStructSize = ( sizeof( BlockLink_t ) + ( ( size_t ) ( secureportBYTE_ALIGN… variable
171 uxAddress -= xHeapStructSize; in prvHeapInit()
275 if( secureheapADD_WILL_OVERFLOW( xWantedSize, xHeapStructSize ) == 0 ) in pvPortMalloc()
277 xWantedSize += xHeapStructSize; in pvPortMalloc()
335 … pvReturn = ( void * ) ( ( ( uint8_t * ) pxPreviousBlock->pxNextFreeBlock ) + xHeapStructSize ); in pvPortMalloc()
427 puc -= xHeapStructSize; in vPortFree()
/Kernel-v11.1.0/portable/IAR/ARM_CM23/secure/
Dsecure_heap.c61 #define secureheapMINIMUM_BLOCK_SIZE ( ( size_t ) ( xHeapStructSize << 1 ) )
127 static const size_t xHeapStructSize = ( sizeof( BlockLink_t ) + ( ( size_t ) ( secureportBYTE_ALIGN… variable
171 uxAddress -= xHeapStructSize; in prvHeapInit()
275 if( secureheapADD_WILL_OVERFLOW( xWantedSize, xHeapStructSize ) == 0 ) in pvPortMalloc()
277 xWantedSize += xHeapStructSize; in pvPortMalloc()
335 … pvReturn = ( void * ) ( ( ( uint8_t * ) pxPreviousBlock->pxNextFreeBlock ) + xHeapStructSize ); in pvPortMalloc()
427 puc -= xHeapStructSize; in vPortFree()
/Kernel-v11.1.0/portable/IAR/ARM_CM55/secure/
Dsecure_heap.c61 #define secureheapMINIMUM_BLOCK_SIZE ( ( size_t ) ( xHeapStructSize << 1 ) )
127 static const size_t xHeapStructSize = ( sizeof( BlockLink_t ) + ( ( size_t ) ( secureportBYTE_ALIGN… variable
171 uxAddress -= xHeapStructSize; in prvHeapInit()
275 if( secureheapADD_WILL_OVERFLOW( xWantedSize, xHeapStructSize ) == 0 ) in pvPortMalloc()
277 xWantedSize += xHeapStructSize; in pvPortMalloc()
335 … pvReturn = ( void * ) ( ( ( uint8_t * ) pxPreviousBlock->pxNextFreeBlock ) + xHeapStructSize ); in pvPortMalloc()
427 puc -= xHeapStructSize; in vPortFree()
/Kernel-v11.1.0/portable/IAR/ARM_CM85/secure/
Dsecure_heap.c61 #define secureheapMINIMUM_BLOCK_SIZE ( ( size_t ) ( xHeapStructSize << 1 ) )
127 static const size_t xHeapStructSize = ( sizeof( BlockLink_t ) + ( ( size_t ) ( secureportBYTE_ALIGN… variable
171 uxAddress -= xHeapStructSize; in prvHeapInit()
275 if( secureheapADD_WILL_OVERFLOW( xWantedSize, xHeapStructSize ) == 0 ) in pvPortMalloc()
277 xWantedSize += xHeapStructSize; in pvPortMalloc()
335 … pvReturn = ( void * ) ( ( ( uint8_t * ) pxPreviousBlock->pxNextFreeBlock ) + xHeapStructSize ); in pvPortMalloc()
427 puc -= xHeapStructSize; in vPortFree()
/Kernel-v11.1.0/portable/ARMv8M/secure/heap/
Dsecure_heap.c61 #define secureheapMINIMUM_BLOCK_SIZE ( ( size_t ) ( xHeapStructSize << 1 ) )
127 static const size_t xHeapStructSize = ( sizeof( BlockLink_t ) + ( ( size_t ) ( secureportBYTE_ALIGN… variable
171 uxAddress -= xHeapStructSize; in prvHeapInit()
275 if( secureheapADD_WILL_OVERFLOW( xWantedSize, xHeapStructSize ) == 0 ) in pvPortMalloc()
277 xWantedSize += xHeapStructSize; in pvPortMalloc()
335 … pvReturn = ( void * ) ( ( ( uint8_t * ) pxPreviousBlock->pxNextFreeBlock ) + xHeapStructSize ); in pvPortMalloc()
427 puc -= xHeapStructSize; in vPortFree()
/Kernel-v11.1.0/portable/GCC/ARM_CM85/secure/
Dsecure_heap.c61 #define secureheapMINIMUM_BLOCK_SIZE ( ( size_t ) ( xHeapStructSize << 1 ) )
127 static const size_t xHeapStructSize = ( sizeof( BlockLink_t ) + ( ( size_t ) ( secureportBYTE_ALIGN… variable
171 uxAddress -= xHeapStructSize; in prvHeapInit()
275 if( secureheapADD_WILL_OVERFLOW( xWantedSize, xHeapStructSize ) == 0 ) in pvPortMalloc()
277 xWantedSize += xHeapStructSize; in pvPortMalloc()
335 … pvReturn = ( void * ) ( ( ( uint8_t * ) pxPreviousBlock->pxNextFreeBlock ) + xHeapStructSize ); in pvPortMalloc()
427 puc -= xHeapStructSize; in vPortFree()
/Kernel-v11.1.0/portable/GCC/ARM_CM23/secure/
Dsecure_heap.c61 #define secureheapMINIMUM_BLOCK_SIZE ( ( size_t ) ( xHeapStructSize << 1 ) )
127 static const size_t xHeapStructSize = ( sizeof( BlockLink_t ) + ( ( size_t ) ( secureportBYTE_ALIGN… variable
171 uxAddress -= xHeapStructSize; in prvHeapInit()
275 if( secureheapADD_WILL_OVERFLOW( xWantedSize, xHeapStructSize ) == 0 ) in pvPortMalloc()
277 xWantedSize += xHeapStructSize; in pvPortMalloc()
335 … pvReturn = ( void * ) ( ( ( uint8_t * ) pxPreviousBlock->pxNextFreeBlock ) + xHeapStructSize ); in pvPortMalloc()
427 puc -= xHeapStructSize; in vPortFree()
/Kernel-v11.1.0/portable/GCC/ARM_CM33/secure/
Dsecure_heap.c61 #define secureheapMINIMUM_BLOCK_SIZE ( ( size_t ) ( xHeapStructSize << 1 ) )
127 static const size_t xHeapStructSize = ( sizeof( BlockLink_t ) + ( ( size_t ) ( secureportBYTE_ALIGN… variable
171 uxAddress -= xHeapStructSize; in prvHeapInit()
275 if( secureheapADD_WILL_OVERFLOW( xWantedSize, xHeapStructSize ) == 0 ) in pvPortMalloc()
277 xWantedSize += xHeapStructSize; in pvPortMalloc()
335 … pvReturn = ( void * ) ( ( ( uint8_t * ) pxPreviousBlock->pxNextFreeBlock ) + xHeapStructSize ); in pvPortMalloc()
427 puc -= xHeapStructSize; in vPortFree()
/Kernel-v11.1.0/portable/IAR/ARM_CM35P/secure/
Dsecure_heap.c61 #define secureheapMINIMUM_BLOCK_SIZE ( ( size_t ) ( xHeapStructSize << 1 ) )
127 static const size_t xHeapStructSize = ( sizeof( BlockLink_t ) + ( ( size_t ) ( secureportBYTE_ALIGN… variable
171 uxAddress -= xHeapStructSize; in prvHeapInit()
275 if( secureheapADD_WILL_OVERFLOW( xWantedSize, xHeapStructSize ) == 0 ) in pvPortMalloc()
277 xWantedSize += xHeapStructSize; in pvPortMalloc()
335 … pvReturn = ( void * ) ( ( ( uint8_t * ) pxPreviousBlock->pxNextFreeBlock ) + xHeapStructSize ); in pvPortMalloc()
427 puc -= xHeapStructSize; in vPortFree()
/Kernel-v11.1.0/portable/GCC/ARM_CM55/secure/
Dsecure_heap.c61 #define secureheapMINIMUM_BLOCK_SIZE ( ( size_t ) ( xHeapStructSize << 1 ) )
127 static const size_t xHeapStructSize = ( sizeof( BlockLink_t ) + ( ( size_t ) ( secureportBYTE_ALIGN… variable
171 uxAddress -= xHeapStructSize; in prvHeapInit()
275 if( secureheapADD_WILL_OVERFLOW( xWantedSize, xHeapStructSize ) == 0 ) in pvPortMalloc()
277 xWantedSize += xHeapStructSize; in pvPortMalloc()
335 … pvReturn = ( void * ) ( ( ( uint8_t * ) pxPreviousBlock->pxNextFreeBlock ) + xHeapStructSize ); in pvPortMalloc()
427 puc -= xHeapStructSize; in vPortFree()
/Kernel-v11.1.0/portable/GCC/ARM_CM35P/secure/
Dsecure_heap.c61 #define secureheapMINIMUM_BLOCK_SIZE ( ( size_t ) ( xHeapStructSize << 1 ) )
127 static const size_t xHeapStructSize = ( sizeof( BlockLink_t ) + ( ( size_t ) ( secureportBYTE_ALIGN… variable
171 uxAddress -= xHeapStructSize; in prvHeapInit()
275 if( secureheapADD_WILL_OVERFLOW( xWantedSize, xHeapStructSize ) == 0 ) in pvPortMalloc()
277 xWantedSize += xHeapStructSize; in pvPortMalloc()
335 … pvReturn = ( void * ) ( ( ( uint8_t * ) pxPreviousBlock->pxNextFreeBlock ) + xHeapStructSize ); in pvPortMalloc()
427 puc -= xHeapStructSize; in vPortFree()
/Kernel-v11.1.0/
DHistory.txt1127 + Correct calculation of xHeapStructSize in heap_4 and heap_5.