Home
last modified time | relevance | path

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

/freebsd/sys/dev/xen/netback/
H A Dnetback.c1704 int gnt_idx = 0; /* index into grant table */ in xnb_txpkt2gnttab() local
1724 KASSERT(gnt_idx < GNTTAB_LEN, ("Grant table is too short")); in xnb_txpkt2gnttab()
1726 gnttab[gnt_idx].source.u.ref = txq->gref; in xnb_txpkt2gnttab()
1727 gnttab[gnt_idx].source.domid = otherend_id; in xnb_txpkt2gnttab()
1728 gnttab[gnt_idx].source.offset = txq->offset + r_ofs; in xnb_txpkt2gnttab()
1729 gnttab[gnt_idx].dest.u.gmfn = virt_to_mfn( in xnb_txpkt2gnttab()
1731 gnttab[gnt_idx].dest.offset = virt_to_offset( in xnb_txpkt2gnttab()
1733 gnttab[gnt_idx].dest.domid = DOMID_SELF; in xnb_txpkt2gnttab()
1734 gnttab[gnt_idx].len = space; in xnb_txpkt2gnttab()
1735 gnttab[gnt_idx].flags = GNTCOPY_source_gref; in xnb_txpkt2gnttab()
[all …]