Home
last modified time | relevance | path

Searched refs:xBlockSize (Results 1 – 14 of 14) sorted by relevance

/Kernel-v11.1.0/portable/MemMang/
Dheap_2.c79 #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; …
140xBlockSize = 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()
[all …]
Dheap_4.c81 #define heapBLOCK_SIZE_IS_VALID( xBlockSize ) ( ( ( xBlockSize ) & heapBLOCK_ALLOCATED_BITMASK )… argument
82 #define heapBLOCK_IS_ALLOCATED( pxBlock ) ( ( ( pxBlock->xBlockSize ) & heapBLOCK_ALLOCATED_…
83 #define heapALLOCATE_BLOCK( pxBlock ) ( ( pxBlock->xBlockSize ) |= heapBLOCK_ALLOCATED_B…
84 #define heapFREE_BLOCK( pxBlock ) ( ( pxBlock->xBlockSize ) &= ~heapBLOCK_ALLOCATED_…
103 size_t xBlockSize; /**< The size of the free block. */ member
247 …while( ( pxBlock->xBlockSize < xWantedSize ) && ( pxBlock->pxNextFreeBlock != heapPROTECT_BLOCK_PO… in pvPortMalloc()
269 … configASSERT( heapSUBTRACT_WILL_UNDERFLOW( pxBlock->xBlockSize, xWantedSize ) == 0 ); in pvPortMalloc()
271 if( ( pxBlock->xBlockSize - xWantedSize ) > heapMINIMUM_BLOCK_SIZE ) in pvPortMalloc()
282 pxNewBlockLink->xBlockSize = pxBlock->xBlockSize - xWantedSize; in pvPortMalloc()
283 pxBlock->xBlockSize = xWantedSize; in pvPortMalloc()
[all …]
Dheap_5.c115 #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()
[all …]
/Kernel-v11.1.0/portable/IAR/ARM_CM33/secure/
Dsecure_heap.c57 #define traceFREE( pv, xBlockSize ) argument
77 #define secureheapBLOCK_SIZE_IS_VALID( xBlockSize ) ( ( ( xBlockSize ) & secureheapBLOCK_ALLOCAT… argument
78 #define secureheapBLOCK_IS_ALLOCATED( pxBlock ) ( ( ( pxBlock->xBlockSize ) & secureheapBLOC…
79 #define secureheapALLOCATE_BLOCK( pxBlock ) ( ( pxBlock->xBlockSize ) |= secureheapBLOCK…
80 #define secureheapFREE_BLOCK( pxBlock ) ( ( pxBlock->xBlockSize ) &= ~secureheapBLOC…
101 size_t xBlockSize; /**< The size of the free block. */ member
166 xStart.xBlockSize = ( size_t ) 0; in prvHeapInit()
174 pxEnd->xBlockSize = 0; in prvHeapInit()
180 pxFirstFreeBlock->xBlockSize = uxAddress - ( size_t ) pxFirstFreeBlock; in prvHeapInit()
184 xMinimumEverFreeBytesRemaining = pxFirstFreeBlock->xBlockSize; in prvHeapInit()
[all …]
/Kernel-v11.1.0/portable/IAR/ARM_CM23/secure/
Dsecure_heap.c57 #define traceFREE( pv, xBlockSize ) argument
77 #define secureheapBLOCK_SIZE_IS_VALID( xBlockSize ) ( ( ( xBlockSize ) & secureheapBLOCK_ALLOCAT… argument
78 #define secureheapBLOCK_IS_ALLOCATED( pxBlock ) ( ( ( pxBlock->xBlockSize ) & secureheapBLOC…
79 #define secureheapALLOCATE_BLOCK( pxBlock ) ( ( pxBlock->xBlockSize ) |= secureheapBLOCK…
80 #define secureheapFREE_BLOCK( pxBlock ) ( ( pxBlock->xBlockSize ) &= ~secureheapBLOC…
101 size_t xBlockSize; /**< The size of the free block. */ member
166 xStart.xBlockSize = ( size_t ) 0; in prvHeapInit()
174 pxEnd->xBlockSize = 0; in prvHeapInit()
180 pxFirstFreeBlock->xBlockSize = uxAddress - ( size_t ) pxFirstFreeBlock; in prvHeapInit()
184 xMinimumEverFreeBytesRemaining = pxFirstFreeBlock->xBlockSize; in prvHeapInit()
[all …]
/Kernel-v11.1.0/portable/IAR/ARM_CM55/secure/
Dsecure_heap.c57 #define traceFREE( pv, xBlockSize ) argument
77 #define secureheapBLOCK_SIZE_IS_VALID( xBlockSize ) ( ( ( xBlockSize ) & secureheapBLOCK_ALLOCAT… argument
78 #define secureheapBLOCK_IS_ALLOCATED( pxBlock ) ( ( ( pxBlock->xBlockSize ) & secureheapBLOC…
79 #define secureheapALLOCATE_BLOCK( pxBlock ) ( ( pxBlock->xBlockSize ) |= secureheapBLOCK…
80 #define secureheapFREE_BLOCK( pxBlock ) ( ( pxBlock->xBlockSize ) &= ~secureheapBLOC…
101 size_t xBlockSize; /**< The size of the free block. */ member
166 xStart.xBlockSize = ( size_t ) 0; in prvHeapInit()
174 pxEnd->xBlockSize = 0; in prvHeapInit()
180 pxFirstFreeBlock->xBlockSize = uxAddress - ( size_t ) pxFirstFreeBlock; in prvHeapInit()
184 xMinimumEverFreeBytesRemaining = pxFirstFreeBlock->xBlockSize; in prvHeapInit()
[all …]
/Kernel-v11.1.0/portable/IAR/ARM_CM85/secure/
Dsecure_heap.c57 #define traceFREE( pv, xBlockSize ) argument
77 #define secureheapBLOCK_SIZE_IS_VALID( xBlockSize ) ( ( ( xBlockSize ) & secureheapBLOCK_ALLOCAT… argument
78 #define secureheapBLOCK_IS_ALLOCATED( pxBlock ) ( ( ( pxBlock->xBlockSize ) & secureheapBLOC…
79 #define secureheapALLOCATE_BLOCK( pxBlock ) ( ( pxBlock->xBlockSize ) |= secureheapBLOCK…
80 #define secureheapFREE_BLOCK( pxBlock ) ( ( pxBlock->xBlockSize ) &= ~secureheapBLOC…
101 size_t xBlockSize; /**< The size of the free block. */ member
166 xStart.xBlockSize = ( size_t ) 0; in prvHeapInit()
174 pxEnd->xBlockSize = 0; in prvHeapInit()
180 pxFirstFreeBlock->xBlockSize = uxAddress - ( size_t ) pxFirstFreeBlock; in prvHeapInit()
184 xMinimumEverFreeBytesRemaining = pxFirstFreeBlock->xBlockSize; in prvHeapInit()
[all …]
/Kernel-v11.1.0/portable/ARMv8M/secure/heap/
Dsecure_heap.c57 #define traceFREE( pv, xBlockSize ) argument
77 #define secureheapBLOCK_SIZE_IS_VALID( xBlockSize ) ( ( ( xBlockSize ) & secureheapBLOCK_ALLOCAT… argument
78 #define secureheapBLOCK_IS_ALLOCATED( pxBlock ) ( ( ( pxBlock->xBlockSize ) & secureheapBLOC…
79 #define secureheapALLOCATE_BLOCK( pxBlock ) ( ( pxBlock->xBlockSize ) |= secureheapBLOCK…
80 #define secureheapFREE_BLOCK( pxBlock ) ( ( pxBlock->xBlockSize ) &= ~secureheapBLOC…
101 size_t xBlockSize; /**< The size of the free block. */ member
166 xStart.xBlockSize = ( size_t ) 0; in prvHeapInit()
174 pxEnd->xBlockSize = 0; in prvHeapInit()
180 pxFirstFreeBlock->xBlockSize = uxAddress - ( size_t ) pxFirstFreeBlock; in prvHeapInit()
184 xMinimumEverFreeBytesRemaining = pxFirstFreeBlock->xBlockSize; in prvHeapInit()
[all …]
/Kernel-v11.1.0/portable/GCC/ARM_CM85/secure/
Dsecure_heap.c57 #define traceFREE( pv, xBlockSize ) argument
77 #define secureheapBLOCK_SIZE_IS_VALID( xBlockSize ) ( ( ( xBlockSize ) & secureheapBLOCK_ALLOCAT… argument
78 #define secureheapBLOCK_IS_ALLOCATED( pxBlock ) ( ( ( pxBlock->xBlockSize ) & secureheapBLOC…
79 #define secureheapALLOCATE_BLOCK( pxBlock ) ( ( pxBlock->xBlockSize ) |= secureheapBLOCK…
80 #define secureheapFREE_BLOCK( pxBlock ) ( ( pxBlock->xBlockSize ) &= ~secureheapBLOC…
101 size_t xBlockSize; /**< The size of the free block. */ member
166 xStart.xBlockSize = ( size_t ) 0; in prvHeapInit()
174 pxEnd->xBlockSize = 0; in prvHeapInit()
180 pxFirstFreeBlock->xBlockSize = uxAddress - ( size_t ) pxFirstFreeBlock; in prvHeapInit()
184 xMinimumEverFreeBytesRemaining = pxFirstFreeBlock->xBlockSize; in prvHeapInit()
[all …]
/Kernel-v11.1.0/portable/GCC/ARM_CM23/secure/
Dsecure_heap.c57 #define traceFREE( pv, xBlockSize ) argument
77 #define secureheapBLOCK_SIZE_IS_VALID( xBlockSize ) ( ( ( xBlockSize ) & secureheapBLOCK_ALLOCAT… argument
78 #define secureheapBLOCK_IS_ALLOCATED( pxBlock ) ( ( ( pxBlock->xBlockSize ) & secureheapBLOC…
79 #define secureheapALLOCATE_BLOCK( pxBlock ) ( ( pxBlock->xBlockSize ) |= secureheapBLOCK…
80 #define secureheapFREE_BLOCK( pxBlock ) ( ( pxBlock->xBlockSize ) &= ~secureheapBLOC…
101 size_t xBlockSize; /**< The size of the free block. */ member
166 xStart.xBlockSize = ( size_t ) 0; in prvHeapInit()
174 pxEnd->xBlockSize = 0; in prvHeapInit()
180 pxFirstFreeBlock->xBlockSize = uxAddress - ( size_t ) pxFirstFreeBlock; in prvHeapInit()
184 xMinimumEverFreeBytesRemaining = pxFirstFreeBlock->xBlockSize; in prvHeapInit()
[all …]
/Kernel-v11.1.0/portable/GCC/ARM_CM33/secure/
Dsecure_heap.c57 #define traceFREE( pv, xBlockSize ) argument
77 #define secureheapBLOCK_SIZE_IS_VALID( xBlockSize ) ( ( ( xBlockSize ) & secureheapBLOCK_ALLOCAT… argument
78 #define secureheapBLOCK_IS_ALLOCATED( pxBlock ) ( ( ( pxBlock->xBlockSize ) & secureheapBLOC…
79 #define secureheapALLOCATE_BLOCK( pxBlock ) ( ( pxBlock->xBlockSize ) |= secureheapBLOCK…
80 #define secureheapFREE_BLOCK( pxBlock ) ( ( pxBlock->xBlockSize ) &= ~secureheapBLOC…
101 size_t xBlockSize; /**< The size of the free block. */ member
166 xStart.xBlockSize = ( size_t ) 0; in prvHeapInit()
174 pxEnd->xBlockSize = 0; in prvHeapInit()
180 pxFirstFreeBlock->xBlockSize = uxAddress - ( size_t ) pxFirstFreeBlock; in prvHeapInit()
184 xMinimumEverFreeBytesRemaining = pxFirstFreeBlock->xBlockSize; in prvHeapInit()
[all …]
/Kernel-v11.1.0/portable/IAR/ARM_CM35P/secure/
Dsecure_heap.c57 #define traceFREE( pv, xBlockSize ) argument
77 #define secureheapBLOCK_SIZE_IS_VALID( xBlockSize ) ( ( ( xBlockSize ) & secureheapBLOCK_ALLOCAT… argument
78 #define secureheapBLOCK_IS_ALLOCATED( pxBlock ) ( ( ( pxBlock->xBlockSize ) & secureheapBLOC…
79 #define secureheapALLOCATE_BLOCK( pxBlock ) ( ( pxBlock->xBlockSize ) |= secureheapBLOCK…
80 #define secureheapFREE_BLOCK( pxBlock ) ( ( pxBlock->xBlockSize ) &= ~secureheapBLOC…
101 size_t xBlockSize; /**< The size of the free block. */ member
166 xStart.xBlockSize = ( size_t ) 0; in prvHeapInit()
174 pxEnd->xBlockSize = 0; in prvHeapInit()
180 pxFirstFreeBlock->xBlockSize = uxAddress - ( size_t ) pxFirstFreeBlock; in prvHeapInit()
184 xMinimumEverFreeBytesRemaining = pxFirstFreeBlock->xBlockSize; in prvHeapInit()
[all …]
/Kernel-v11.1.0/portable/GCC/ARM_CM55/secure/
Dsecure_heap.c57 #define traceFREE( pv, xBlockSize ) argument
77 #define secureheapBLOCK_SIZE_IS_VALID( xBlockSize ) ( ( ( xBlockSize ) & secureheapBLOCK_ALLOCAT… argument
78 #define secureheapBLOCK_IS_ALLOCATED( pxBlock ) ( ( ( pxBlock->xBlockSize ) & secureheapBLOC…
79 #define secureheapALLOCATE_BLOCK( pxBlock ) ( ( pxBlock->xBlockSize ) |= secureheapBLOCK…
80 #define secureheapFREE_BLOCK( pxBlock ) ( ( pxBlock->xBlockSize ) &= ~secureheapBLOC…
101 size_t xBlockSize; /**< The size of the free block. */ member
166 xStart.xBlockSize = ( size_t ) 0; in prvHeapInit()
174 pxEnd->xBlockSize = 0; in prvHeapInit()
180 pxFirstFreeBlock->xBlockSize = uxAddress - ( size_t ) pxFirstFreeBlock; in prvHeapInit()
184 xMinimumEverFreeBytesRemaining = pxFirstFreeBlock->xBlockSize; in prvHeapInit()
[all …]
/Kernel-v11.1.0/portable/GCC/ARM_CM35P/secure/
Dsecure_heap.c57 #define traceFREE( pv, xBlockSize ) argument
77 #define secureheapBLOCK_SIZE_IS_VALID( xBlockSize ) ( ( ( xBlockSize ) & secureheapBLOCK_ALLOCAT… argument
78 #define secureheapBLOCK_IS_ALLOCATED( pxBlock ) ( ( ( pxBlock->xBlockSize ) & secureheapBLOC…
79 #define secureheapALLOCATE_BLOCK( pxBlock ) ( ( pxBlock->xBlockSize ) |= secureheapBLOCK…
80 #define secureheapFREE_BLOCK( pxBlock ) ( ( pxBlock->xBlockSize ) &= ~secureheapBLOC…
101 size_t xBlockSize; /**< The size of the free block. */ member
166 xStart.xBlockSize = ( size_t ) 0; in prvHeapInit()
174 pxEnd->xBlockSize = 0; in prvHeapInit()
180 pxFirstFreeBlock->xBlockSize = uxAddress - ( size_t ) pxFirstFreeBlock; in prvHeapInit()
184 xMinimumEverFreeBytesRemaining = pxFirstFreeBlock->xBlockSize; in prvHeapInit()
[all …]