Searched refs:file_pgoff (Results 1 – 2 of 2) sorted by relevance
/DragonOS/kernel/src/mm/ |
H A D | fault.rs | 59 file_pgoff: Option<usize>, field 74 let file_pgoff = guard.file_page_offset().map(|file_page_offset| { in new() localVariable 81 file_pgoff, in new() 542 let file_pgoff = pfm.file_pgoff.expect("no file_pgoff"); in do_fault_around() localVariable 575 file_pgoff + (from_pte - pte_pgoff), in do_fault_around() 576 file_pgoff + (to_pte - pte_pgoff), in do_fault_around() 641 let file_pgoff = pfm.file_pgoff.expect("no file_pgoff"); in filemap_fault() localVariable 645 if let Some(page) = page_cache.get_page(file_pgoff) { in filemap_fault() 663 file_pgoff * MMArch::PAGE_SIZE, in filemap_fault() 678 page_cache.add_page(file_pgoff, &page); in filemap_fault() [all …]
|
H A D | ucontext.rs | 1367 file_pgoff: Option<usize>, field 1405 file_pgoff: pgoff, in new() 1455 file_pgoff: self.file_pgoff, in clone() 1469 file_pgoff: self.file_pgoff, in clone_info_only() 1481 return self.file_pgoff; in file_page_offset() 1665 if index >= self.file_pgoff.unwrap() { in page_address() 1667 self.region.start + ((index - self.file_pgoff.unwrap()) << MMArch::PAGE_SHIFT); in page_address()
|