Home
last modified time | relevance | path

Searched refs:translate (Results 1 – 10 of 10) sorted by relevance

/DragonOS/kernel/src/driver/tty/virtual_terminal/
H A Dconsole_map.rs132 pub fn translate(&self, c: u32) -> u16 { in translate() method
H A Dvirtual_console.rs133 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 Dhost_mem.rs151 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 Dfault.rs251 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 Ducontext.rs193 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 Dpage.rs1474 pub fn translate(&self, virt: VirtAddr) -> Option<(PhysAddr, EntryFlags<Arch>)> { in translate() method
/DragonOS/kernel/src/mm/allocator/
H A Dbump.rs116 .translate(MMA::phys_2_virt(p.phys_address()).unwrap()) in ensure_early_mapping()
/DragonOS/kernel/src/ipc/
H A Dsyscall.rs365 .translate(vaddr) in shmat()
439 .translate(vaddr) in shmdt()
/DragonOS/kernel/src/driver/tty/
H A Dtty_core.rs519 let (tc, rescan_last) = vc_data_guard.translate(&mut ch); in do_write()
/DragonOS/
H A DLICENSE30 These restrictions translate to certain responsibilities for you if you