Home
last modified time | relevance | path

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

12

/titanic_50/usr/src/uts/i86xpv/os/
H A Dballoon.c128 } else if (pp->p_pagenum >= mfn_count) { in balloon_page_add()
135 ASSERT(pp->p_pagenum > bln_spare_list_back->p_pagenum); in balloon_page_add()
161 ASSERT(pp->p_pagenum <= mfn_count); in balloon_page_sub()
162 if (pp->p_pagenum == mfn_count) { in balloon_page_sub()
297 page_array[i].p_pagenum = bln_stats.bln_max_pages++; in balloon_init_new_pages()
309 page_array[i].p_pagenum = bln_stats.bln_max_pages++; in balloon_init_new_pages()
437 reassign_pfn(pp->p_pagenum, mfn_frames[i]); in balloon_inc_reservation()
440 reassign_pfn(pp->p_pagenum, mfn_frames[i]); in balloon_inc_reservation()
544 pfn_frames[i] = pp->p_pagenum; in balloon_dec_reservation()
545 mfn_frames[i] = pfn_to_mfn(pp->p_pagenum); in balloon_dec_reservation()
[all …]
/titanic_50/usr/src/uts/sun4u/os/
H A Dppage.c170 color = addr_to_vcolor(mmu_ptob(pp->p_pagenum)); in ppmapin()
337 tte.tte_inthi = TTE_VALID_INT | TTE_PFN_INTHI(pp->p_pagenum); in pp_load_tlb()
338 tte.tte_intlo = TTE_PFN_INTLO(pp->p_pagenum) | TTE_CP_INT | in pp_load_tlb()
421 fm_pa = (uint64_t)(fm_pp->p_pagenum) << MMU_PAGESHIFT; in ppcopy_kernel__relocatable()
422 to_pa = (uint64_t)(to_pp->p_pagenum) << MMU_PAGESHIFT; in ppcopy_kernel__relocatable()
/titanic_50/usr/src/uts/common/vm/
H A Dvm_pagelist.c221 (((pp)->p_pagenum >> \
827 pfnum = pp->p_pagenum; in page_ctr_add_internal()
887 pfnum = pp->p_pagenum; in page_ctr_sub_internal()
1332 ASSERT(IS_P2ALIGNED(pp->p_pagenum, npgs)); in chk_lpg()
1333 ASSERT(pp->p_pagenum == (pp->p_next->p_pagenum - 1)); in chk_lpg()
1334 ASSERT(pp->p_prev->p_pagenum == (pp->p_pagenum + (npgs - 1))); in chk_lpg()
1343 ASSERT(pp->p_pagenum == pp->p_next->p_pagenum - 1); in chk_lpg()
1634 PFN_BASE(pp->p_pagenum, pp->p_szc), 0, pp->p_szc, 0, PC_NO_COLOR, in page_boot_demote()
1740 (void) page_demote(mnode, PFN_BASE(pp->p_pagenum, pp->p_szc), in page_list_sub()
1803 PFN_BASE(pp->p_pagenum, pp->p_szc), 0, in page_list_sub_pages()
[all …]
H A Dpage_retire.c493 pa = mmu_ptob((uint64_t)pp->p_pagenum); in page_retire_done()
817 kspmem->address = ptob(pp->p_pagenum); in pr_list_kstat_snapshot()
824 kspmem->address = ptob(pp->p_pagenum); in pr_list_kstat_snapshot()
1131 " page 0x%08x.%08x", mmu_ptob((uint64_t)pp->p_pagenum)); in page_unretire_pp()
1290 (void) page_retire(ptob(cpp->p_pagenum), PR_FMA); in page_retire_test()
1294 (void) page_retire(ptob(cpp->p_pagenum), PR_FMA); in page_retire_test()
1295 (void) page_retire(ptob(cpp2->p_pagenum), PR_FMA); in page_retire_test()
H A Dvm_page.c1096 pfn = rootpp->p_pagenum; in page_exists_physcontig()
1108 pp->p_offset != off || pp->p_pagenum != pfn) { in page_exists_physcontig()
1163 ASSERT(pp->p_pagenum == pfn); in page_exists_physcontig()
1202 if (pp->p_pagenum != pfn) { in page_exists_physcontig()
4786 pfn = targ->p_pagenum; in do_page_relocate()
4793 repl_pfn = repl->p_pagenum; in do_page_relocate()
4890 ASSERT(targ->p_pagenum == (pfn + i)); in do_page_relocate()
4892 repl->p_pagenum == (repl_pfn + i)); in do_page_relocate()
5776 if (pp->p_pagenum == pfnum) { in page_numtopp_nolock()
5788 if (pp->p_pagenum == pfnum) { in page_numtopp_nolock()
[all …]
/titanic_50/usr/src/uts/i86pc/vm/
H A Dhment.c112 &mlist_lock[((pp)->p_pagenum + ((pp)->p_pagenum >> 9)) & \
405 hm->hm_pfn = pp->p_pagenum; in hment_prepare()
481 hm->hm_pfn = pp->p_pagenum; in hment_assign()
558 dummy.hm_pfn = pp->p_pagenum; in hment_remove()
H A Dvm_dep.h240 #define PP_2_BIN_SZC(pp, szc) (PFN_2_COLOR(pp->p_pagenum, szc, NULL))
244 #define PP_2_MEM_NODE(pp) (PFN_2_MEM_NODE(pp->p_pagenum))
245 #define PP_2_MTYPE(pp) (pfn_2_mtype(pp->p_pagenum))
336 (&(pp)[-(int)((pp)->p_pagenum & (SZCPAGES(szc)-1))])
H A Dvm_machdep.c1090 if (pa_to_ma(pfn_to_pa(pp->p_pagenum)) < in check_dma()
1093 if (pa_to_ma(pfn_to_pa(pp->p_pagenum)) >= in check_dma()
1919 if ((mfn = pfn_to_mfn(pp->p_pagenum)) < start_mfn) in page_io_pool_shrink()
1993 mfn_t mfn = mfn_list[pp->p_pagenum]; in page_io_pool_add()
2009 while (mfn < mfn_list[look->p_pagenum]) { in page_io_pool_add()
2020 if (mfn < mfn_list[(*poolp)->p_pagenum]) { in page_io_pool_add()
2043 if (mfn_list[pp->p_pagenum] < PFN_16MEG) { in add_page_to_pool()
2053 if (mfn_list[pp->p_pagenum] < mfn_list[highest->p_pagenum]) { in add_page_to_pool()
2397 mfn_t mfn = mfn_list[pp->p_pagenum]; in page_destroy_io()
2576 mfn = mfn_list[pp->p_pagenum]; in page_io_pool_alloc()
[all …]
H A Dhat_i86.c1268 ASSERT(IS_P2ALIGNED(pp->p_pagenum, pgcnt)); in hati_sync_pte_to_page()
3208 if (PTE2PFN(old, ht->ht_level) != pp->p_pagenum || in hati_page_clrwrt()
3332 pfn_t pfn = pp->p_pagenum; in hati_page_unmap()
3708 ASSERT(PTE2PFN(old, ht->ht_level) == pp->p_pagenum); in hat_pagesync()
4130 ASSERT(IS_P2ALIGNED(pp->p_pagenum, pgcnt)); in hati_update_pte()
4302 return (hat_kpm_pfn2va(pp->p_pagenum)); in hat_kpm_page2va()
/titanic_50/usr/src/uts/sun4v/os/
H A Dmemseg.c211 ASSERT(pp->p_pagenum != PFN_INVALID); in memseg_get_metapfn()
213 return (pp->p_pagenum); in memseg_get_metapfn()
H A Dppage.c241 fm_pa = (uint64_t)(fm_pp->p_pagenum) << MMU_PAGESHIFT; in ppcopy_kernel__relocatable()
242 to_pa = (uint64_t)(to_pp->p_pagenum) << MMU_PAGESHIFT; in ppcopy_kernel__relocatable()
/titanic_50/usr/src/uts/sun4u/vm/
H A Dmach_kpm.c230 paddr = ptob(pp->p_pagenum); in hat_kpm_page2va()
275 pfn = pp->p_pagenum; \
289 pfn = pp->p_pagenum; \
326 ASSERT((pfn_t)pp->p_pagenum == pfn); in hat_kpm_fault()
708 pfn = pp->p_pagenum; in sfmmu_kpm_mapin()
1119 paddr = ptob(pp->p_pagenum); in sfmmu_kpm_getvaddr()
1208 pfn_t pfn = pp->p_pagenum; in sfmmu_kpm_fault()
1537 pfn_t pfn = pp->p_pagenum; in sfmmu_kpm_fault_small()
1667 sfmmu_cache_flush(pp->p_pagenum, PP_GET_VCOLOR(pp)); in sfmmu_kpm_vac_conflict()
1717 sfmmu_cache_flush(pp->p_pagenum, PP_GET_VCOLOR(pp)); in sfmmu_kpm_vac_conflict()
[all …]
/titanic_50/usr/src/uts/sun4u/starfire/os/
H A Dstarfire.c327 lbn = PFN_2_LBN(page->p_pagenum); in plat_freelist_process()
395 lbn = PFN_2_LBN(page->p_pagenum); in plat_freelist_process()
/titanic_50/usr/src/uts/common/os/
H A Dbp_map.c166 pfnum = pp->p_pagenum; in bp_mapin_common()
176 pfnum = (*pplist)->p_pagenum; in bp_mapin_common()
/titanic_50/usr/src/uts/common/sys/
H A Ddumphdr.h225 #define IS_DUMP_PAGE(pp) (dump_check_used && dump_test_used((pp)->p_pagenum))
/titanic_50/usr/src/uts/sun4v/vm/
H A Dmach_kpm.c170 paddr = ptob(pp->p_pagenum); in hat_kpm_page2va()
H A Dmach_vm_dep.c343 pa = (uint64_t)(pp->p_pagenum << MMU_PAGESHIFT + off); in pagescrub()
/titanic_50/usr/src/uts/common/io/
H A Dphysmem.c533 u_offset_t paddr = (u_offset_t)ptob(pp->p_pagenum); in map_page_proc()
743 rpp = page_lookup(vp, ptob(pp->p_pagenum), SE_SHARED); in physmem_inactive()
/titanic_50/usr/src/uts/sun4u/io/
H A Diommu.c634 pfn = pp->p_pagenum; in iommu_create_pp_mappings()
637 pfn = (*pplist)->p_pagenum; in iommu_create_pp_mappings()
1004 pfn = pp->p_pagenum; in iommu_dma_bindhdl()
1006 pfn = (*pplist)->p_pagenum; in iommu_dma_bindhdl()
/titanic_50/usr/src/cmd/mdb/common/modules/mdb_ks/
H A Dmdb_ks.c783 if (page.p_pagenum != pfn) { in mdb_pfn2page()
785 "but actually has 0x%lx\n", arg.pp, pfn, page.p_pagenum); in mdb_pfn2page()
802 return (page.p_pagenum); in mdb_page2pfn()
/titanic_50/usr/src/uts/sun4/vm/
H A Dvm_dep.h287 #define PP_2_BIN_SZC(pp, szc) (PFN_2_COLOR(pp->p_pagenum, szc, (void *)(-1)))
291 #define PP_2_MEM_NODE(pp) (PFN_2_MEM_NODE(pp->p_pagenum))
/titanic_50/usr/src/uts/i86pc/io/
H A Drootnex.c2775 paddr = pfn_to_pa(pp->p_pagenum) + offset; in rootnex_need_bounce_seg()
2785 paddr = pfn_to_pa(pplist[pcnt]->p_pagenum); in rootnex_need_bounce_seg()
2821 paddr = pfn_to_pa(pp->p_pagenum); in rootnex_need_bounce_seg()
2826 paddr = pfn_to_pa(pplist[pcnt]->p_pagenum); in rootnex_need_bounce_seg()
2917 paddr = pfn_to_pa(pp->p_pagenum) + offset; in rootnex_get_sgl()
2938 paddr = pfn_to_pa(pplist[pcnt]->p_pagenum); in rootnex_get_sgl()
3023 paddr = pfn_to_pa(pp->p_pagenum); in rootnex_get_sgl()
3028 paddr = pfn_to_pa(pplist[pcnt]->p_pagenum); in rootnex_get_sgl()
H A Dimmu_dvma.c2594 paddr = pfn_to_pa(page->p_pagenum) + offset; in immu_map_dvmaseg()
2604 paddr = pfn_to_pa(pparray[pcnt]->p_pagenum) + offset; in immu_map_dvmaseg()
2657 paddr = pfn_to_pa(page->p_pagenum); in immu_map_dvmaseg()
2661 paddr = pfn_to_pa(pparray[pcnt]->p_pagenum); in immu_map_dvmaseg()
/titanic_50/usr/src/uts/sun4v/ml/
H A Dmach_offsets.in238 p_pagenum PAGE_PAGENUM
/titanic_50/usr/src/uts/sun4u/ml/
H A Dmach_offsets.in204 p_pagenum PAGE_PAGENUM

12