Home
last modified time | relevance | path

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

/DragonOS/kernel/src/perf/
H A Dbpf.rs4 use crate::filesystem::vfs::file::PageCache;
31 page_cache: Arc<PageCache>,
228 page_cache: PageCache::new(None), in new()
314 fn page_cache(&self) -> Option<Arc<PageCache>> { in page_cache() argument
H A Dkprobe.rs8 use crate::filesystem::vfs::file::{File, PageCache};
118 fn page_cache(&self) -> Option<Arc<PageCache>> { in page_cache() argument
H A Dmod.rs5 use crate::filesystem::vfs::file::{File, FileMode, PageCache};
202 fn page_cache(&self) -> Option<Arc<PageCache>> { in page_cache() argument
/DragonOS/kernel/src/filesystem/vfs/
H A Dfile.rs128 pub struct PageCache { struct
133 impl core::fmt::Debug for PageCache { implementation
149 impl PageCache { implementation
150 pub fn new(inode: Option<Weak<dyn IndexNode>>) -> Arc<PageCache> { in new() argument
H A Dmod.rs29 file::{FileMode, PageCache},
569 fn page_cache(&self) -> Option<Arc<PageCache>> { in page_cache() argument
H A Dmount.rs27 file::{FileMode, PageCache},
535 fn page_cache(&self) -> Option<Arc<PageCache>> { in page_cache() argument
/DragonOS/kernel/src/mm/
H A Dpage.rs20 filesystem::vfs::{file::PageCache, FilePrivateData},
349 page_cache: Option<Arc<PageCache>>,
397 pub fn page_cache(&self) -> Option<Arc<PageCache>> { in page_cache() argument
401 pub fn set_page_cache(&mut self, page_cache: Option<Arc<PageCache>>) { in set_page_cache() argument
411 page_cache: Option<Arc<PageCache>>, in set_page_cache_index() argument
/DragonOS/kernel/src/filesystem/fat/
H A Dfs.rs17 use crate::filesystem::vfs::file::PageCache;
128 page_cache: Option<Arc<PageCache>>,
231 let page_cache = PageCache::new(Some(Arc::downgrade(&inode) as Weak<dyn IndexNode>)); in new()
1856 fn page_cache(&self) -> Option<Arc<PageCache>> { in page_cache() argument