Searched refs:page_num (Results 1 – 2 of 2) sorted by relevance
211 ul page_num; in mm_init() local219 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() local454 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() local613 struct Page *x = memory_management_struct.pages_struct + page_num; in mm_find_page()
389 ul page_num = 0; in slab_init() local394 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()