Home
last modified time | relevance | path

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

/DragonOS/kernel/src/mm/
H A Dpage.rs67 phys2page: HashMap<PhysAddr, Arc<Page>>,
81 pub fn get(&mut self, paddr: &PhysAddr) -> Option<Arc<Page>> { in get() argument
86 pub fn get_unwrap(&mut self, paddr: &PhysAddr) -> Arc<Page> { in get_unwrap() argument
94 pub fn insert(&mut self, paddr: PhysAddr, page: &Arc<Page>) { in insert() argument
165 lru: LruCache<PhysAddr, Arc<Page>>,
175 pub fn get(&mut self, paddr: &PhysAddr) -> Option<Arc<Page>> { in get() argument
179 pub fn insert_page(&mut self, paddr: PhysAddr, page: &Arc<Page>) { in insert_page() argument
223 pub fn page_writeback(page: &Arc<Page>, unmap: bool) { in page_writeback() argument
309 pub struct Page { struct
313 impl Page { impl
[all …]
H A Dfault.rs25 page::{page_reclaimer_lock_irqsave, Page, PageFlags},
61 page: Option<Arc<Page>>,
63 cow_page: Option<Arc<Page>>,
317 let cow_page = Arc::new(Page::new(false, cow_page_phys)); in do_cow_fault()
672 let page = Arc::new(Page::new(true, new_cache_page)); in filemap_fault()
H A Ducontext.rs38 page::{EntryFlags, Flusher, InactiveFlusher, Page, PageFlushAll},
1662 pub fn page_address(&self, page: &Arc<Page>) -> Result<VirtAddr, SystemError> { in page_address()
/DragonOS/kernel/src/filesystem/vfs/
H A Dfile.rs25 mm::{page::Page, MemoryManagementArch},
129 xarray: SpinLock<XArray<Arc<Page>>>,
143 .collect::<Vec<Arc<Page>>>(), in fmt()
168 pub fn add_page(&self, offset: usize, page: &Arc<Page>) { in add_page() argument
174 pub fn get_page(&self, offset: usize) -> Option<Arc<Page>> { in get_page() argument
/DragonOS/kernel/src/perf/
H A Dbpf.rs11 use crate::mm::page::{page_manager_lock_irqsave, Page};
240 let page = Arc::new(Page::new(true, cur_phys.phys_address())); in do_mmap()
/DragonOS/docs/kernel/memory_management/
H A Dmmio.md37 &emsp;&emsp;该函数会对MMIO的VMA的映射做出特殊处理。即:创建`Page`结构体以及对应的`anon_vma`. 然后会将对应的物理地址,填写到页表之中。
/DragonOS/kernel/src/ipc/
H A Dshm.rs10 page::{page_manager_lock_irqsave, Page},
168 let page = Arc::new(Page::new(true, cur_phys.phys_address())); in add()