Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/mm/
Dmm-stat.c34 int zone_start = 0, zone_end = 0; in __count_empty_2m_pages() local
42 zone_end = ZONE_DMA_INDEX; in __count_empty_2m_pages()
47 zone_end = ZONE_NORMAL_INDEX; in __count_empty_2m_pages()
52 zone_end = ZONE_UNMAPPED_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
86 zone_end = ZONE_DMA_INDEX; in __count_in_using_2m_pages()
91 zone_end = ZONE_NORMAL_INDEX; in __count_in_using_2m_pages()
96 zone_end = ZONE_UNMAPPED_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
305 zone_end = ZONE_DMA_INDEX; in alloc_pages()
310 zone_end = ZONE_NORMAL_INDEX; in alloc_pages()
315 zone_end = ZONE_UNMAPPED_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
571 zone_end = ZONE_DMA_INDEX; in mm_find_page()
575 zone_end = ZONE_NORMAL_INDEX; in mm_find_page()
579 zone_end = ZONE_UNMAPPED_INDEX; in mm_find_page()
589 for (int i = zone_start; i <= zone_end; ++i) in mm_find_page()