Home
last modified time | relevance | path

Searched refs:zone_start (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.7/kernel/src/mm/
Dmm-stat.c34 int zone_start = 0, zone_end = 0; in __count_empty_2m_pages() local
41 zone_start = 0; in __count_empty_2m_pages()
46 zone_start = ZONE_DMA_INDEX; in __count_empty_2m_pages()
51 zone_start = ZONE_NORMAL_INDEX; in __count_empty_2m_pages()
63 for (int i = zone_start; i <= zone_end; ++i) in __count_empty_2m_pages()
78 int zone_start = 0, zone_end = 0; in __count_in_using_2m_pages() local
85 zone_start = 0; in __count_in_using_2m_pages()
90 zone_start = ZONE_DMA_INDEX; in __count_in_using_2m_pages()
95 zone_start = ZONE_NORMAL_INDEX; in __count_in_using_2m_pages()
107 for (int i = zone_start; i <= zone_end; ++i) in __count_in_using_2m_pages()
Dmm.c292 ul zone_start = 0, zone_end = 0; in alloc_pages() local
304 zone_start = 0; in alloc_pages()
309 zone_start = ZONE_DMA_INDEX; in alloc_pages()
314 zone_start = ZONE_NORMAL_INDEX; in alloc_pages()
326 for (int i = zone_start; i < zone_end; ++i) in alloc_pages()
565 uint32_t zone_start, zone_end; in mm_find_page() local
570 zone_start = 0; in mm_find_page()
574 zone_start = ZONE_DMA_INDEX; in mm_find_page()
578 zone_start = ZONE_NORMAL_INDEX; in mm_find_page()
589 for (int i = zone_start; i <= zone_end; ++i) in mm_find_page()