Lines Matching refs:PAGE_2M_SHIFT

98         mm_total_2M_pages += ((addr_end - addr_start) >> PAGE_2M_SHIFT);  in mm_init()
108 …memory_management_struct.bits_size = max_addr >> PAGE_2M_SHIFT; … in mm_init()
109 …memory_management_struct.bmp_len = (((unsigned long)(max_addr >> PAGE_2M_SHIFT) + sizeof(unsigned … in mm_init()
119 memory_management_struct.count_pages = max_addr >> PAGE_2M_SHIFT; in mm_init()
120 …memory_management_struct.pages_struct_len = ((max_addr >> PAGE_2M_SHIFT) * sizeof(struct Page) + s… 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 …ges_group = (struct Page *)(memory_management_struct.pages_struct + (addr_start >> PAGE_2M_SHIFT)); in mm_init()
180 …y_management_struct.bmp + ((p->addr_phys >> PAGE_2M_SHIFT) >> 6)) ^= (1UL << ((p->addr_phys >> PAG… in mm_init()
207 …ul mms_max_page = (virt_2_phys(memory_management_struct.end_of_struct) >> PAGE_2M_SHIFT); // 内存管理单… in mm_init()
219 page_num = tmp_page->addr_phys >> PAGE_2M_SHIFT; in mm_init()
333 ul page_start = (z->zone_addr_start >> PAGE_2M_SHIFT); in alloc_pages()
334 ul page_end = (z->zone_addr_end >> PAGE_2M_SHIFT); in alloc_pages()
358 …ry_management_struct.bmp + ((x->addr_phys >> PAGE_2M_SHIFT) >> 6)) |= (1UL << (x->addr_phys >> PAG… in alloc_pages()
454 page_num = page->addr_phys >> PAGE_2M_SHIFT; in free_pages()
549 tmp = phys_2_virt(((ul *)(*tmp & (~0xfffUL)) + (((ul)(virt_addr) >> PAGE_2M_SHIFT) & 0x1ff))); in mm_get_PDE()
597 ul page_start = (z->zone_addr_start >> PAGE_2M_SHIFT); in mm_find_page()
598 ul page_end = (z->zone_addr_end >> PAGE_2M_SHIFT); in mm_find_page()