Home
last modified time | relevance | path

Searched refs:map_phys (Results 1 – 18 of 18) sorted by relevance

/DragonOS/kernel/src/arch/riscv64/driver/
H A Dof.rs32 mmio_guard.map_phys(map_paddr, map_size)?; in map_fdt()
/DragonOS/kernel/src/arch/riscv64/mm/
H A Dinit.rs114 .map_phys(vaddr, paddr, flags) in riscv_mm_init()
193 .map_phys(vaddr, paddr, flags) in remap_at_low_address()
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/
H A Dept.rs101 .map_phys( in walk()
/DragonOS/kernel/src/arch/x86_64/driver/
H A Dhpet.rs73 unsafe { mmio.map_phys(paddr, map_size)? }; in new()
93 unsafe { mmio.map_phys(paddr, bytes_to_map)? }; in new()
/DragonOS/kernel/src/mm/
H A Dkernel_mapper.rs117 let flusher = self.mapper.map_phys(vaddr, paddr, flags).unwrap(); in map_phys_with_size()
H A Dno_init.rs180 mapper.map_phys(vaddr, paddr, flags).unwrap(); in pseudo_map_phys_with_flags()
H A Dmmio_buddy.rs668 pub unsafe fn map_phys(&self, paddr: PhysAddr, length: usize) -> Result<(), SystemError> { in map_phys() method
746 self.map_phys(paddr_base, page_align_up(length + offset))?; in map_any_phys()
H A Dfault.rs619 .map_phys(address, phys, vma_guard.flags()) in filemap_map_pages()
715 mapper.map_phys(address, page_phys, vma_guard.flags()); in finish_fault()
H A Dpage.rs1198 return self.map_phys(virt, phys, flags); in map()
1202 pub unsafe fn map_phys( in map_phys() method
1435 return self.map_phys(virt, phys, flags).map(|flush| (virt, flush)); in map_linearly()
H A Ducontext.rs1556 unsafe { mapper.map_phys(cur_dest.virt_address(), cur_phy.phys_address(), flags) } in physmap()
/DragonOS/kernel/src/driver/virtio/
H A Dtransport_mmio.rs51 unsafe { mmio_guard.map_phys(PhysAddr::new(paddr), size) }?; in new()
/DragonOS/kernel/src/driver/acpi/
H A Dmod.rs198 .map_phys(PhysAddr::new(page_align_down(physical_address)), size_fix) in map_physical_region()
/DragonOS/kernel/src/driver/pci/
H A Droot.rs114 .map_phys(self.ecam_root_info.unwrap().physical_address_base, size) in map()
H A Dpci.rs1371 space_guard.map_phys(paddr, size_want).is_ok(), in pci_bar_init()
/DragonOS/kernel/src/arch/x86_64/driver/apic/
H A Dxapic.rs158 g.map_phys(paddr, 4096).expect("Fail to map MMIO for XAPIC"); in new()
H A Dioapic.rs104 mmio_guard.map_phys(phys_base, 0x1000).is_ok(), in new()
/DragonOS/kernel/src/arch/x86_64/mm/
H A Dmod.rs509 .map_phys(vaddr, paddr, flags) in allocator_init()
718 .map_phys(vaddr, paddr, flags) in remap_at_low_address()
/DragonOS/kernel/src/ipc/
H A Dsyscall.rs378 address_write_guard.user_mapper.utable.map_phys( in shmat()