Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/components/mem_manager/
Dfsl_component_mem_manager.c146 static void MEM_BufferAllocates_memStatis(void *buffer, uint32_t time, uint32_t requestedSize) in MEM_BufferAllocates_memStatis() argument
154 if (requestedSize <= SMALL_BUFFER_SIZE) in MEM_BufferAllocates_memStatis()
159 else if (requestedSize <= LARGE_BUFFER_SIZE) in MEM_BufferAllocates_memStatis()
170 s_memStatis.ram_allocated += (uint16_t)(requestedSize + BLOCK_HDR_SIZE); in MEM_BufferAllocates_memStatis()
177 assert(block_size >= requestedSize); in MEM_BufferAllocates_memStatis()
179 s_memStatis.ram_lost += (uint16_t)(block_size - requestedSize); in MEM_BufferAllocates_memStatis()
189 s_memStatis.last_alloc_buff_size = (uint16_t)requestedSize; in MEM_BufferAllocates_memStatis()
Dfsl_component_mem_manager_light.c211 static void MEM_BufferAllocates_memStatis(void *buffer, uint32_t time, uint32_t requestedSize) in MEM_BufferAllocates_memStatis() argument
227 if (requestedSize <= SMALL_BUFFER_SIZE) in MEM_BufferAllocates_memStatis()
232 else if (requestedSize <= LARGE_BUFFER_SIZE) in MEM_BufferAllocates_memStatis()
243 s_memStatis.ram_allocated += (uint16_t)(requestedSize + BLOCK_HDR_SIZE); in MEM_BufferAllocates_memStatis()
249 assert(block_size >= requestedSize); in MEM_BufferAllocates_memStatis()
251 s_memStatis.ram_lost += (uint16_t)(block_size - requestedSize); in MEM_BufferAllocates_memStatis()
261 s_memStatis.last_alloc_buff_size = (uint16_t)requestedSize; in MEM_BufferAllocates_memStatis()