/illumos-gate/usr/src/uts/i86pc/sys/ |
H A D | pc_mmu.h | 49 #define mfn_to_pfn(mfn) (mfn)
|
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | xen_mmu.c | 47 mfn_t *mfn_list_pages; /* pages that make a table of mfn's */ 49 mfn_t *mfn_list_pages_page; /* page of mfn's for mfn_list_pages */ 228 kbm_map_ma(pfn_to_pa(xen_info->console.domU.mfn), addr, 0); 250 * Generate the pfn value to use for a foreign mfn. 253 xen_assign_pfn(mfn_t mfn) argument 266 pfn = mfn_to_pfn_mapping[mfn]; 267 if (pfn < mfn_count && mfn_list[pfn] == mfn) 268 panic("xen_assign_pfn() mfn belongs to us"); 274 if (mfn == MFN_INVALID) 276 pfn = (pfn_t)mfn | PFN_IS_FOREIGN_MF 302 mfn_t mfn = PTE2MFN(pte, l); local 331 mfn_to_pfn(mfn_t mfn) argument 377 mfn_t mfn = pfn_to_mfn(mmu_btop(pa)); local 417 reassign_pfn(pfn_t pfn, mfn_t mfn) argument [all...] |
H A D | balloon.c | 53 * reservation changes. If it goes up, we map the new mfn's to our pfn's 277 * Set the mfn to pfn mapping for the meta pages. 410 * We pass the index into the current mfn array, 448 * Make sure we don't allow pages without pfn->mfn mappings 463 * where we set up pfn <-> mfn mappings. If this ASSERT trips, that 815 mfn_t mfn; local 877 /* grab the mfn before the pfn is marked as invalid */ 878 mfn = pfn_to_mfn(pfn); 891 set_xen_guest_handle(memdec.extent_start, &mfn);
|
H A D | xen_machdep.c | 348 * The list of mfn pages is out of date. Recompute it. 524 xen_info->console.domU.mfn = 525 mfn_to_pfn_mapping[xen_info->console.domU.mfn];
|
/illumos-gate/usr/src/uts/i86xpv/sys/ |
H A D | xen_mmu.h | 46 #define mfn_to_ma(mfn) ((maddr_t)(mfn) << MMU_PAGESHIFT) 118 * like a foreign domain memory mfn or a device mfn. 120 * xen_release_pfn() destroys the association between a pfn and foreign mfn. 122 pfn_t xen_assign_pfn(mfn_t mfn); 125 void reassign_pfn(pfn_t pfn, mfn_t mfn);
|
/illumos-gate/usr/src/uts/common/xen/sys/ |
H A D | privcmd.h | 66 unsigned long mfn; member in struct:__privcmd_mmap_entry
|
/illumos-gate/usr/src/cmd/mdb/i86pc/modules/unix/ |
H A D | i86mmu.c | 239 mdb_mfn_to_pfn(mfn_t mfn) argument 249 if (mdb_vread(&pfn, sizeof (pfn), (uintptr_t)(pfn_list + mfn)) == -1) 256 if (pfn >= mfn_count || tmp != mfn) 265 mfn_t mfn; local 272 if (mdb_vread(&mfn, sizeof (mfn), 276 return (mfn); 289 mdb_mfn_to_pfn(mfn_t mfn) argument 299 if (mfn_list[pfn] != mfn) 333 #define mdb_mfn_to_pfn(mfn) (mf 371 pfn_t mfn; local 393 pfn_t mfn; local 415 pfn_t mfn; local 665 pfn_t mfn; local [all...] |
/illumos-gate/usr/src/uts/i86xpv/io/ |
H A D | privcmd.c | 124 * e.mfn = mfn; 158 DTRACE_XPV3(mmap__entry, ulong_t, mme->va, ulong_t, mme->mfn, 161 if (mme->mfn == MFN_INVALID) { 170 * the mfn range to the segment. 178 mme->mfn, mme->npages, mmc->dom); 231 mfn_t mfn; local 233 if (fulword(ulp, &mfn) != 0) { 238 if (mfn == MFN_INVALID) { 240 * This mfn i [all...] |
/illumos-gate/usr/src/uts/i86pc/vm/ |
H A D | hat_kdi.c | 119 ulong_t mfn = mfn_list[mmu_btop(pa)]; local 121 return (pfn_to_pa(mfn) | (pa & MMU_PAGEOFFSET)); 132 mfn_t mfn = ma >> MMU_PAGESHIFT; local 134 if (HYPERVISOR_memory_op(XENMEM_maximum_ram_page, NULL) < mfn) 137 pfn = mfn_to_pfn_mapping[mfn]; 138 if (pfn >= mfn_count || pfn_to_mfn(pfn) != mfn)
|
H A D | vm_machdep.c | 103 * distinct lists, ordered by increasing mfn. 1932 mfn_t mfn; local 1956 if ((mfn = pfn_to_mfn(pp->p_pagenum)) < start_mfn) 1957 start_mfn = mfn; 2030 mfn_t mfn = mfn_list[pp->p_pagenum]; local 2046 while (mfn < mfn_list[look->p_pagenum]) { 2057 if (mfn < mfn_list[(*poolp)->p_pagenum]) { 2112 pfn_t *contig_pfn_list = NULL; /* list of contig pfns in ascending mfn order */ 2138 mfn_t mfn; local 2145 mfn 2373 mfn_t mfn, max_mfn; local 2434 mfn_t mfn = mfn_list[pp->p_pagenum]; local 2488 mfn_t mfn, prev_mfn, start_mfn; local 2577 mfn_t mfn, tmfn, hi_mfn, lo_mfn; local [all...] |
H A D | htable.c | 234 t.arg1.mfn = pfn_to_mfn(pfn); 247 t.arg1.mfn = pfn_to_mfn(pfn);
|
H A D | hat_i86.c | 1033 t[0].arg1.mfn = mmu_btop(pa_to_ma(newcr3)); 1042 t[1].arg1.mfn = mmu_btop(pa_to_ma(newcr3)); 1044 t[1].arg1.mfn = pfn_to_mfn(hat->hat_user_ptable);
|
/illumos-gate/usr/src/uts/common/xen/public/ |
H A D | vcpu.h | 175 uint64_t mfn; /* mfn of page to place vcpu_info */ member in struct:vcpu_register_vcpu_info
|
H A D | xen.h | 211 * mfn: Machine frame number to be (un)pinned as a p.t. page. 215 * mfn: Machine frame number of new page-table base to install in MMU. 218 * mfn: Machine frame number of new page-table base to install in MMU 248 * mfn: Machine frame number to be cleared. 251 * mfn: Machine frame number of the destination page. 278 xen_pfn_t mfn; member in union:mmuext_op::__anon9324 559 xen_pfn_t mfn; /* MACHINE page number of console page. */ member in struct:start_info::__anon9326::__anon9327 582 #define console_mfn console.domU.mfn
|
H A D | grant_table.h | 268 xen_pfn_t mfn; member in struct:gnttab_transfer
|
H A D | platform.h | 49 * Request memory range (@mfn, @mfn+@nr_mfns-1) to have type @type. 58 xen_pfn_t mfn; member in struct:xenpf_add_memtype 90 xen_pfn_t mfn; member in struct:xenpf_read_memtype
|
/illumos-gate/usr/src/cmd/mdb/intel/modules/mdb_kb/ |
H A D | mdb_kb.c | 415 * With FORMAT_ELF, we have a set of <pfn,mfn> pairs, which we convert 417 * track the mapping between mfn and the offset in the file: a pfn with 418 * no mfn will not appear in the core file. 573 mfn_t mfn; local 576 mfn = xkb_va_to_mfn(xkb, pos, tlmfn); 577 if (mfn == MFN_INVALID) 583 mfn = xkb->xkb_p2m[pfn]; 584 if (mfn == MFN_INVALID) 592 offset_t off = xkb_mfn_to_offset(xkb, mfn); 608 if (xkb_map_mfn(xkb, mfn, 684 xkb_mfn_to_offset(xkb_t *xkb, mfn_t mfn) argument 700 xkb_map_mfn(xkb_t *xkb, mfn_t mfn, mfn_map_t *mm) argument 776 xkb_va_to_mfn(xkb_t *xkb, uintptr_t va, mfn_t mfn) argument 1489 mfn_t mfn; local [all...] |
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xnb.c | 568 mfn_t mfn; local 579 if (balloon_alloc_pages(1, &mfn) != 1) { 588 return (mfn); 596 mfn = mfns[nth++]; 599 ASSERT(mfn != 0); 601 return (mfn); 613 xnb_free_page(xnb_t *xnbp, mfn_t mfn) argument 619 pfn = xen_assign_pfn(mfn); 623 if ((r = balloon_free_pages(1, &mfn, NULL, NULL)) != 1) { 625 "reservation (%d): page kept but unusable (mfn 689 mfn_t mfn; local [all...] |
/illumos-gate/usr/src/uts/i86xpv/boot/ |
H A D | boot_xconsole.c | 89 mmu_ptob((x86pte_t)xen_info->console.domU.mfn) | PTE_BITS,
|
/illumos-gate/usr/src/uts/i86xpv/vm/ |
H A D | seg_mf.c | 226 mfn_t mfn; local 236 mfn = map->u.m.m_mfn; 247 uprintf("segmf_faultpage: addr %p domid %x mfn %lx prot %x\n", 248 (void *)addr, data->domid, mfn, prot); 260 pte = mmu_ptob((x86pte_t)mfn) | PT_VALID | PT_USER | PT_FOREIGN; 524 segmf_add_mfns(struct seg *seg, caddr_t addr, mfn_t mfn, argument 561 data->map[base + i].u.m.m_mfn = mfn++;
|
/illumos-gate/usr/src/uts/i86pc/dboot/ |
H A D | dboot_startkern.c | 325 ulong_t mfn; local 330 mfn = ((ulong_t *)xen_info->mfn_list)[pfn]; 332 if (mfn_to_pfn_mapping[mfn] != pfn) 334 pfn, mfn, mfn_to_pfn_mapping[mfn]); 336 return (mfn_to_ma(mfn) | (pa & MMU_PAGEOFFSET));
|
/illumos-gate/usr/src/uts/common/xen/public/arch-x86/ |
H A D | xen-mca.h | 206 uint64_t mfn; member in struct:page_offline_action
|
/illumos-gate/usr/src/cmd/sendmail/db/db/ |
H A D | db_pr.c | 177 static const FN mfn[] = { local 233 __db_prflags(mp->flags, mfn, fp);
|
/illumos-gate/usr/src/uts/common/xen/dtrace/ |
H A D | xdt.c | 299 mfn_t start_mfn; /* starting mfn of buffers */ 548 xdt_map_trace_buffers(mfn_t mfn, caddr_t va, size_t len) argument 555 ASSERT(mfn != MFN_INVALID); 569 pte = mmu_ptob((x86pte_t)mfn) | PT_VALID | PT_USER 583 mfn++;
|
/illumos-gate/usr/src/uts/i86pc/i86hvm/io/xpv/ |
H A D | xpv_support.c | 252 reassign_pfn(pfn_t pfn, mfn_t mfn) argument
|