dmai_pfnlst
hp->dmai_winsize, hp->dmai_tte, hp->dmai_pfnlst, hp->dmai_pfn0);
void *addr = mp->dmai_pfnlst;
mp->dmai_pfnlst = NULL;
if (!(mp->dmai_pfnlst = kmem_alloc(npages * sizeof (px_iopfn_t),
mp->dmai_pfnlst = NULL;
#define PX_GET_MP_PFN1_ADDR(mp) (((px_iopfn_t *)(mp)->dmai_pfnlst) + 1)
(((px_iopfn_t *)(mp)->dmai_pfnlst)[page_no])
(px_iopfn_t)(mp)->dmai_pfnlst : PX_GET_MP_PFN1(mp, page_no))
ASSERT(!((page_no) || (mp)->dmai_pfnlst)); \
(mp)->dmai_pfnlst = (void *)(pfn); \
((px_iopfn_t *)(mp)->dmai_pfnlst)[page_no] = \
((px_iopfn_t *)(mp)->dmai_pfnlst)[page_no] = (pfn); \
void *dmai_pfnlst;
hp->dmai_winsize, hp->dmai_tte, hp->dmai_pfnlst, hp->dmai_pfn0);
mp->dmai_pfnlst = NULL;
void *addr = mp->dmai_pfnlst;
mp->dmai_pfnlst = NULL;
if (!(mp->dmai_pfnlst = kmem_alloc(npages * sizeof (iopfn_t),
mp->dmai_pfnlst, newpfn);
mp->dmai_pfnlst = (void *)newpfn;
index, ((iopfn_t *)mp->dmai_pfnlst)[index], newpfn);
((iopfn_t *)mp->dmai_pfnlst)[index] = (iopfn_t)newpfn;
#define PCI_GET_MP_PFN1_ADDR(mp) (((iopfn_t *)(mp)->dmai_pfnlst) + 1)
#define PCI_GET_MP_PFN1(mp, page_no) (((iopfn_t *)(mp)->dmai_pfnlst)[page_no])
(iopfn_t)(mp)->dmai_pfnlst : PCI_GET_MP_PFN1(mp, page_no))
ASSERT(!((page_no) || (mp)->dmai_pfnlst)); \
(mp)->dmai_pfnlst = (void *)(pfn); \
((iopfn_t *)(mp)->dmai_pfnlst)[page_no] = (iopfn_t)(pfn); \
((iopfn_t *)(mp)->dmai_pfnlst)[page_no] = (pfn); \
void *dmai_pfnlst;
mp->dmai_pfnlst = NULL;