Lines Matching +full:end +full:- +full:of +full:- +full:conversion
1 /* SPDX-License-Identifier: GPL-2.0 */
24 /* Xen pseudo-physical address */
30 #define XEN_PHYSICAL_MASK __sme_clr((1UL << 52) - 1)
41 /**** MACHINE <-> PHYSICAL CONVERSION MACROS ****/
43 #define FOREIGN_FRAME_BIT (1UL<<(BITS_PER_LONG-1))
44 #define IDENTITY_FRAME_BIT (1UL<<(BITS_PER_LONG-2))
125 * - pfn_to_mfn() returns either INVALID_P2M_ENTRY or the mfn. No indicator
127 * - __pfn_to_mfn() returns the found entry of the p2m table. A possibly set
130 * - get_phys_to_machine() is to be called by __pfn_to_mfn() only in special
161 * Some x86 code are still using pfn_to_mfn instead of in pfn_to_mfn()
193 * The array access can fail (e.g., device space beyond end of RAM). in mfn_to_pfn_no_overrides()
209 * Some x86 code are still using mfn_to_pfn instead of in mfn_to_pfn()
242 /* Pseudo-physical <-> Guest conversion */
259 /* Pseudo-physical <-> Bus conversion */
264 * We detect special mappings in one of two ways:
271 * We force !pfn_valid() by returning an out-of-range pointer.
275 * we are foreign-mapping the MFN, and the other domain as m2p(MFN) == PFN.
292 return -1; /* force !pfn_valid() */ in bfn_to_local_pfn()
296 /* VIRT <-> MACHINE conversion */
305 /* VIRT <-> GUEST conversion */