Searched refs:translate (Results 1 – 10 of 10) sorted by relevance
/DragonOS/kernel/src/driver/tty/virtual_terminal/ |
H A D | console_map.rs | 132 pub fn translate(&self, c: u32) -> u16 { in translate() method
|
H A D | virtual_console.rs | 133 pub translate: TranslationMap, field 197 translate: TranslationMap::new(TranslationMapType::Lat1), in new() 265 self.translate = TranslationMap::new(TranslationMapType::Lat1); in reset() 315 pub fn translate(&mut self, c: &mut u32) -> (Option<u32>, bool) { in translate() method 419 return self.translate.translate(c) as u32; in translate_ascii()
|
/DragonOS/kernel/src/virt/kvm/ |
H A D | host_mem.rs | 151 if let Some((hpa, _)) = mapper.translate(hva) { in hva_to_pfn() 157 let (hpa, _) = mapper.translate(hva).unwrap(); in hva_to_pfn()
|
/DragonOS/kernel/src/mm/ |
H A D | fault.rs | 251 Some(mapper.translate(address).unwrap().0.data()), in do_anonymous_page() 255 let paddr = mapper.translate(address).unwrap().0; in do_anonymous_page() 439 let old_paddr = mapper.translate(address).unwrap().0; in do_wp_page() 473 let paddr = mapper.translate(address).unwrap().0; in do_wp_page() 496 let paddr = mapper.translate(address).unwrap().0; in do_wp_page()
|
H A D | ucontext.rs | 193 if let Some((paddr, _)) = new_mapper.translate(page) { in try_clone() 1162 if mapper.translate(page.virt_address()).is_none() { in unmap() 1256 if let Some((paddr, _)) = utable.translate(frame.virt_address()) { in extract() 1269 if let Some((paddr, _)) = utable.translate(frame.virt_address()) { in extract() 1499 if mapper.translate(page.virt_address()).is_some() { in remap() 1652 let paddr = mapper.translate(frame.virt_address()).unwrap().0; in zeroed()
|
H A D | page.rs | 1474 pub fn translate(&self, virt: VirtAddr) -> Option<(PhysAddr, EntryFlags<Arch>)> { in translate() method
|
/DragonOS/kernel/src/mm/allocator/ |
H A D | bump.rs | 116 .translate(MMA::phys_2_virt(p.phys_address()).unwrap()) in ensure_early_mapping()
|
/DragonOS/kernel/src/ipc/ |
H A D | syscall.rs | 365 .translate(vaddr) in shmat() 439 .translate(vaddr) in shmdt()
|
/DragonOS/kernel/src/driver/tty/ |
H A D | tty_core.rs | 519 let (tc, rescan_last) = vc_data_guard.translate(&mut ch); in do_write()
|
/DragonOS/ |
H A D | LICENSE | 30 These restrictions translate to certain responsibilities for you if you
|