Home
last modified time | relevance | path

Searched refs:page_cache (Results 1 – 9 of 9) sorted by relevance

/DragonOS/kernel/src/mm/
H A Dfault.rs334 cache_page.read_irqsave().page_cache(), in do_cow_fault()
599 let page_cache = file.inode().page_cache().unwrap(); in filemap_map_pages() localVariable
611 if let Some(page) = page_cache.get_page(pgoff) { in filemap_map_pages()
640 let page_cache = file.inode().page_cache().unwrap(); in filemap_fault() localVariable
645 if let Some(page) = page_cache.get_page(file_pgoff) { in filemap_fault()
678 page_cache.add_page(file_pgoff, &page); in filemap_fault()
681 .set_page_cache_index(Some(page_cache), Some(file_pgoff)); in filemap_fault()
H A Dpage.rs190 let page_cache = page.read_irqsave().page_cache().unwrap(); in shrink_list() localVariable
201 page_cache.remove_page(page.read_irqsave().index().unwrap()); in shrink_list()
250 .page_cache in page_writeback()
349 page_cache: Option<Arc<PageCache>>, field
364 page_cache: None, in new()
397 pub fn page_cache(&self) -> Option<Arc<PageCache>> { in page_cache() method
398 self.page_cache.clone() in page_cache()
401 pub fn set_page_cache(&mut self, page_cache: Option<Arc<PageCache>>) { in set_page_cache()
402 self.page_cache = page_cache; in set_page_cache()
411 page_cache: Option<Arc<PageCache>>, in set_page_cache_index()
[all …]
/DragonOS/kernel/src/perf/
H A Dmod.rs202 fn page_cache(&self) -> Option<Arc<PageCache>> { in page_cache() method
203 self.event.page_cache() in page_cache()
302 let page_cache = event.page_cache(); in perf_event_open() localVariable
304 if let Some(cache) = page_cache { in perf_event_open()
H A Dbpf.rs31 page_cache: Arc<PageCache>, field
228 page_cache: PageCache::new(None), in new()
245 data.page_cache.add_page(i, &page); in do_mmap()
314 fn page_cache(&self) -> Option<Arc<PageCache>> { in page_cache() method
315 Some(self.data.lock().page_cache.clone()) in page_cache()
H A Dkprobe.rs118 fn page_cache(&self) -> Option<Arc<PageCache>> { in page_cache() method
/DragonOS/kernel/src/filesystem/fat/
H A Dfs.rs128 page_cache: Option<Arc<PageCache>>, field
227 page_cache: None, in new()
231 let page_cache = PageCache::new(Some(Arc::downgrade(&inode) as Weak<dyn IndexNode>)); in new() localVariable
232 inode.0.lock().page_cache = Some(page_cache); in new()
377 page_cache: None, in new()
1856 fn page_cache(&self) -> Option<Arc<PageCache>> { in page_cache() method
1857 self.0.lock().page_cache.clone() in page_cache()
/DragonOS/kernel/src/filesystem/vfs/
H A Dmount.rs535 fn page_cache(&self) -> Option<Arc<PageCache>> { in page_cache() method
536 self.inner_inode.page_cache() in page_cache()
H A Dfile.rs151 let page_cache = Self { in new() localVariable
161 Arc::new(page_cache) in new()
H A Dmod.rs569 fn page_cache(&self) -> Option<Arc<PageCache>> { in page_cache() method