Searched refs:requestedSize (Results 1 – 2 of 2) sorted by relevance
146 static void MEM_BufferAllocates_memStatis(void *buffer, uint32_t time, uint32_t requestedSize) in MEM_BufferAllocates_memStatis() argument154 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()
211 static void MEM_BufferAllocates_memStatis(void *buffer, uint32_t time, uint32_t requestedSize) in MEM_BufferAllocates_memStatis() argument227 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()