Home
last modified time | relevance | path

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

12

/openbsd/sys/arch/sh/sh/
H A Dpmap.c257 uvm_pagefree(PHYS_TO_VM_PAGE(SH3_P1SEG_TO_PHYS(va))); in pmap_destroy()
262 uvm_pagefree(PHYS_TO_VM_PAGE(SH3_P1SEG_TO_PHYS((vaddr_t)pmap->pm_ptp))); in pmap_destroy()
300 pg = PHYS_TO_VM_PAGE(pa); in pmap_enter()
494 if ((pg = PHYS_TO_VM_PAGE(entry & PG_PPN)) != NULL) in pmap_remove()
564 if (PHYS_TO_VM_PAGE(pa)) in pmap_kenter_pa()
591 if (SH_HAS_VIRTUAL_ALIAS && PHYS_TO_VM_PAGE(*pte & PG_PPN)) in pmap_kremove()
675 pg = PHYS_TO_VM_PAGE(pa); in pmap_protect()
942 uvm_pagefree(PHYS_TO_VM_PAGE(SH3_P1SEG_TO_PHYS(va))); in __pmap_pv_page_free()
1027 if (flags != 0 && (pg = PHYS_TO_VM_PAGE(entry & PG_PPN)) != NULL) { in __pmap_pte_load()
1129 vm_page_t pg = PHYS_TO_VM_PAGE(pa); in pmap_unmap_direct()
/openbsd/sys/uvm/
H A Duvm_page.h263 PHYS_TO_VM_PAGE(paddr_t pa) in PHYS_TO_VM_PAGE() function
275 struct vm_page *PHYS_TO_VM_PAGE(paddr_t);
H A Duvm_km.c308 pg = PHYS_TO_VM_PAGE(pa); in uvm_km_pgremove_intrsafe()
821 pg = PHYS_TO_VM_PAGE(pa); in km_free()
/openbsd/sys/arch/hppa/hppa/
H A Dpmap.c261 return (PHYS_TO_VM_PAGE(pa)); in pmap_pde_ptp()
391 pg = PHYS_TO_VM_PAGE(pa); in pmap_dump_pv()
788 pg = PHYS_TO_VM_PAGE(PTE_PAGE(pte)); in pmap_enter()
804 if (pmap_initialized && (pg = PHYS_TO_VM_PAGE(PTE_PAGE(pa)))) { in pmap_enter()
878 (pg = PHYS_TO_VM_PAGE(PTE_PAGE(pte)))) { in pmap_remove()
969 pg = PHYS_TO_VM_PAGE(PTE_PAGE(pte)); in pmap_write_protect()
1238 if (pmap_initialized && (pg = PHYS_TO_VM_PAGE(PTE_PAGE(pte)))) { in pmap_kenter_pa()
1282 if (pmap_initialized && (pg = PHYS_TO_VM_PAGE(PTE_PAGE(pte)))) { in pmap_kremove()
1309 return (PHYS_TO_VM_PAGE(va)); in pmap_unmap_direct()
/openbsd/sys/dev/pci/drm/include/asm/
H A Dset_memory.h69 pg = PHYS_TO_VM_PAGE(start + (i * PAGE_SIZE)); in set_pages_wb()
/openbsd/sys/arch/amd64/amd64/
H A Dpmap.c1018 pg = PHYS_TO_VM_PAGE(old_pd_pa); in pmap_randomize_level()
2484 pg3 = PHYS_TO_VM_PAGE(npa3); in pmap_do_remove_ept()
2491 pg2 = PHYS_TO_VM_PAGE(npa2); in pmap_do_remove_ept()
2498 pg1 = PHYS_TO_VM_PAGE(npa1); in pmap_do_remove_ept()
2601 pptp = PHYS_TO_VM_PAGE(npa); in pmap_enter_ept()
2645 pptp = PHYS_TO_VM_PAGE(npa); in pmap_enter_ept()
2684 ptp = PHYS_TO_VM_PAGE(npa); in pmap_enter_ept()
2816 pg = PHYS_TO_VM_PAGE(pa); in pmap_enter()
2827 if (PHYS_TO_VM_PAGE(pa) != NULL) in pmap_enter()
2878 pg = PHYS_TO_VM_PAGE(pa); in pmap_enter()
[all …]
H A Dvm_machdep.c143 pg = PHYS_TO_VM_PAGE(pa); in setguardpage()
/openbsd/sys/arch/m88k/m88k/
H A Dpmap.c927 uvm_pagefree(PHYS_TO_VM_PAGE(pa)); in pmap_destroy()
932 uvm_pagefree(PHYS_TO_VM_PAGE(pa)); in pmap_destroy()
980 uvm_pagefree(PHYS_TO_VM_PAGE(pa)); in pmap_collect()
1035 pg = PHYS_TO_VM_PAGE(pa); in pmap_enter()
1221 pg = PHYS_TO_VM_PAGE(pa); in pmap_remove_pte()
1881 pg = PHYS_TO_VM_PAGE(pa); in pmap_set_modify()
1965 struct vm_page *pg = PHYS_TO_VM_PAGE(pa); in pmap_page_uncache()
2014 vm_page_t pg = PHYS_TO_VM_PAGE(pa); in pmap_unmap_direct()
/openbsd/sys/arch/i386/i386/
H A Dpmapae.c736 ptppg = PHYS_TO_VM_PAGE(npa); in pmap_bootstrap_pae()
1206 pg = PHYS_TO_VM_PAGE(opte & PG_FRAME); in pmap_remove_ptes_pae()
1312 ptp = PHYS_TO_VM_PAGE(ptppa); in pmap_do_remove_pae()
1778 pg = PHYS_TO_VM_PAGE(pa); in pmap_enter_pae()
1802 pg = PHYS_TO_VM_PAGE(opte & PG_FRAME); in pmap_enter_pae()
1829 pg = PHYS_TO_VM_PAGE(pa); in pmap_enter_pae()
1980 if (ptppg == NULL && (ptppg = PHYS_TO_VM_PAGE(npa)) == NULL) in pmap_enter_special_pae()
2153 KDASSERT(PHYS_TO_VM_PAGE(pa) != NULL); in pmap_flush_page_pae()
H A Dpmap.c1668 KDASSERT(PHYS_TO_VM_PAGE(pa) != NULL); in pmap_flush_page()
1773 pg = PHYS_TO_VM_PAGE(opte & PG_FRAME); in pmap_remove_ptes_86()
1885 ptp = PHYS_TO_VM_PAGE(ptppa); in pmap_do_remove_86()
2346 pg = PHYS_TO_VM_PAGE(pa); in pmap_enter_86()
2370 pg = PHYS_TO_VM_PAGE(opte & PG_FRAME); in pmap_enter_86()
2397 pg = PHYS_TO_VM_PAGE(pa); in pmap_enter_86()
2550 if (ptppg == NULL && (ptppg = PHYS_TO_VM_PAGE(npa)) == NULL) in pmap_enter_special_86()
/openbsd/sys/arch/amd64/include/
H A Dpmap.h420 KDASSERT(PHYS_TO_VM_PAGE(paddr) != NULL); \
522 #define pmap_unmap_direct(va) PHYS_TO_VM_PAGE(PMAP_DIRECT_UNMAP(va))
/openbsd/sys/dev/pci/drm/include/linux/
H A Dmm.h23 #define pfn_to_page(pfn) (PHYS_TO_VM_PAGE(ptoa(pfn)))
H A Dscatterlist.h100 return PHYS_TO_VM_PAGE(sg_page_iter_dma_address(iter)); in sg_page_iter_page()
/openbsd/sys/arch/powerpc/include/
H A Dpmap.h132 #define pmap_unmap_direct(va) PHYS_TO_VM_PAGE((paddr_t)va)
/openbsd/sys/arch/arm/arm/
H A Dpmap7.c696 pg = PHYS_TO_VM_PAGE(l2pte_pa(*ptep)); in pmap_free_l1()
1097 pg = pmap_initialized ? PHYS_TO_VM_PAGE(pa) : NULL; in pmap_enter()
1132 opg = PHYS_TO_VM_PAGE(l2pte_pa(opte)); in pmap_enter()
1344 pg = PHYS_TO_VM_PAGE(pa); in pmap_remove()
1584 pg = PHYS_TO_VM_PAGE(l2pte_pa(opte)); in pmap_protect()
1736 pg = PHYS_TO_VM_PAGE(pa); in dab_access()
1793 if ((pg = PHYS_TO_VM_PAGE(pa)) != NULL) { in pmap_unwire()
/openbsd/sys/arch/powerpc/powerpc/
H A Dpmap.c494 pg = PHYS_TO_VM_PAGE(pted->p.pted_pte64.pte_lo & PTE_RPGN_64); in pmap_remove_pv()
496 pg = PHYS_TO_VM_PAGE(pted->p.pted_pte32.pte_lo & PTE_RPGN_32); in pmap_remove_pv()
526 pg = PHYS_TO_VM_PAGE(pa); in pmap_attr_save()
574 pg = PHYS_TO_VM_PAGE(pa); in pmap_enter()
730 pg = PHYS_TO_VM_PAGE(pa); in pmap_kenter_pa()
741 pg = PHYS_TO_VM_PAGE(pa); in pmap_kenter_pa()
1999 pg = PHYS_TO_VM_PAGE(pted->p.pted_pte64.pte_lo & PTE_RPGN_64); in pmap_pted_ro64()
2046 pg = PHYS_TO_VM_PAGE(pted->p.pted_pte32.pte_lo & PTE_RPGN_32); in pmap_pted_ro32()
H A Dbus_dma.c456 pg = PHYS_TO_VM_PAGE(pa); in _dmamap_sync()
499 m = PHYS_TO_VM_PAGE(addr); in _dmamem_free()
/openbsd/sys/arch/alpha/alpha/
H A Dpmap.c1516 pg = PHYS_TO_VM_PAGE(pa); in pmap_enter()
2380 pg = PHYS_TO_VM_PAGE(pa); in pmap_remove_mapping()
2614 pg = PHYS_TO_VM_PAGE(pa); in pmap_emulate_reference()
2662 pg = PHYS_TO_VM_PAGE(pa); in pmap_pv_dump()
2868 if ((pg = PHYS_TO_VM_PAGE(pa)) == NULL) in pmap_physpage_free()
2892 pg = PHYS_TO_VM_PAGE(pa); in pmap_physpage_addref()
2912 pg = PHYS_TO_VM_PAGE(pa); in pmap_physpage_delref()
3200 pmap_zero_page(PHYS_TO_VM_PAGE(ptpa)); in pmap_ptpage_free()
/openbsd/sys/arch/alpha/include/
H A Dpmap.h176 #define pmap_unmap_direct(va) PHYS_TO_VM_PAGE(ALPHA_K0SEG_TO_PHYS((va)))
/openbsd/sys/arch/loongson/loongson/
H A Dbus_dma.c418 m = PHYS_TO_VM_PAGE((*t->_device_to_pa)(addr)); in _dmamem_free()
496 pmap_page_cache(PHYS_TO_VM_PAGE(pa), in _dmamem_map()
/openbsd/sys/arch/sparc64/sparc64/
H A Dpmap.c121 pg = PHYS_TO_VM_PAGE(pa); in pa_to_pvh()
1771 struct vm_page *pg = PHYS_TO_VM_PAGE(pa); in pmap_enter()
1961 struct vm_page *pg = PHYS_TO_VM_PAGE(pa); in pmap_protect()
2639 struct vm_page *pg = PHYS_TO_VM_PAGE(pa); in pmap_enter_pv()
2693 struct vm_page *pg = PHYS_TO_VM_PAGE(pa); in pmap_remove_pv()
2778 struct vm_page *pg = PHYS_TO_VM_PAGE(pa); in pmap_page_cache()
2849 struct vm_page *pg = PHYS_TO_VM_PAGE(pa); in pmap_free_page()
/openbsd/sys/arch/octeon/octeon/
H A Dbus_dma.c463 m = PHYS_TO_VM_PAGE((*t->_device_to_pa)(addr)); in _dmamem_free()
533 pmap_page_cache(PHYS_TO_VM_PAGE(pa), in _dmamem_map()
/openbsd/sys/arch/mips64/mips64/
H A Dpmap.c1065 pg = PHYS_TO_VM_PAGE(pa); in pmap_enter()
1669 pg = PHYS_TO_VM_PAGE(pa); in pmap_emulate_modify()
1904 pg = PHYS_TO_VM_PAGE(pa); in pmap_remove_pv()
2006 vm_page_t pg = PHYS_TO_VM_PAGE(pa); in pmap_pg_free()
2051 pg = PHYS_TO_VM_PAGE(pa); in pmap_unmap_direct()
/openbsd/sys/arch/powerpc64/powerpc64/
H A Dpmap.c650 struct vm_page *pg = PHYS_TO_VM_PAGE(pted->pted_pte.pte_lo & PTE_RPGN); in pmap_remove_pv()
1060 pg = PHYS_TO_VM_PAGE(pa); in pmap_enter()
1180 pg = PHYS_TO_VM_PAGE(pted->pted_pte.pte_lo & PTE_RPGN); in pmap_pted_ro()
1310 pg = PHYS_TO_VM_PAGE(pa); in pmap_kenter_pa()
/openbsd/sys/dev/pci/drm/i915/gt/
H A Dintel_region_lmem.c174 pgs = PHYS_TO_VM_PAGE(mem->io.start); in region_lmem_init()

12