Home
last modified time | relevance | path

Searched refs:page_pptonum (Results 1 – 24 of 24) sorted by relevance

/illumos-gate/usr/src/uts/sun4v/vm/
H A Dmach_vm_dep.c485 ASSERT(page_pptonum(ppa[i]) == page_pptonum(ppa[0]) + i); in contig_mem_span_alloc()
590 ASSERT(rootpp == NULL || (page_pptonum(rootpp) + in contig_mem_span_free()
591 (pgcnt_t)btop(addr - (caddr_t)inaddr) == page_pptonum(pp))); in contig_mem_span_free()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dppage.c77 hat_devload(kas.a_hat, kaddr, MMU_PAGESIZE, page_pptonum(pp), in i86_pp_map()
H A Dpmem.c83 #define PFIND(pp) (page_pptonum(pp) & (pmem_pgcnt - 1))
591 root_pfn = page_pptonum(pp) & ~(pmem_pgcnt - 1); in pmem_lpg_get()
594 if (*last && root_pfn == page_pptonum((*last)->pl_pp)) in pmem_lpg_get()
598 for (plp = splp; root_pfn != page_pptonum(plp->pl_pp); ) { in pmem_lpg_get()
/illumos-gate/usr/src/uts/common/fs/
H A Dfsflush.c163 pfn = page_pptonum(pp); in fsflush_do_pages()
211 if ((page_pptonum(pp) & fsf_mask[szc]) != 0) { in fsflush_do_pages()
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_page.c2670 "slckcnt = %d", (void *)pp, page_pptonum(pp), pp->p_lckcnt, in page_free()
2798 if ((page_pptonum(pp) & (pgcnt - 1)) != 0) { in page_free_pages()
3143 if ((page_pptonum(pp) & (pgcnt - 1)) != 0) { in page_destroy_pages()
3842 page_pptonum(pp)); in page_pp_lock()
3854 page_pptonum(pp)); in page_pp_lock()
4111 page_pptonum(pp)); in page_addclaim()
4126 page_pptonum(pp)); in page_addclaim()
4161 page_pptonum(pp)); in page_subclaim()
4279 if (page_pptonum(pp) != pfnum) in page_numtopp()
4284 if (page_pptonum(pp) != pfnum) { in page_numtopp()
[all …]
H A Dvm_anon.c1252 ASSERT(!(page_pptonum(pp) & (curpgcnt - 1))); in anon_decref_pages()
1268 ASSERT(page_pptonum(pp) - 1 == in anon_decref_pages()
1269 page_pptonum(ppa[j - i - 1])); in anon_decref_pages()
2264 ((page_pptonum(pp) != page_pptonum(ppa[pg_idx - 1]) + 1) || in anon_map_getpages()
2267 } else if (pg_idx == 0 && (page_pptonum(pp) & (pgcnt - 1))) { in anon_map_getpages()
3145 ASSERT(!(page_pptonum(pp) & (npgs - 1))); in anon_try_demote_pages()
3148 ASSERT(page_pptonum(pp) - 1 == in anon_try_demote_pages()
3149 page_pptonum(ppa[i - 1])); in anon_try_demote_pages()
3150 if ((page_pptonum(pp) & (npgs - 1)) == in anon_try_demote_pages()
H A Dseg_spt.c871 ASSERT(!(page_pptonum(pp) & (pgs - 1))); in segspt_free_pages()
873 } else if ((page_pptonum(pp) & (pgs - 1)) == pgs - 1) { in segspt_free_pages()
875 ASSERT(page_pptonum(pp) == in segspt_free_pages()
876 page_pptonum(rootpp) + (pgs - 1)); in segspt_free_pages()
882 ASSERT(page_pptonum(pp) == in segspt_free_pages()
883 page_pptonum(rootpp) + (pgs - curnpgs)); in segspt_free_pages()
H A Dseg_vn.c3190 ASSERT(page_pptonum(targ[i + j]) == in segvn_relocate_pages()
3191 page_pptonum(targ[i]) + j); in segvn_relocate_pages()
3194 ASSERT(IS_P2ALIGNED(page_pptonum(repl), curnpgs)); in segvn_relocate_pages()
3257 pfn = page_pptonum(pp); in segvn_full_szcpages()
3299 if (pfn - 1 != page_pptonum(ppa[i - 1])) { in segvn_full_szcpages()
3433 pfn = page_pptonum(pp); in segvn_fill_vp_pages()
3462 pfn = page_pptonum(newpp); in segvn_fill_vp_pages()
3614 pfn = page_pptonum(pp); in segvn_fill_vp_pages()
3618 pfn = page_pptonum(newpp); in segvn_fill_vp_pages()
3698 ASSERT(IS_P2ALIGNED(page_pptonum(pp), ppages)); in segvn_fill_vp_pages()
[all …]
H A Dpage.h774 pfn_t page_pptonum(page_t *);
H A Dpage_retire.c629 pa = ptob((uint64_t)page_pptonum(pp)); in page_clear_transient_ue()
H A Dseg_dev.c1505 pfnum = page_pptonum( in segdev_faultpage()
1521 pfnum = page_pptonum( in segdev_faultpage()
1531 pfnum = page_pptonum(trashpp); in segdev_faultpage()
2544 pfn = page_pptonum( in devmap_device()
H A Dseg_map.c2163 pfn = page_pptonum(pp); in segmap_dump()
H A Dvm_pagelist.c1898 pfn = page_pptonum(pp); in page_promote_size()
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_dma.c412 pfn0 = page_pptonum(*pplist); in px_dma_type()
424 pfn0 = page_pptonum(dobj_p->dmao_obj.pp_obj.pp_pp); in px_dma_type()
485 px_iopfn_t pfn = page_pptonum(pplist[i]); in px_dma_pgpfn()
497 px_iopfn_t pfn = page_pptonum(pp); in px_dma_pgpfn()
/illumos-gate/usr/src/uts/common/os/
H A Dvm_subr.c465 page_pptonum(pp), PROT_READ, flags); in cow_mapin()
H A Dmem_cage.c1313 pfn_t rootpfn = page_pptonum(rootpp); in kcage_setnoreloc_pages()
H A Dmem_config.c2237 pfn = page_pptonum(tpp); in delete_memory_thread()
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_dma.c581 pfn0 = page_pptonum(*pplist); in pci_dma_type()
611 pfn0 = page_pptonum(dobj_p->dmao_obj.pp_obj.pp_pp); in pci_dma_type()
665 iopfn_t pfn = page_pptonum(pplist[i]); in pci_dma_pgpfn()
678 iopfn_t pfn = page_pptonum(pp); in pci_dma_pgpfn()
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dvm_machdep.c410 if (page_pptonum(pp) != pfnum) { in page_numtopp_alloc()
435 if (page_pptonum(pp) != pfnum) { in page_numtopp_alloc()
1140 if (page_pptonum(pp) != pfn + i) { in is_contigpage_free()
3821 hat_mempte_remap(page_pptonum(frompp), pp_addr1, pte1, in ppcopy()
3823 hat_mempte_remap(page_pptonum(topp), pp_addr2, pte2, in ppcopy()
3868 pfnzero(page_pptonum(pp), off, len); in pagezero()
H A Dhat_i86.c2021 pfn_t pfn = page_pptonum(pp); in hat_kmap_load()
2099 pfn_t pfn = page_pptonum(pp); in hat_memload()
2177 pfn = page_pptonum(pages[pgindx]); in hat_memload_array()
2198 page_pptonum(pages[pgindx + i])) in hat_memload_array()
/illumos-gate/usr/src/uts/common/fs/swapfs/
H A Dswap_vnops.c376 if (page_pptonum(pp) & in swap_getconpage()
/illumos-gate/usr/src/uts/common/cpr/
H A Dcpr_dump.c816 pfn = page_pptonum(pp); in cpr_count_upages()
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dac.c1450 if (pp != NULL && page_pptonum(pp) != pfn) { in ac_mem_exercise()
/illumos-gate/usr/src/uts/sun4u/opl/io/
H A Ddr_mem.c405 pfn = page_pptonum(pp); in dr_memlist_del_retired_pages()