Home
last modified time | relevance | path

Searched refs:pfnum (Results 1 – 25 of 25) sorted by relevance

/titanic_44/usr/src/uts/common/vm/
H A Dvm_pagelist.c740 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 Dvm_page.c4221 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 Dseg_dev.c1418 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 Dseg_kmem.c363 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 Dpage.h1167 extern struct memseg *page_numtomemseg_nolock(pfn_t pfnum);
/titanic_44/usr/src/uts/i86pc/os/
H A Dppage.c91 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 Durw.c134 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 Dbp_map.c87 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 Dmem_config.c2879 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 Dprmachdep.c375 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 Dmemlist.c193 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 Di86_mmu.c95 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 Dvm_dep.h249 #define PFN_BASE(pfnum, szc) (pfnum & ~(SZCPAGES(szc) - 1)) argument
/titanic_44/usr/src/uts/sparc/fs/proc/
H A Dprmachdep.c666 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 Darchsystm.h153 extern page_t *page_numtopp_alloc(pfn_t pfnum);
/titanic_44/usr/src/uts/sparc/v9/os/
H A Dsimulator.c855 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 Dxpv_psm.c1304 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 Dvm_dep.h300 #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 Doce_hw.h171 uint32_t pfnum:3; member
179 uint32_t pfnum:3;
/titanic_44/usr/src/uts/sun4u/cpu/
H A Dopl_olympus_asm.s353 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 Dus3_common_asm.s453 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 Dspitfire_asm.s390 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 Dhat_sfmmu.c3416 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 Dcommon_asm.s1012 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 Ddoor_sys.c3020 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()