Home
last modified time | relevance | path

Searched refs:prev_pfn (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_dma.c962 px_iopfn_t prev_pfn = pfn; in px_dma_newwin() local
981 for (; start_idx <= end_idx; start_idx++, prev_pfn = pfn, pfn_no++) { in px_dma_newwin()
983 if ((pfn == prev_pfn + 1) && in px_dma_newwin()
1132 px_iopfn_t pfn_lo, pfn_hi, prev_pfn; in px_dma_physwin() local
1183 for (prev_pfn = pfn, i = 1; i < npages; in px_dma_physwin()
1184 i++, prev_pfn = pfn, pfn_no++) { in px_dma_physwin()
1194 if ((pfn == prev_pfn + 1) && in px_dma_physwin()
1197 if ((pfn < pfn_lo) || (prev_pfn > pfn_hi)) { in px_dma_physwin()
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_dma.c1183 iopfn_t prev_pfn = pfn; in pci_dma_newwin() local
1199 for (; start_idx <= end_idx; start_idx++, prev_pfn = pfn, pfn_no++) { in pci_dma_newwin()
1201 if ((pfn == prev_pfn + 1) && in pci_dma_newwin()
1333 iopfn_t pfn_lo, pfn_hi, prev_pfn, bypass_pfn; in pci_dma_physwin() local
1369 for (prev_pfn = (bypass_pfn | pfn), i = 1; i < npages; in pci_dma_physwin()
1370 i++, prev_pfn = pfn, pfn_no++) { in pci_dma_physwin()
1372 if ((pfn == prev_pfn + 1) && in pci_dma_physwin()
1375 if ((pfn < pfn_lo) || (prev_pfn > pfn_hi)) { in pci_dma_physwin()
/illumos-gate/usr/src/uts/sfmmu/vm/
H A Dhat_sfmmu.c13136 static uint64_t prev_pfn = 0; in cached_va_to_pa() local
13139 return (prev_pfn | ((uint64_t)vaddr & MMU_PAGEOFFSET)); in cached_va_to_pa()
13148 prev_pfn = pa & MMU_PAGEMASK; in cached_va_to_pa()