Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/mm/
Dutils.c3 extern uint64_t mm_total_2M_pages;
105 if (likely((paddr >> PAGE_2M_SHIFT) < mm_total_2M_pages)) in mm_is_2M_page()
Dmm.c14 uint64_t mm_total_2M_pages = 0; variable
98 mm_total_2M_pages += ((addr_end - addr_start) >> PAGE_2M_SHIFT); in mm_init()
100 kinfo("Total amounts of 2M pages : %ld.", mm_total_2M_pages); in mm_init()
370 …("Cannot alloc page, ZONE=%d\tnums=%d, mm_total_2M_pages=%d", zone_select, num, mm_total_2M_pages); in alloc_pages()
Dmmap.c7 extern uint64_t mm_total_2M_pages;
175 … (likely((((ul)phys_addr_start + length_mapped) >> PAGE_2M_SHIFT) < mm_total_2M_pages)) // 校验是否为内存… in mm_map_proc_page_table()