Searched refs:PHYS_OFFSET (Results 1 – 2 of 2) sorted by relevance
51 static KERNEL_PML4E_NO: usize = (X86_64MMArch::PHYS_OFFSET & ((1 << 48) - 1)) >> 39;119 const PHYS_OFFSET: usize = Self::PAGE_NEGATIVE_MASK + (Self::PAGE_ADDRESS_SIZE >> 1); constant285 let x = self.data() & X86_64MMArch::PHYS_OFFSET; in is_canonical()288 return x == 0 || x == X86_64MMArch::PHYS_OFFSET; in is_canonical()
352 const PHYS_OFFSET: usize; constant427 if let Some(vaddr) = phys.data().checked_add(Self::PHYS_OFFSET) { in phys_2_virt()445 if let Some(paddr) = virt.data().checked_sub(Self::PHYS_OFFSET) { in virt_2_phys()