Searched refs:PageFlags (Results 1 – 2 of 2) sorted by relevance
25 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()
203 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() argument442 pub fn set_flags(&mut self, flags: PageFlags) { in set_flags() argument447 pub fn add_flags(&mut self, flags: PageFlags) { in add_flags() argument452 pub fn remove_flags(&mut self, flags: PageFlags) { in remove_flags() argument