Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/components/mem_manager/
Dfsl_component_mem_manager_light.c462 blockHeader_t *FreeBlockHdr = FreeBlockHdrList.head; in MEM_BufferAllocate() local
463 blockHeader_t *NextFreeBlockHdr = FreeBlockHdr->next_free; in MEM_BufferAllocate()
464 blockHeader_t *PrevFreeBlockHdr = FreeBlockHdr->prev_free; in MEM_BufferAllocate()
479 assert(FreeBlockHdr->used == MEMMANAGER_BLOCK_FREE); in MEM_BufferAllocate()
480 if (FreeBlockHdr->next != NULL) in MEM_BufferAllocate()
483 available_size = (uint32_t)FreeBlockHdr->next - (uint32_t)FreeBlockHdr - BLOCK_HDR_SIZE; in MEM_BufferAllocate()
487 assert(FreeBlockHdr < FreeBlockHdrList.tail); in MEM_BufferAllocate()
488 assert(FreeBlockHdr->next_free != NULL); in MEM_BufferAllocate()
496 UsableBlockHdr = FreeBlockHdr; in MEM_BufferAllocate()
505 FreeBlockHdr->used = MEMMANAGER_BLOCK_USED; in MEM_BufferAllocate()
[all …]