Lines Matching refs:addr_start
90 ul addr_start = PAGE_2M_ALIGN(memory_management_struct.e820[i].BaseAddr); in mm_init() local
95 if (addr_end <= addr_start) in mm_init()
98 mm_total_2M_pages += ((addr_end - addr_start) >> PAGE_2M_SHIFT); in mm_init()
143 ul addr_start = PAGE_2M_ALIGN(memory_management_struct.e820[i].BaseAddr); in mm_init() local
146 if (addr_end <= addr_start) in mm_init()
153 z->zone_addr_start = addr_start; in mm_init()
155 z->zone_length = addr_end - addr_start; in mm_init()
158 z->count_pages_free = (addr_end - addr_start) >> PAGE_2M_SHIFT; in mm_init()
164 z->count_pages = (addr_end - addr_start) >> PAGE_2M_SHIFT; in mm_init()
165 …z->pages_group = (struct Page *)(memory_management_struct.pages_struct + (addr_start >> PAGE_2M_SH… in mm_init()
173 p->addr_phys = addr_start + PAGE_2M_SIZE * j; in mm_init()