Lines Matching defs:nr_frags
239 struct ieee80211_txb *ieee80211_alloc_txb(int nr_frags, int txb_size,
245 sizeof(struct ieee80211_txb) + (sizeof(u8*) * nr_frags),
251 txb->nr_frags = nr_frags;
254 for (i = 0; i < nr_frags; i++) {
262 if (unlikely(i != nr_frags)) {
595 int i, bytes_per_frag, nr_frags, bytes_last_frag, frag_size;
732 nr_frags = bytes / bytes_per_frag;
735 nr_frags++;
742 txb = ieee80211_alloc_txb(nr_frags, frag_size + ieee->tx_headroom, GFP_ATOMIC);
761 for (i = 0; i < nr_frags; i++) {
789 if (i != nr_frags - 1) {