Lines Matching defs:gr
267 grant_ref_t gr = gnttab_claim_grant_reference(&gs->gs_ghead);
269 ASSERT(gr != -1);
271 gs->gs_ge[gs->gs_ngrefs++] = gr;
272 gnttab_grant_foreign_access_ref(gr, gs->gs_oeid, mfn, !gs->gs_isread);
274 return (gr);
1230 grant_ref_t gr;
1300 gr = gs_grant(gs, PATOMA(dma_addr) >> PAGESHIFT);
1301 ddi_put32(acchdl, &rreq->seg[seg].gref, gr);
1309 "xdf@%s: seg%d: fs %d ls %d gr %d dma 0x%"PRIx64"\n",
1310 vdp->xdf_addr, seg, fsect, lsect, gr, dma_addr));