Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/mm/allocator/
Dbuddy.rs93 let curr_page = bump_allocator.allocate_one(); in new() localVariable
95 *f = curr_page.unwrap(); in new()
105 let curr_page = bump_allocator.allocate_one().unwrap(); in new() localVariable
108 MMArch::phys_2_virt(curr_page)?.data() as *mut u8, in new()
115 Self::write_page(curr_page, page_list); in new()
116 free_area[Self::order2index((MAX_ORDER - 1) as u8)] = curr_page; in new()
253 pub fn write_page(curr_page: PhysAddr, page_list: PageList<A>) { in write_page()
255 let virt_addr = unsafe { A::phys_2_virt(curr_page) }; in write_page()