Home
last modified time | relevance | path

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

/freebsd/sys/dev/xen/netback/
H A Dnetback.c152 const struct mbuf *mbufc, gnttab_copy_table gnttab);
155 gnttab_copy_table gnttab);
164 gnttab_copy_table gnttab,
168 const gnttab_copy_table gnttab, int n_entries);
174 gnttab_copy_table gnttab,
178 const gnttab_copy_table gnttab, int n_entries,
1699 gnttab_copy_table gnttab, const netif_tx_back_ring_t *txb, in xnb_txpkt2gnttab() argument
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()
[all …]
H A Dnetback_unit_tests.c182 gnttab_copy_table gnttab; member
345 bzero(xnb_unit_pvt.gnttab, sizeof(xnb_unit_pvt.gnttab)); in setup_pvt_data()
1105 n_entries = xnb_txpkt2gnttab(&pkt, pMbuf, xnb_unit_pvt.gnttab, in xnb_txpkt2gnttab_empty()
1136 n_entries = xnb_txpkt2gnttab(&pkt, pMbuf, xnb_unit_pvt.gnttab, in xnb_txpkt2gnttab_short()
1139 XNB_ASSERT(xnb_unit_pvt.gnttab[0].len == size); in xnb_txpkt2gnttab_short()
1141 XNB_ASSERT(xnb_unit_pvt.gnttab[0].flags & GNTCOPY_source_gref); in xnb_txpkt2gnttab_short()
1142 XNB_ASSERT(xnb_unit_pvt.gnttab[0].source.offset == req->offset); in xnb_txpkt2gnttab_short()
1143 XNB_ASSERT(xnb_unit_pvt.gnttab[0].source.domid == DOMID_SELF); in xnb_txpkt2gnttab_short()
1144 XNB_ASSERT(xnb_unit_pvt.gnttab[0].dest.offset == virt_to_offset( in xnb_txpkt2gnttab_short()
1146 XNB_ASSERT(xnb_unit_pvt.gnttab[0].dest.u.gmfn == in xnb_txpkt2gnttab_short()
[all …]
/freebsd/sys/dev/xen/grant_table/
H A Dgrant_table.c562 MTX_SYSINIT(gnttab, &gnttab_list_lock, "GNTTAB LOCK", MTX_DEF | MTX_RECURSE);