Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/components/mem_manager/
Dfsl_component_mem_manager_light.c482 uint32_t available_size; in MEM_BufferAllocate() local
483 available_size = (uint32_t)FreeBlockHdr->next - (uint32_t)FreeBlockHdr - BLOCK_HDR_SIZE; in MEM_BufferAllocate()
490 if (available_size >= numBytes) /* enough space in this free buffer */ in MEM_BufferAllocate()
501 …if ( (available_size <= 4u) || ((available_size - numBytes) < (available_size >> cMemManagerLightR… in MEM_BufferAllocate()
535 uint32_t available_size; in MEM_BufferAllocate() local
541 available_size = memHeapEnd - current_footprint; in MEM_BufferAllocate()
545 …if (available_size >= (numBytes + BLOCK_HDR_SIZE)) /* need to keep the room for the next BlockHead… in MEM_BufferAllocate()