Searched refs:PHYS_OFFSET (Results 1 – 3 of 3) sorted by relevance
83 const KERNEL_TOP_PAGE_ENTRY_NO: usize = (RiscV64MMArch::PHYS_OFFSET129 const PHYS_OFFSET: usize = 0xffff_ffc0_0000_0000; constant224 if let Some(vaddr) = phys.data().checked_add(Self::PHYS_OFFSET) { in phys_2_virt()237 if let Some(paddr) = virt.data().checked_sub(Self::PHYS_OFFSET) { in virt_2_phys()331 let x = self.data() & RiscV64MMArch::PHYS_OFFSET; in is_canonical()334 return x == 0 || x == RiscV64MMArch::PHYS_OFFSET; in is_canonical()
485 const PHYS_OFFSET: usize; constant490 const KERNEL_VIRT_START: usize = Self::PHYS_OFFSET + Self::KERNEL_LINK_OFFSET;512 const PAGE_KERNEL_INDEX: usize = (Self::PHYS_OFFSET & Self::PAGE_ADDRESS_MASK)588 if let Some(vaddr) = phys.data().checked_add(Self::PHYS_OFFSET) { in phys_2_virt()606 if let Some(paddr) = virt.data().checked_sub(Self::PHYS_OFFSET) { in virt_2_phys()
120 const PHYS_OFFSET: usize = Self::PAGE_NEGATIVE_MASK + (Self::PAGE_ADDRESS_SIZE >> 1); constant275 const PAGE_KERNEL_INDEX: usize = (Self::PHYS_OFFSET & Self::PAGE_ADDRESS_MASK)299 if let Some(vaddr) = phys.data().checked_add(Self::PHYS_OFFSET) { in phys_2_virt()307 if let Some(paddr) = virt.data().checked_sub(Self::PHYS_OFFSET) { in virt_2_phys()448 let x = self.data() & X86_64MMArch::PHYS_OFFSET; in is_canonical()451 return x == 0 || x == X86_64MMArch::PHYS_OFFSET; in is_canonical()