Searched refs:BLOCK_HDR_SIZE (Results 1 – 2 of 2) sorted by relevance
88 #define BLOCK_HDR_SIZE (ROUNDUP_WORD(sizeof(blockHeader_t))) macro264 blockHdr_ptr.raw_address = buffer_ptr.raw_address - BLOCK_HDR_SIZE; in MEM_BufferAllocates_memStatis()288 s_memStatis.ram_allocated += (uint16_t)(requestedSize + BLOCK_HDR_SIZE); in MEM_BufferAllocates_memStatis()292 block_size = (uint32_t)BlockHdr->next - (uint32_t)BlockHdr - BLOCK_HDR_SIZE; in MEM_BufferAllocates_memStatis()299 UPDATE_PEAK(((uint32_t)FreeBlockHdrList.tail + BLOCK_HDR_SIZE), s_memStatis.peak_upper_addr); in MEM_BufferAllocates_memStatis()329 blockHdr_ptr.raw_address = buffer_ptr.raw_address - BLOCK_HDR_SIZE; in MEM_BufferFrees_memStatis()335 s_memStatis.ram_allocated -= (uint16_t)(BlockHdr->buff_size + BLOCK_HDR_SIZE); in MEM_BufferFrees_memStatis()351 … block_size = (uint16_t)((uint32_t)BlockHdr->next - (uint32_t)BlockHdr - BLOCK_HDR_SIZE); in MEM_BufferFrees_memStatis()587 … initial_level = p_area->end_address.raw_address - ((uint32_t)firstBlockHdr + BLOCK_HDR_SIZE - 1U); in MEM_RegisterExtendedArea()703 available_size = (uint32_t)FreeBlockHdr->next - (uint32_t)FreeBlockHdr - BLOCK_HDR_SIZE; in MEM_BufferAllocateFromArea()[all …]
139 #define BLOCK_HDR_SIZE sizeof(block_list_header_t) macro170 s_memStatis.ram_allocated += (uint16_t)(requestedSize + BLOCK_HDR_SIZE); in MEM_BufferAllocates_memStatis()207 s_memStatis.ram_allocated -= (uint16_t)(pBlock->allocatedBytes + BLOCK_HDR_SIZE); in MEM_BufferFrees_memStatis()