Lines Matching defs:PhysAddr
160 pub struct PhysAddr(usize); struct
162 impl PhysAddr { implementation
195 impl Debug for PhysAddr { implementation
201 impl core::ops::Add<usize> for PhysAddr { implementation
210 impl core::ops::AddAssign<usize> for PhysAddr { implementation
217 impl core::ops::Add<PhysAddr> for PhysAddr { implementation
226 impl core::ops::AddAssign<PhysAddr> for PhysAddr { implementation
228 fn add_assign(&mut self, rhs: PhysAddr) { in add_assign()
233 impl core::ops::BitOrAssign<usize> for PhysAddr { implementation
240 impl core::ops::BitOrAssign<PhysAddr> for PhysAddr { implementation
242 fn bitor_assign(&mut self, rhs: PhysAddr) { in bitor_assign()
247 impl core::ops::Sub<usize> for PhysAddr { implementation
256 impl core::ops::SubAssign<usize> for PhysAddr { implementation
263 impl core::ops::Sub<PhysAddr> for PhysAddr { implementation
272 impl core::ops::SubAssign<PhysAddr> for PhysAddr { implementation
274 fn sub_assign(&mut self, rhs: PhysAddr) { in sub_assign()
417 pub fn new(base: PhysAddr, size: usize, flags: MemoryAreaAttr) -> Self { in new()
422 pub fn area_base_aligned(&self) -> PhysAddr { in area_base_aligned()
429 pub fn area_end_aligned(&self) -> PhysAddr { in area_end_aligned()
576 unsafe fn table(table_kind: PageTableKind) -> PhysAddr; in table()
579 unsafe fn set_table(table_kind: PageTableKind, table: PhysAddr); in set_table()
605 unsafe fn virt_2_phys(virt: VirtAddr) -> Option<PhysAddr> { in virt_2_phys()
634 fn make_entry(paddr: PhysAddr, page_flags: usize) -> usize; in make_entry()