Home
last modified time | relevance | path

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

/freebsd/sys/dev/xen/netback/
H A Dnetback_unit_tests.c1487 struct mbuf *mbufc, *mbufc2; in xnb_mbufc2pkt_2short() local
1489 mbufc = m_getm(NULL, size1, M_WAITOK, MT_DATA); in xnb_mbufc2pkt_2short()
1490 XNB_ASSERT(mbufc != NULL); in xnb_mbufc2pkt_2short()
1491 if (mbufc == NULL) in xnb_mbufc2pkt_2short()
1493 mbufc->m_flags |= M_PKTHDR; in xnb_mbufc2pkt_2short()
1495 mbufc2 = m_getm(mbufc, size2, M_WAITOK, MT_DATA); in xnb_mbufc2pkt_2short()
1498 safe_m_freem(&mbufc); in xnb_mbufc2pkt_2short()
1529 struct mbuf *mbufc, *m; in xnb_mbufc2pkt_long() local
1531 mbufc = m_getm(NULL, size, M_WAITOK, MT_DATA); in xnb_mbufc2pkt_long()
1532 XNB_ASSERT(mbufc != NULL); in xnb_mbufc2pkt_long()
[all …]
H A Dnetback.c152 const struct mbuf *mbufc, gnttab_copy_table gnttab);
154 struct mbuf **mbufc, if_t ifnet,
163 struct mbuf *mbufc,
167 static void xnb_update_mbufc(struct mbuf *mbufc,
169 static int xnb_mbufc2pkt(const struct mbuf *mbufc,
173 const struct mbuf *mbufc,
191 static void xnb_add_mbuf_cksum(struct mbuf *mbufc);
1441 struct mbuf *mbufc; in xnb_intr() local
1444 err = xnb_recv(txb, xnb->otherend_id, &mbufc, ifp, in xnb_intr()
1446 if (err || (mbufc == NULL)) in xnb_intr()
[all …]