/Kernel-v11.1.0/portable/IAR/ARM_CM33/secure/ |
D | secure_heap.c | 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() [all …]
|
/Kernel-v11.1.0/portable/IAR/ARM_CM23/secure/ |
D | secure_heap.c | 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() [all …]
|
/Kernel-v11.1.0/portable/IAR/ARM_CM55/secure/ |
D | secure_heap.c | 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() [all …]
|
/Kernel-v11.1.0/portable/IAR/ARM_CM85/secure/ |
D | secure_heap.c | 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() [all …]
|
/Kernel-v11.1.0/portable/ARMv8M/secure/heap/ |
D | secure_heap.c | 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() [all …]
|
/Kernel-v11.1.0/portable/GCC/ARM_CM85/secure/ |
D | secure_heap.c | 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() [all …]
|
/Kernel-v11.1.0/portable/GCC/ARM_CM23/secure/ |
D | secure_heap.c | 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() [all …]
|
/Kernel-v11.1.0/portable/GCC/ARM_CM33/secure/ |
D | secure_heap.c | 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() [all …]
|
/Kernel-v11.1.0/portable/IAR/ARM_CM35P/secure/ |
D | secure_heap.c | 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() [all …]
|
/Kernel-v11.1.0/portable/GCC/ARM_CM55/secure/ |
D | secure_heap.c | 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() [all …]
|
/Kernel-v11.1.0/portable/GCC/ARM_CM35P/secure/ |
D | secure_heap.c | 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() [all …]
|
/Kernel-v11.1.0/portable/MemMang/ |
D | heap_4.c | 102 struct A_BLOCK_LINK * pxNextFreeBlock; /**< The next free block in the list. */ member 244 pxBlock = heapPROTECT_BLOCK_POINTER( xStart.pxNextFreeBlock ); in pvPortMalloc() 247 …while( ( pxBlock->xBlockSize < xWantedSize ) && ( pxBlock->pxNextFreeBlock != heapPROTECT_BLOCK_PO… in pvPortMalloc() 250 pxBlock = heapPROTECT_BLOCK_POINTER( pxBlock->pxNextFreeBlock ); in pvPortMalloc() 260 …id * ) ( ( ( uint8_t * ) heapPROTECT_BLOCK_POINTER( pxPreviousBlock->pxNextFreeBlock ) ) + xHeapSt… in pvPortMalloc() 265 pxPreviousBlock->pxNextFreeBlock = pxBlock->pxNextFreeBlock; in pvPortMalloc() 286 pxNewBlockLink->pxNextFreeBlock = pxPreviousBlock->pxNextFreeBlock; in pvPortMalloc() 287 … pxPreviousBlock->pxNextFreeBlock = heapPROTECT_BLOCK_POINTER( pxNewBlockLink ); in pvPortMalloc() 308 pxBlock->pxNextFreeBlock = NULL; in pvPortMalloc() 364 configASSERT( pxLink->pxNextFreeBlock == NULL ); in vPortFree() [all …]
|
D | heap_2.c | 101 struct A_BLOCK_LINK * pxNextFreeBlock; /*<< The next free block in the list. */ member 144 … pxIterator = &xStart; pxIterator->pxNextFreeBlock->xBlockSize < xBlockSize; pxIterator = pxIterat… 151 …pxBlockToInsert->pxNextFreeBlock = pxIterator->pxNextFreeBlock; … 152 …pxIterator->pxNextFreeBlock = pxBlockToInsert; … 224 pxBlock = xStart.pxNextFreeBlock; in pvPortMalloc() 226 … while( ( pxBlock->xBlockSize < xWantedSize ) && ( pxBlock->pxNextFreeBlock != NULL ) ) in pvPortMalloc() 229 pxBlock = pxBlock->pxNextFreeBlock; in pvPortMalloc() 237 … pvReturn = ( void * ) ( ( ( uint8_t * ) pxPreviousBlock->pxNextFreeBlock ) + xHeapStructSize ); in pvPortMalloc() 241 pxPreviousBlock->pxNextFreeBlock = pxBlock->pxNextFreeBlock; in pvPortMalloc() 267 pxBlock->pxNextFreeBlock = NULL; in pvPortMalloc() [all …]
|
D | heap_5.c | 153 struct A_BLOCK_LINK * pxNextFreeBlock; /**< The next free block in the list. */ member 272 pxBlock = heapPROTECT_BLOCK_POINTER( xStart.pxNextFreeBlock ); in pvPortMalloc() 275 …while( ( pxBlock->xBlockSize < xWantedSize ) && ( pxBlock->pxNextFreeBlock != heapPROTECT_BLOCK_PO… in pvPortMalloc() 278 pxBlock = heapPROTECT_BLOCK_POINTER( pxBlock->pxNextFreeBlock ); in pvPortMalloc() 288 …id * ) ( ( ( uint8_t * ) heapPROTECT_BLOCK_POINTER( pxPreviousBlock->pxNextFreeBlock ) ) + xHeapSt… in pvPortMalloc() 293 pxPreviousBlock->pxNextFreeBlock = pxBlock->pxNextFreeBlock; in pvPortMalloc() 314 pxNewBlockLink->pxNextFreeBlock = pxPreviousBlock->pxNextFreeBlock; in pvPortMalloc() 315 … pxPreviousBlock->pxNextFreeBlock = heapPROTECT_BLOCK_POINTER( pxNewBlockLink ); in pvPortMalloc() 336 pxBlock->pxNextFreeBlock = NULL; in pvPortMalloc() 392 configASSERT( pxLink->pxNextFreeBlock == NULL ); in vPortFree() [all …]
|