Lines Matching defs:nr_frags
237 struct ieee80211_txb *ieee80211_alloc_txb(int nr_frags, int txb_size,
243 sizeof(struct ieee80211_txb) + (sizeof(u8*) * nr_frags),
249 txb->nr_frags = nr_frags;
252 for (i = 0; i < nr_frags; i++) {
260 if (unlikely(i != nr_frags)) {
606 int i, bytes_per_frag, nr_frags, bytes_last_frag, frag_size;
741 nr_frags = bytes / bytes_per_frag;
744 nr_frags++;
751 txb = ieee80211_alloc_txb(nr_frags, frag_size + ieee->tx_headroom, GFP_ATOMIC);
769 for (i = 0; i < nr_frags; i++) {
797 if (i != nr_frags - 1) {