Lines Matching defs:nr_frags
240 struct ieee80211_txb *ieee80211_alloc_txb(int nr_frags, int txb_size,
246 sizeof(struct ieee80211_txb) + (sizeof(u8*) * nr_frags),
252 txb->nr_frags = nr_frags;
255 for (i = 0; i < nr_frags; i++) {
263 if (unlikely(i != nr_frags)) {
606 int i, bytes_per_frag, nr_frags, bytes_last_frag, frag_size;
793 nr_frags = bytes / bytes_per_frag;
796 nr_frags++;
803 txb = ieee80211_alloc_txb(nr_frags, frag_size + ieee->tx_headroom, GFP_ATOMIC);
822 for (i = 0; i < nr_frags; i++) {
850 if (i != nr_frags - 1) {