Home
last modified time | relevance | path

Searched refs:pages_struct (Results 1 – 4 of 4) sorted by relevance

/DragonOS-0.1.2/kernel/src/mm/
Dmm.c117 …memory_management_struct.pages_struct = (struct Page *)(((unsigned long)memory_management_struct.b… in mm_init()
122 …memset(memory_management_struct.pages_struct, 0x00, memory_management_struct.pages_struct_len); //… in mm_init()
126 …t_struct.zones_struct = (struct Zone *)(((ul)memory_management_struct.pages_struct + memory_manage… in mm_init()
165 …z->pages_group = (struct Page *)(memory_management_struct.pages_struct + (addr_start >> PAGE_2M_SH… in mm_init()
187 memory_management_struct.pages_struct->zone = memory_management_struct.zones_struct; in mm_init()
188 memory_management_struct.pages_struct->addr_phys = 0UL; in mm_init()
189 …set_page_attr(memory_management_struct.pages_struct, PAGE_PGT_MAPPED | PAGE_KERNEL_INIT | PAGE_KER… in mm_init()
190 memory_management_struct.pages_struct->ref_counts = 1; in mm_init()
191 memory_management_struct.pages_struct->age = 0; in mm_init()
216 tmp_page = memory_management_struct.pages_struct + j; in mm_init()
[all …]
Dmm-types.h56 struct Page *pages_struct; member
Dmm.h43 #define Virt_To_2M_Page(kaddr) (memory_management_struct.pages_struct + (virt_2_phys(kaddr) >> PAGE…
44 #define Phy_to_2M_Page(kaddr) (memory_management_struct.pages_struct + ((unsigned long)(kaddr) >> P…
Dslab.c393 page = memory_management_struct.pages_struct + i; in slab_init()