Lines Matching refs:skb1

671 		fclones = container_of(skb, struct sk_buff_fclones, skb1);  in __alloc_skb()
1014 fclones = container_of(skb, struct sk_buff_fclones, skb1); in kfree_skbmem()
1896 skb1); in skb_clone()
3858 struct sk_buff* skb1, in skb_split_inside_header() argument
3863 skb_copy_from_linear_data_offset(skb, len, skb_put(skb1, pos - len), in skb_split_inside_header()
3867 skb_shinfo(skb1)->frags[i] = skb_shinfo(skb)->frags[i]; in skb_split_inside_header()
3869 skb_shinfo(skb1)->nr_frags = skb_shinfo(skb)->nr_frags; in skb_split_inside_header()
3871 skb1->data_len = skb->data_len; in skb_split_inside_header()
3872 skb1->len += skb1->data_len; in skb_split_inside_header()
3879 struct sk_buff* skb1, in skb_split_no_header() argument
3886 skb1->len = skb1->data_len = skb->len - len; in skb_split_no_header()
3894 skb_shinfo(skb1)->frags[k] = skb_shinfo(skb)->frags[i]; in skb_split_no_header()
3906 skb_frag_off_add(&skb_shinfo(skb1)->frags[0], len - pos); in skb_split_no_header()
3907 skb_frag_size_sub(&skb_shinfo(skb1)->frags[0], len - pos); in skb_split_no_header()
3916 skb_shinfo(skb1)->nr_frags = k; in skb_split_no_header()
3925 void skb_split(struct sk_buff *skb, struct sk_buff *skb1, const u32 len) in skb_split() argument
3932 skb_shinfo(skb1)->flags |= skb_shinfo(skb)->flags & zc_flags; in skb_split()
3933 skb_zerocopy_clone(skb1, skb, 0); in skb_split()
3935 skb_split_inside_header(skb, skb1, len, pos); in skb_split()
3937 skb_split_no_header(skb, skb1, len, pos); in skb_split()
5013 struct sk_buff *skb1, **skb_p; in skb_cow_data() local
5045 while ((skb1 = *skb_p) != NULL) { in skb_cow_data()
5052 if (skb_shared(skb1)) in skb_cow_data()
5057 if (skb1->next == NULL && tailbits) { in skb_cow_data()
5058 if (skb_shinfo(skb1)->nr_frags || in skb_cow_data()
5059 skb_has_frag_list(skb1) || in skb_cow_data()
5060 skb_tailroom(skb1) < tailbits) in skb_cow_data()
5065 skb_cloned(skb1) || in skb_cow_data()
5067 skb_shinfo(skb1)->nr_frags || in skb_cow_data()
5068 skb_has_frag_list(skb1)) { in skb_cow_data()
5073 skb2 = skb_copy(skb1, GFP_ATOMIC); in skb_cow_data()
5075 skb2 = skb_copy_expand(skb1, in skb_cow_data()
5076 skb_headroom(skb1), in skb_cow_data()
5082 if (skb1->sk) in skb_cow_data()
5083 skb_set_owner_w(skb2, skb1->sk); in skb_cow_data()
5088 skb2->next = skb1->next; in skb_cow_data()
5090 kfree_skb(skb1); in skb_cow_data()
5091 skb1 = skb2; in skb_cow_data()
5094 *trailer = skb1; in skb_cow_data()
5095 skb_p = &skb1->next; in skb_cow_data()