Lines Matching refs:ofs
40 drmMsg(" Offset:%08x, Size:%08x, %c%c\n", p->ofs, in mmDumpMemInfo()
48 drmMsg(" FREE Offset:%08x, Size:%08x, %c%c\n", p->ofs, in mmDumpMemInfo()
57 struct mem_block *mmInit(int ofs, int size) in mmInit() argument
85 block->ofs = ofs; in mmInit()
99 if (startofs > p->ofs) { in SliceBlock()
104 newblock->ofs = startofs; in SliceBlock()
105 newblock->size = p->size - (startofs - p->ofs); in SliceBlock()
129 newblock->ofs = startofs + size; in SliceBlock()
176 startofs = (p->ofs + mask) & ~mask; in mmAllocMem()
181 if (endofs <= (p->ofs + p->size)) in mmAllocMem()
199 if (p->ofs == start) in mmFindBlock()
215 assert(p->ofs + p->size == q->ofs); in Join2Blocks()