Lines Matching refs:skb1
450 fclones = container_of(skb, struct sk_buff_fclones, skb1); in __alloc_skb()
705 fclones = container_of(skb, struct sk_buff_fclones, skb1); in kfree_skbmem()
1511 skb1); in skb_clone()
3404 struct sk_buff* skb1, in skb_split_inside_header() argument
3409 skb_copy_from_linear_data_offset(skb, len, skb_put(skb1, pos - len), in skb_split_inside_header()
3413 skb_shinfo(skb1)->frags[i] = skb_shinfo(skb)->frags[i]; in skb_split_inside_header()
3415 skb_shinfo(skb1)->nr_frags = skb_shinfo(skb)->nr_frags; in skb_split_inside_header()
3417 skb1->data_len = skb->data_len; in skb_split_inside_header()
3418 skb1->len += skb1->data_len; in skb_split_inside_header()
3425 struct sk_buff* skb1, in skb_split_no_header() argument
3432 skb1->len = skb1->data_len = skb->len - len; in skb_split_no_header()
3440 skb_shinfo(skb1)->frags[k] = skb_shinfo(skb)->frags[i]; in skb_split_no_header()
3452 skb_frag_off_add(&skb_shinfo(skb1)->frags[0], len - pos); in skb_split_no_header()
3453 skb_frag_size_sub(&skb_shinfo(skb1)->frags[0], len - pos); in skb_split_no_header()
3462 skb_shinfo(skb1)->nr_frags = k; in skb_split_no_header()
3471 void skb_split(struct sk_buff *skb, struct sk_buff *skb1, const u32 len) in skb_split() argument
3475 skb_shinfo(skb1)->flags |= skb_shinfo(skb)->flags & SKBFL_SHARED_FRAG; in skb_split()
3476 skb_zerocopy_clone(skb1, skb, 0); in skb_split()
3478 skb_split_inside_header(skb, skb1, len, pos); in skb_split()
3480 skb_split_no_header(skb, skb1, len, pos); in skb_split()
4682 struct sk_buff *skb1, **skb_p; in skb_cow_data() local
4714 while ((skb1 = *skb_p) != NULL) { in skb_cow_data()
4721 if (skb_shared(skb1)) in skb_cow_data()
4726 if (skb1->next == NULL && tailbits) { in skb_cow_data()
4727 if (skb_shinfo(skb1)->nr_frags || in skb_cow_data()
4728 skb_has_frag_list(skb1) || in skb_cow_data()
4729 skb_tailroom(skb1) < tailbits) in skb_cow_data()
4734 skb_cloned(skb1) || in skb_cow_data()
4736 skb_shinfo(skb1)->nr_frags || in skb_cow_data()
4737 skb_has_frag_list(skb1)) { in skb_cow_data()
4742 skb2 = skb_copy(skb1, GFP_ATOMIC); in skb_cow_data()
4744 skb2 = skb_copy_expand(skb1, in skb_cow_data()
4745 skb_headroom(skb1), in skb_cow_data()
4751 if (skb1->sk) in skb_cow_data()
4752 skb_set_owner_w(skb2, skb1->sk); in skb_cow_data()
4757 skb2->next = skb1->next; in skb_cow_data()
4759 kfree_skb(skb1); in skb_cow_data()
4760 skb1 = skb2; in skb_cow_data()
4763 *trailer = skb1; in skb_cow_data()
4764 skb_p = &skb1->next; in skb_cow_data()