Searched refs:pfn0 (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/uts/sun4/io/px/ |
H A D | px_dma.c | 394 pfn_t pfn0; in px_dma_type() local 412 pfn0 = page_pptonum(*pplist); in px_dma_type() 416 pfn0 = hat_getpfnum(hat_p, vaddr); in px_dma_type() 424 pfn0 = page_pptonum(dobj_p->dmao_obj.pp_obj.pp_pp); in px_dma_type() 433 if (pfn0 == PFN_INVALID) { in px_dma_type() 438 if (TGT_PFN_INBETWEEN(pfn0, pec_p->pec_base32_pfn, in px_dma_type() 442 } else if (TGT_PFN_INBETWEEN(pfn0, pec_p->pec_base64_pfn, in px_dma_type() 461 mp->dmai_pfn0 = (void *)pfn0; /* cache pfn0 */ in px_dma_type()
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_dma.c | 561 pfn_t pfn0; in pci_dma_type() local 581 pfn0 = page_pptonum(*pplist); in pci_dma_type() 590 IOMMU_PAGE_SIZE - offset, flags, mp, &pfn0, in pci_dma_type() 593 if (pfn0 == PFN_INVALID && ret == ENOMEM) { in pci_dma_type() 604 pfn0 = hat_getpfnum(as_p->a_hat, vaddr); in pci_dma_type() 611 pfn0 = page_pptonum(dobj_p->dmao_obj.pp_obj.pp_pp); in pci_dma_type() 621 if (pfn0 == PFN_INVALID) { in pci_dma_type() 626 if (TGT_PFN_INBETWEEN(pfn0, pbm_p->pbm_base_pfn, pbm_p->pbm_last_pfn)) { in pci_dma_type() 639 mp->dmai_pfn0 = (void *)pfn0; /* cache pfn0 */ in pci_dma_type()
|
/illumos-gate/usr/src/uts/sun4v/io/niumx/ |
H A D | niumx.c | 732 pfn_t pfn0; in niumx_dma_bindhdl() local 746 pfn0 = hat_getpfnum(hat_p, vaddr); in niumx_dma_bindhdl() 759 if (pfn0 == PFN_INVALID) { in niumx_dma_bindhdl() 766 mp->dmai_pfn0 = (void *)pfn0; /* cache pfn0 */ in niumx_dma_bindhdl() 768 mp->dmai_mapping = mp->dmai_roffset | NIUMX_PTOB(pfn0); in niumx_dma_bindhdl()
|