/titanic_44/usr/src/uts/common/vm/ |
H A D | vm_pagelist.c | 740 pfn_t pfnum = r_base; in page_ctrs_alloc() local 745 MEM_NODE_ITERATOR_INIT(pfnum, mnode, r, &it); in page_ctrs_alloc() 746 if (pfnum == (pfn_t)-1) { in page_ctrs_alloc() 749 PAGE_NEXT_PFN_FOR_COLOR(pfnum, r, i, in page_ctrs_alloc() 751 idx = PNUM_TO_IDX(mnode, r, pfnum); in page_ctrs_alloc() 811 pfn_t pfnum; in page_ctr_add_internal() local 827 pfnum = pp->p_pagenum; in page_ctr_add_internal() 836 idx = PNUM_TO_IDX(mnode, r, pfnum); in page_ctr_add_internal() 872 pfn_t pfnum; in page_ctr_sub_internal() local 887 pfnum = pp->p_pagenum; in page_ctr_sub_internal() [all …]
|
H A D | vm_page.c | 4221 page_numtopp(pfn_t pfnum, se_t se) in page_numtopp() argument 4226 pp = page_numtopp_nolock(pfnum); in page_numtopp() 4235 if (page_pptonum(pp) != pfnum) in page_numtopp() 4240 if (page_pptonum(pp) != pfnum) { in page_numtopp() 4249 page_numtopp_noreclaim(pfn_t pfnum, se_t se) in page_numtopp_noreclaim() argument 4254 pp = page_numtopp_nolock(pfnum); in page_numtopp_noreclaim() 4263 if (page_pptonum(pp) != pfnum) in page_numtopp_noreclaim() 4268 if (page_pptonum(pp) != pfnum) { in page_numtopp_noreclaim() 4281 page_numtopp_nowait(pfn_t pfnum, se_t se) in page_numtopp_nowait() argument 4286 pp = page_numtopp_nolock(pfnum); in page_numtopp_nowait() [all …]
|
H A D | seg_dev.c | 1418 pfn_t pfnum = PFN_INVALID; in segdev_faultpage() local 1475 pfnum = (pfn_t)cdev_mmap(sdp->mapfunc, sdp->vp->v_rdev, in segdev_faultpage() 1496 pfnum = PFN_INVALID; in segdev_faultpage() 1498 pfnum = dhp->dh_pfn + btop(off); in segdev_faultpage() 1503 pfnum = page_pptonum( in segdev_faultpage() 1519 pfnum = page_pptonum( in segdev_faultpage() 1523 pfnum = hat_getpfnum( in segdev_faultpage() 1529 pfnum = page_pptonum(trashpp); in segdev_faultpage() 1537 pfnum = hat_getpfnum(kas.a_hat, in segdev_faultpage() 1541 pfnum = PFN_INVALID; in segdev_faultpage() [all …]
|
H A D | seg_kmem.c | 363 pfn_t pfnum; in boot_mapin() local 369 pfnum = va_to_pfn(addr); in boot_mapin() 370 if (pfnum == PFN_INVALID) in boot_mapin() 372 if ((pp = page_numtopp_nolock(pfnum)) == NULL) in boot_mapin() 373 panic("boot_mapin(): No pp for pfnum = %lx", pfnum); in boot_mapin() 384 pp = page_numtopp(pfnum, SE_EXCL); in boot_mapin()
|
H A D | page.h | 1167 extern struct memseg *page_numtomemseg_nolock(pfn_t pfnum);
|
/titanic_44/usr/src/uts/i86pc/os/ |
H A D | ppage.c | 91 pfn_t pfnum; in i86_va_map() local 93 pfnum = hat_getpfnum(asp->a_hat, vaddr); in i86_va_map() 94 hat_devload(kas.a_hat, kaddr, MMU_PAGESIZE, pfnum, in i86_va_map()
|
/titanic_44/usr/src/uts/common/os/ |
H A D | urw.c | 134 pfn_t pfnum; in mapin() local 143 pfnum = hat_getpfnum(as->a_hat, addr); in mapin() 144 if (pf_is_memory(pfnum)) { in mapin() 145 pp = page_numtopp_nolock(pfnum); in mapin() 161 hat_devload(kas.a_hat, kaddr, PAGESIZE, pfnum, in mapin()
|
H A D | bp_map.c | 87 pfn_t pfnum; in bp_mapin_common() local 166 pfnum = pp->p_pagenum; in bp_mapin_common() 169 pfnum = hat_getpfnum(as->a_hat, in bp_mapin_common() 171 if (pfnum == PFN_INVALID) in bp_mapin_common() 176 pfnum = (*pplist)->p_pagenum; in bp_mapin_common() 180 hat_devload(kas.a_hat, kaddr, PAGESIZE, pfnum, in bp_mapin_common()
|
H A D | mem_config.c | 2879 pfnum_to_transit_list(struct transit_list_head *trh, pfn_t pfnum) in pfnum_to_transit_list() argument 2888 if (pfnum >= mdsp->mds_base && in pfnum_to_transit_list() 2889 pfnum < (mdsp->mds_base + mdsp->mds_npgs)) { in pfnum_to_transit_list() 2898 pfn_is_being_deleted(pfn_t pfnum) in pfn_is_being_deleted() argument 2909 tlp = pfnum_to_transit_list(trh, pfnum); in pfn_is_being_deleted()
|
/titanic_44/usr/src/uts/intel/fs/proc/ |
H A D | prmachdep.c | 375 pfn_t pfnum; in prmapin() local 384 pfnum = hat_getpfnum(as->a_hat, addr); in prmapin() 385 if (pf_is_memory(pfnum)) { in prmapin() 386 pp = page_numtopp_nolock(pfnum); in prmapin() 402 hat_devload(kas.a_hat, kaddr, MMU_PAGESIZE, pfnum, in prmapin()
|
/titanic_44/usr/src/uts/sun4/os/ |
H A D | memlist.c | 193 pfn_t pfnum; in less_pages() local 196 pfnum = (pfn_t)(pa >> PAGESHIFT); in less_pages() 197 if ((pp = page_numtopp_nolock(pfnum)) == NULL) in less_pages() 198 cmn_err(CE_PANIC, "missing pfnum %lx", pfnum); in less_pages() 225 (offset_t)pfnum, NULL); in less_pages()
|
/titanic_44/usr/src/uts/i86pc/vm/ |
H A D | i86_mmu.c | 95 page_numtopp_alloc(pfn_t pfnum) in page_numtopp_alloc() argument 100 pp = page_numtopp_nolock(pfnum); in page_numtopp_alloc() 109 if (page_pptonum(pp) != pfnum) { in page_numtopp_alloc() 134 if (page_pptonum(pp) != pfnum) { in page_numtopp_alloc()
|
H A D | vm_dep.h | 249 #define PFN_BASE(pfnum, szc) (pfnum & ~(SZCPAGES(szc) - 1)) argument
|
/titanic_44/usr/src/uts/sparc/fs/proc/ |
H A D | prmachdep.c | 666 pfn_t pfnum; in prmapin() local 675 pfnum = hat_getpfnum(as->a_hat, addr); in prmapin() 676 if (pf_is_memory(pfnum)) { in prmapin() 677 pp = page_numtopp_nolock(pfnum); in prmapin() 694 hat_devload(kas.a_hat, kaddr, PAGESIZE, pfnum, in prmapin()
|
/titanic_44/usr/src/uts/intel/sys/ |
H A D | archsystm.h | 153 extern page_t *page_numtopp_alloc(pfn_t pfnum);
|
/titanic_44/usr/src/uts/sparc/v9/os/ |
H A D | simulator.c | 855 pfn_t pfnum; in simulate_unimp() local 1118 pfnum = hat_getpfnum(as->a_hat, (caddr_t)rp->r_pc); in simulate_unimp() 1120 if (pf_is_memory(pfnum)) { in simulate_unimp() 1121 pp = page_numtopp_nolock(pfnum); in simulate_unimp()
|
/titanic_44/usr/src/uts/i86xpv/io/psm/ |
H A D | xpv_psm.c | 1304 pfn_t pfnum; in apic_alloc_msix_vectors() local 1319 pfnum = hat_getpfnum(kas.a_hat, (caddr_t)msix_p->msix_tbl_addr) & in apic_alloc_msix_vectors() 1321 table_base = (uint64_t)((pfnum << PAGESHIFT) - msix_p->msix_tbl_offset | in apic_alloc_msix_vectors()
|
/titanic_44/usr/src/uts/sun4/vm/ |
H A D | vm_dep.h | 300 #define PFN_BASE(pfnum, szc) (pfnum & ~((1 << PAGE_BSZS_SHIFT(szc)) - 1)) argument
|
/titanic_44/usr/src/uts/common/sys/fibre-channel/fca/oce/ |
H A D | oce_hw.h | 171 uint32_t pfnum:3; member 179 uint32_t pfnum:3;
|
/titanic_44/usr/src/uts/sun4u/cpu/ |
H A D | opl_olympus_asm.s | 353 vac_flushpage(pfn_t pfnum, int vcolor) 369 vac_flushpage_tl1(uint64_t pfnum, uint64_t vcolor) 385 vac_flushcolor(int vcolor, pfn_t pfnum) 403 vac_flushcolor_tl1(uint64_t vcolor, uint64_t pfnum)
|
H A D | us3_common_asm.s | 453 vac_flushpage(pfn_t pfnum, int vcolor) 489 vac_flushpage_tl1(uint64_t pfnum, uint64_t vcolor) 511 vac_flushcolor(int vcolor, pfn_t pfnum) 535 vac_flushcolor_tl1(uint64_t vcolor, uint64_t pfnum)
|
H A D | spitfire_asm.s | 390 vac_flushpage(pfn_t pfnum, int vcolor) 395 vac_flushpage_tl1(uint64_t pfnum, uint64_t vcolor)
|
/titanic_44/usr/src/uts/sfmmu/vm/ |
H A D | hat_sfmmu.c | 3416 pfn_t pfnum; in sfmmu_pagearray_setup() local 3434 pfnum = (*pps)->p_pagenum; in sfmmu_pagearray_setup() 3435 ASSERT(IS_P2ALIGNED(pfnum, npgs)); in sfmmu_pagearray_setup() 3508 if (pp->p_pagenum != pfnum) { in sfmmu_pagearray_setup() 3527 pfnum++; in sfmmu_pagearray_setup() 12244 struct hme_blk *hmeblkp, pfn_t pfnum, int cache_flush_flag) in sfmmu_ismtlbcache_demap() argument 12326 xt_some(cpuset, vac_flushpage_tl1, pfnum, vcolor); in sfmmu_ismtlbcache_demap() 12327 vac_flushpage(pfnum, vcolor); in sfmmu_ismtlbcache_demap() 12341 pfn_t pfnum, int tlb_noflush, int cpu_flag, int cache_flush_flag, in sfmmu_tlbcache_demap() argument 12353 pfnum = pfnum; in sfmmu_tlbcache_demap() [all …]
|
/titanic_44/usr/src/uts/sun4v/cpu/ |
H A D | common_asm.s | 1012 vac_flushpage(pfn_t pfnum, int vcolor) 1017 vac_flushpage_tl1(uint64_t pfnum, uint64_t vcolor)
|
/titanic_44/usr/src/uts/common/fs/doorfs/ |
H A D | door_sys.c | 3020 pfn_t pfnum; in door_copy() local 3024 pfnum = hat_getpfnum(as->a_hat, rdest); in door_copy() 3031 if (pf_is_memory(pfnum)) { in door_copy() 3032 pp = page_numtopp_nolock(pfnum); in door_copy()
|