Searched refs:mem2 (Results 1 – 1 of 1) sorted by relevance
373 struct mem *mem, *mem2; in mem_trim() local421 mem2 = (struct mem *)(void *)&ram[mem->next]; in mem_trim()422 if(mem2->used == 0) { in mem_trim()426 next = mem2->next; in mem_trim()429 if (lfree == mem2) { in mem_trim()432 mem2 = (struct mem *)(void *)&ram[ptr2]; in mem_trim()433 mem2->used = 0; in mem_trim()435 mem2->next = next; in mem_trim()437 mem2->prev = ptr; in mem_trim()443 if (mem2->next != MEM_SIZE_ALIGNED) { in mem_trim()[all …]