Home
last modified time | relevance | path

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

/DragonOS/kernel/src/mm/
H A Dfault.rs441 let old_page = page_manager.get_unwrap(&old_paddr); in do_wp_page() localVariable
442 let map_count = old_page.read_irqsave().map_count(); in do_wp_page()
455 old_page.write_irqsave().add_flags(PageFlags::PG_DIRTY); in do_wp_page()
468 let old_page = page_manager_guard.get_unwrap(&old_paddr); in do_wp_page() localVariable
469 old_page.write_irqsave().remove_vma(&vma); in do_wp_page()
491 let old_page = page_manager_guard.get_unwrap(&old_paddr); in do_wp_page() localVariable
492 old_page.write_irqsave().remove_vma(&vma); in do_wp_page()
H A Dpage.rs637 let old_page = page_manager_guard.get_unwrap(&old_phys); in clone() localVariable
639 Arc::new(Page::new(old_page.read_irqsave().shared(), phys)); in clone()
640 if let Some(ref page_cache) = old_page.read_irqsave().page_cache() { in clone()
643 old_page.read_irqsave().index(), in clone()