Lines Matching refs:Page

117 …memory_management_struct.pages_struct = (struct Page *)(((unsigned long)memory_management_struct.b…  in mm_init()
120 …memory_management_struct.pages_struct_len = ((max_addr >> PAGE_2M_SHIFT) * sizeof(struct Page) + s… in mm_init()
165 …z->pages_group = (struct Page *)(memory_management_struct.pages_struct + (addr_start >> PAGE_2M_SH… in mm_init()
168 struct Page *p = z->pages_group; in mm_init()
210 struct Page *tmp_page = NULL; in mm_init()
266 unsigned long page_init(struct Page *page, ul flags) in page_init()
290 struct Page *alloc_pages(unsigned int zone_select, int num, ul flags) in alloc_pages()
354 struct Page *x = memory_management_struct.pages_struct + start_page_num + l; in alloc_pages()
365 return (struct Page *)(memory_management_struct.pages_struct + start_page_num); in alloc_pages()
380 unsigned long page_clean(struct Page *p) in page_clean()
399 ul get_page_attr(struct Page *page) in get_page_attr()
417 ul set_page_attr(struct Page *page, ul flags) in set_page_attr()
437 void free_pages(struct Page *page, int number) in free_pages()
480 struct Page *p = z->pages_group; in page_table_init()
563 static struct Page *mm_find_page(uint64_t phys_addr, uint32_t zone_select) in mm_find_page()
613 struct Page *x = memory_management_struct.pages_struct + page_num; in mm_find_page()
656 struct Page *p = mm_find_page(phys, ZONE_NORMAL); in mm_do_brk()
678 struct Page *__create_mmio_page_struct(uint64_t paddr) in __create_mmio_page_struct()
680 struct Page *p = (struct Page *)kzalloc(sizeof(struct Page), 0); in __create_mmio_page_struct()