Home
last modified time | relevance | path

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

/DragonOS/kernel/src/mm/
H A Dfault.rs25 page::{page_reclaimer_lock_irqsave, Page, PageFlags},
380 cache_page.write_irqsave().add_flags(PageFlags::PG_DIRTY); in do_shared_fault()
455 old_page.write_irqsave().add_flags(PageFlags::PG_DIRTY); in do_wp_page()
613 if page_guard.flags().contains(PageFlags::PG_UPTODATE) { in filemap_map_pages()
675 page.write_irqsave().add_flags(PageFlags::PG_LRU); in filemap_fault()
H A Dpage.rs203 if page.read_irqsave().flags.contains(PageFlags::PG_DIRTY) { in shrink_list()
225 page.write_irqsave().remove_flags(PageFlags::PG_DIRTY); in page_writeback()
280 if page.read_irqsave().flags().contains(PageFlags::PG_DIRTY) { in flush_dirty_pages()
288 pub struct PageFlags: u64 {
344 flags: PageFlags,
361 flags: PageFlags::empty(), in new()
437 pub fn flags(&self) -> &PageFlags { in flags() argument
442 pub fn set_flags(&mut self, flags: PageFlags) { in set_flags() argument
447 pub fn add_flags(&mut self, flags: PageFlags) { in add_flags() argument
452 pub fn remove_flags(&mut self, flags: PageFlags) { in remove_flags() argument