Lines Matching refs:fclones
243 struct sk_buff_fclones *fclones; in __alloc_skb() local
245 fclones = container_of(skb, struct sk_buff_fclones, skb1); in __alloc_skb()
248 refcount_set(&fclones->fclone_ref, 1); in __alloc_skb()
250 fclones->skb2.fclone = SKB_FCLONE_CLONE; in __alloc_skb()
632 struct sk_buff_fclones *fclones; in kfree_skbmem() local
640 fclones = container_of(skb, struct sk_buff_fclones, skb1); in kfree_skbmem()
646 if (refcount_read(&fclones->fclone_ref) == 1) in kfree_skbmem()
651 fclones = container_of(skb, struct sk_buff_fclones, skb2); in kfree_skbmem()
654 if (!refcount_dec_and_test(&fclones->fclone_ref)) in kfree_skbmem()
657 kmem_cache_free(skbuff_fclone_cache, fclones); in kfree_skbmem()
1441 struct sk_buff_fclones *fclones = container_of(skb, in skb_clone() local
1450 refcount_read(&fclones->fclone_ref) == 1) { in skb_clone()
1451 n = &fclones->skb2; in skb_clone()
1452 refcount_set(&fclones->fclone_ref, 2); in skb_clone()