Home
last modified time | relevance | path

Searched refs:zones_struct (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.7/kernel/src/mm/
Dmm.c126 …memory_management_struct.zones_struct = (struct Zone *)(((ul)memory_management_struct.pages_struct… in mm_init()
134 memset(memory_management_struct.zones_struct, 0x00, memory_management_struct.zones_struct_len); in mm_init()
150 … struct Zone *z = memory_management_struct.zones_struct + memory_management_struct.count_zones; in mm_init()
187 memory_management_struct.pages_struct->zone = memory_management_struct.zones_struct; in mm_init()
204 …memory_management_struct.end_of_struct = (ul)((ul)memory_management_struct.zones_struct + memory_m… in mm_init()
328 if ((memory_management_struct.zones_struct + i)->count_pages_free < num) in alloc_pages()
331 struct Zone *z = memory_management_struct.zones_struct + i; in alloc_pages()
479 struct Zone *z = memory_management_struct.zones_struct + i; in page_table_init()
591 if ((memory_management_struct.zones_struct + i)->count_pages_using == 0) in mm_find_page()
594 struct Zone *z = memory_management_struct.zones_struct + i; in mm_find_page()
Dmm-stat.c65 result += (memory_management_struct.zones_struct + i)->count_pages_free; in __count_empty_2m_pages()
109 result += (memory_management_struct.zones_struct + i)->count_pages_using; in __count_in_using_2m_pages()
Dmm-types.h60 struct Zone *zones_struct; member