PHYS_TO_VM_PAGE
return (struct page *)PHYS_TO_VM_PAGE(pfn << PAGE_SHIFT);
return (struct page *)PHYS_TO_VM_PAGE(vtophys(kaddr));
#define virt_to_page(kaddr) (struct page *)PHYS_TO_VM_PAGE(vtophys(kaddr))
return (struct page *)PHYS_TO_VM_PAGE(vtophys(addr));
return (struct page *)(PHYS_TO_VM_PAGE(paddr));
vm_page_freezwq(PHYS_TO_VM_PAGE(pa));
uvm_pagefree(PHYS_TO_VM_PAGE(pa));
uvm_pagefree(PHYS_TO_VM_PAGE(_pa + i * PAGE_SIZE));
uvm_pagefree(PHYS_TO_VM_PAGE(pa + i * PAGE_SIZE));
m = PHYS_TO_VM_PAGE(paddr);
p = PHYS_TO_VM_PAGE(*pdp & PG_FRAME);
p = PHYS_TO_VM_PAGE(*pd & PG_FRAME);
p = PHYS_TO_VM_PAGE(*pt & PG_FRAME);
p = PHYS_TO_VM_PAGE(*pt & PG_FRAME);
oldm = PHYS_TO_VM_PAGE(pte & PG_FRAME);
p = PHYS_TO_VM_PAGE(pte & PG_FRAME);
m = PHYS_TO_VM_PAGE(pbits & PG_FRAME);
oldm = PHYS_TO_VM_PAGE(opa);
KKASSERT(oldm == PHYS_TO_VM_PAGE(opa));
m = PHYS_TO_VM_PAGE(pa);
m = PHYS_TO_VM_PAGE(pa);
m = PHYS_TO_VM_PAGE(pa);
return(PHYS_TO_VM_PAGE(*ptep & PG_FRAME));
m = PHYS_TO_VM_PAGE(*ptep & PG_FRAME);
if (m == PHYS_TO_VM_PAGE(*ptep & PG_FRAME)) {
pdpg = PHYS_TO_VM_PAGE(*pmap_pdpe(pmap, va) &
pdppg = PHYS_TO_VM_PAGE(*pmap_pml4e(pmap, va) &
m = PHYS_TO_VM_PAGE(oldpte);
om = PHYS_TO_VM_PAGE(opa);
m = PHYS_TO_VM_PAGE(pa); /* held by wired count */
m = PHYS_TO_VM_PAGE(tpte & VPTE_FRAME);
pt_m = PHYS_TO_VM_PAGE(pte & VPTE_FRAME);
m = PHYS_TO_VM_PAGE(pa);
return(PHYS_TO_VM_PAGE(*ptep & PG_FRAME));
m = PHYS_TO_VM_PAGE(*pte & VPTE_FRAME);
m = PHYS_TO_VM_PAGE(pte & VPTE_FRAME);
if (m != PHYS_TO_VM_PAGE(pte & VPTE_FRAME)) {
m = PHYS_TO_VM_PAGE(pa);
fs.mary[0] = PHYS_TO_VM_PAGE(fakem.phys_addr);
m = PHYS_TO_VM_PAGE(pa);
m = PHYS_TO_VM_PAGE((vm_paddr_t)blk << PAGE_SHIFT);
m = PHYS_TO_VM_PAGE(scan_beg);
m = PHYS_TO_VM_PAGE((vm_paddr_t)blk << PAGE_SHIFT);