Searched refs:phys (Results 1 – 4 of 4) sorted by relevance
25 phys: PhysAddr, field33 pub unsafe fn new(base: VirtAddr, phys: PhysAddr, level: usize) -> Self { in new()36 phys, in new()61 pub fn phys(&self) -> PhysAddr { in phys() method62 self.phys in phys()80 return Arch::phys_2_virt(self.phys).unwrap(); in virt()513 return unsafe { self.table().phys() == Arch::table(self.table_kind) }; in is_current()551 let phys: PhysAddr = self.frame_allocator.allocate_one()?; in map() localVariable553 return self.map_phys(virt, phys, flags); in map()560 phys: PhysAddr, in map_phys()[all …]
426 unsafe fn phys_2_virt(phys: PhysAddr) -> Option<VirtAddr> { in phys_2_virt()427 if let Some(vaddr) = phys.data().checked_add(Self::PHYS_OFFSET) { in phys_2_virt()
578 PhysPageFrame::new(self.utable.table().phys()), in drop()1032 phys: PhysPageFrame, in physmap()1040 let mut cur_phy = phys; in physmap()
350 new_page_table = mapper.table().phys(); in allocator_init()