Lines Matching defs:bf
1373 struct uath_data *bf;
1375 bf = STAILQ_FIRST(&sc->sc_tx_inactive);
1376 if (bf != NULL) {
1380 bf = NULL;
1381 if (bf == NULL)
1384 return (bf);
1390 struct uath_data *bf;
1394 bf = _uath_getbuf(sc);
1395 if (bf == NULL)
1397 return (bf);
1629 struct uath_data *bf, *next;
1633 STAILQ_FOREACH_SAFE(bf, frags, next, next) {
1634 /* NB: bf assumed clean */
1636 STAILQ_INSERT_HEAD(&sc->sc_tx_inactive, bf, next);
1652 struct uath_data *bf;
1656 bf = uath_getbuf(sc);
1657 if (bf == NULL) { /* out of buffers, cleanup */
1662 STAILQ_INSERT_TAIL(frags, bf, next);
1693 struct uath_data *bf;
1705 bf = uath_getbuf(sc);
1706 if (bf == NULL) {
1737 if (uath_tx_start(sc, m, ni, bf) != 0) {
1742 STAILQ_INSERT_HEAD(&sc->sc_tx_inactive, bf, next);
1763 bf = STAILQ_FIRST(&frags);
1764 KASSERT(bf != NULL, ("no buf for txfrag"));
1778 struct uath_data *bf;
1791 bf = uath_getbuf(sc);
1792 if (bf == NULL) {
1799 if (uath_tx_start(sc, m, ni, bf) != 0) {
1800 STAILQ_INSERT_HEAD(&sc->sc_tx_inactive, bf, next);