Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/mm/
Dmm.c211 ul page_num; in mm_init() local
219 page_num = tmp_page->addr_phys >> PAGE_2M_SHIFT; in mm_init()
220 *(memory_management_struct.bmp + (page_num >> 6)) |= (1UL << (page_num % 64)); in mm_init()
451 ul page_num; in free_pages() local
454 page_num = page->addr_phys >> PAGE_2M_SHIFT; in free_pages()
456 *(memory_management_struct.bmp + (page_num >> 6)) &= ~(1UL << (page_num % 64)); in free_pages()
612 uint64_t page_num = j + k - shift; in mm_find_page() local
613 struct Page *x = memory_management_struct.pages_struct + page_num; in mm_find_page()
Dslab.c389 ul page_num = 0; in slab_init() local
394 page_num = page->addr_phys >> PAGE_2M_SHIFT; in slab_init()
395 *(memory_management_struct.bmp + (page_num >> 6)) |= (1UL << (page_num % 64)); in slab_init()
412 page_num = page->addr_phys >> PAGE_2M_SHIFT; in slab_init()
414 *(memory_management_struct.bmp + (page_num >> 6)) |= (1UL << (page_num % 64)); in slab_init()