Lines Matching refs:mbuf
89 #include <sys/mbuf.h>
188 static int ti_encap(struct ti_softc *, struct mbuf **);
234 static int ti_newbuf_jumbo(struct ti_softc *, int, struct mbuf *);
254 static __inline void ti_hdr_split(struct mbuf *top, int hdr_len, int pkt_len,
1386 struct mbuf *m;
1441 struct mbuf *m;
1494 ti_newbuf_jumbo(struct ti_softc *sc, int i, struct mbuf *dummy)
1498 struct mbuf *m;
1564 ti_newbuf_jumbo(struct ti_softc *sc, int idx, struct mbuf *m_old)
1567 struct mbuf *cur, *m_new = NULL;
1568 struct mbuf *m[3] = {NULL, NULL, NULL};
1588 device_printf(sc->ti_dev, "mbuf allocation failed "
1594 device_printf(sc->ti_dev, "cluster mbuf allocation "
1599 device_printf(sc->ti_dev, "mbuf allocation failed "
1608 device_printf(sc->ti_dev, "mbuf allocation "
1632 /* Attach the buffer to the mbuf. */
1708 * The standard receive ring has 512 entries in it. At 2K per mbuf cluster,
2624 * first mbuf. So we take the minimum of the two as the actual
2628 ti_hdr_split(struct mbuf *top, int hdr_len, int pkt_len, int idx)
2632 struct mbuf *m, *mp;
2667 panic("ti_hdr_split: last mbuf in chain should be null");
2764 struct mbuf *m = NULL;
3030 * Encapsulate an mbuf chain in the tx ring by coupling the mbuf data
3034 ti_encap(struct ti_softc *sc, struct mbuf **m_head)
3039 struct mbuf *m;
3139 * Main transmit routine. To avoid having to do mbuf copies, we put pointers
3140 * to the mbuf data regions directly in the transmit descriptors.
3146 struct mbuf *m_head = NULL;