Searched defs:mfn (Results 1 - 20 of 20) sorted by relevance

/illumos-gate/usr/src/uts/common/xen/sys/
H A Dprivcmd.h66 unsigned long mfn; member in struct:__privcmd_mmap_entry
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dhat_kdi.c119 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 Dvm_machdep.c103 * 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...]
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_pr.c177 static const FN mfn[] = { local
233 __db_prflags(mp->flags, mfn, fp);
/illumos-gate/usr/src/uts/common/xen/public/
H A Dvcpu.h175 uint64_t mfn; /* mfn of page to place vcpu_info */ member in struct:vcpu_register_vcpu_info
H A Dgrant_table.h268 xen_pfn_t mfn; member in struct:gnttab_transfer
H A Dplatform.h49 * 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
H A Dxen.h211 * 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
/illumos-gate/usr/src/uts/i86xpv/os/
H A Dxen_mmu.c47 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 Dballoon.c53 * 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);
/illumos-gate/usr/src/uts/i86xpv/io/
H A Dprivcmd.c124 * 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/cmd/mdb/i86pc/modules/unix/
H A Di86mmu.c239 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/i86pc/i86hvm/io/xpv/
H A Dxpv_support.c252 reassign_pfn(pfn_t pfn, mfn_t mfn) argument
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxnb.c568 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...]
H A Dxdf.c265 gs_grant(ge_slot_t *gs, mfn_t mfn) argument
272 gnttab_grant_foreign_access_ref(gr, gs->gs_oeid, mfn, !gs->gs_isread);
/illumos-gate/usr/src/uts/common/xen/public/arch-x86/
H A Dxen-mca.h206 uint64_t mfn; member in struct:page_offline_action
/illumos-gate/usr/src/uts/i86xpv/vm/
H A Dseg_mf.c226 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 Ddboot_startkern.c325 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/cmd/mdb/intel/modules/mdb_kb/
H A Dmdb_kb.c415 * 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/dtrace/
H A Dxdt.c299 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++;

Completed in 125 milliseconds