Lines Matching defs:txsd
90 struct ofld_tx_sdesc *txsd = &toep->txsd[toep->txsd_pidx];
154 txsd->tx_credits = howmany(flowclen, 16);
155 txsd->plen = 0;
156 KASSERT(toep->tx_credits >= txsd->tx_credits && toep->txsd_avail > 0,
158 toep->tx_credits -= txsd->tx_credits;
194 struct ofld_tx_sdesc *txsd = &toep->txsd[toep->txsd_pidx];
223 txsd->tx_credits = flowclen16;
224 txsd->plen = 0;
225 toep->tx_credits -= txsd->tx_credits;
630 struct ofld_tx_sdesc *txsd;
651 KASSERT(toep->txsd_avail > 0, ("%s: no txsd", __func__));
654 txsd = &toep->txsd[toep->txsd_pidx];
655 txsd->plen = 0;
656 txsd->tx_credits = credits;
699 struct ofld_tx_sdesc *txsd;
736 txsd = &toep->txsd[toep->txsd_pidx];
751 txsd = &toep->txsd[toep->txsd_pidx];
938 KASSERT(toep->txsd_avail > 0, ("%s: no txsd", __func__));
941 txsd->plen = plen;
942 txsd->tx_credits = credits;
943 txsd++;
946 txsd = &toep->txsd[0];
1194 struct ofld_tx_sdesc *txsd = &toep->txsd[toep->txsd_pidx];
1281 KASSERT(toep->txsd_avail > 0, ("%s: no txsd", __func__));
1284 txsd->plen = plen;
1285 txsd->tx_credits = credits;
1286 txsd++;
1289 txsd = &toep->txsd[0];
1916 struct ofld_tx_sdesc *txsd;
1972 txsd = &toep->txsd[toep->txsd_cidx];
1975 KASSERT(credits >= txsd->tx_credits,
1977 credits -= txsd->tx_credits;
1978 toep->tx_credits += txsd->tx_credits;
1979 plen += txsd->plen;
1980 txsd++;
1983 ("%s: txsd avail > total", __func__));
1985 txsd = &toep->txsd[0];
2076 struct ofld_tx_sdesc *txsd;
2088 txsd = &toep->txsd[toep->txsd_pidx];
2091 txsd->tx_credits = howmany(len, 16);
2092 txsd->plen = 0;
2093 KASSERT(toep->tx_credits >= txsd->tx_credits &&
2097 toep->tx_credits -= txsd->tx_credits;