Lines Matching refs:frags
88 * This is sized to avoid pulling headers from the frags for most
386 skb_frag_t *frags = shinfo->frags;
472 frag_set_pending_idx(&frags[shinfo->nr_frags], pending_idx);
485 frags = shinfo->frags;
498 frag_set_pending_idx(&frags[shinfo->nr_frags],
566 frag_get_pending_idx(&shinfo->frags[0]) ==
609 pending_idx = frag_get_pending_idx(&shinfo->frags[i]);
646 /* Not the first error? Preceding frags already invalidated. */
652 pending_idx = frag_get_pending_idx(&shinfo->frags[j]);
659 * the first skb's frags
663 pending_idx = frag_get_pending_idx(&first_shinfo->frags[j]);
694 skb_frag_t *frag = shinfo->frags + i;
1108 * frags. Returns 0 or -ENOMEM if can't allocate new pages.
1113 skb_frag_t frags[MAX_SKB_FRAGS];
1122 /* Subtract frags size, we will correct it later */
1127 /* create a brand new frags array and coalesce there */
1138 put_page(skb_frag_page(&frags[j]));
1150 skb_frag_fill_page_desc(&frags[i], page, 0, len);
1153 /* Release all the original (foreign) frags. */
1162 /* Fill the skb with the new (local) frags. */
1163 memcpy(skb_shinfo(skb)->frags, frags, i * sizeof(skb_frag_t));
1187 * expected to release all the frags which were mapped,