Lines Matching refs:mbuf
31 #include <sys/mbuf.h>
122 static int rt2661_tx_data(struct rt2661_softc *, struct mbuf *,
124 static int rt2661_tx_mgt(struct rt2661_softc *, struct mbuf *,
126 static int rt2661_transmit(struct ieee80211com *, struct mbuf *);
128 static int rt2661_raw_xmit(struct ieee80211_node *, struct mbuf *,
671 "could not allocate rx mbuf\n");
861 struct mbuf *m;
968 struct mbuf *mnew, *m;
1001 * Try to allocate a new mbuf for this ring element and load it
1002 * before processing the current mbuf. If the ring element
1004 * mbuf. In the unlikely case that the old mbuf can't be
1023 /* try to reload the old mbuf */
1029 panic("%s: could not load old rx mbuf",
1037 * New mbuf successfully loaded, update Rx ring and continue
1044 /* finalize mbuf */
1273 rt2661_tx_mgt(struct rt2661_softc *sc, struct mbuf *m0,
1305 device_printf(sc->sc_dev, "could not map mbuf (error %d)\n",
1361 const struct mbuf *m, struct ieee80211_node *ni, int prot, int rate)
1367 struct mbuf *mprot;
1376 "could not allocate mbuf for protection mode %d\n", prot);
1387 "could not map mbuf (error %d)\n", error);
1415 rt2661_tx_data(struct rt2661_softc *sc, struct mbuf *m0,
1426 struct mbuf *mnew;
1484 device_printf(sc->sc_dev, "could not map mbuf (error %d)\n",
1493 "could not defragment mbuf\n");
1503 "could not map mbuf (error %d)\n", error);
1558 rt2661_transmit(struct ieee80211com *ic, struct mbuf *m)
1582 struct mbuf *m;
1611 rt2661_raw_xmit(struct ieee80211_node *ni, struct mbuf *m,
2614 struct mbuf *m0;