Searched refs:fclones (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/net/core/ |
D | skbuff.c | 530 struct sk_buff_fclones *fclones; in __alloc_skb() local 532 fclones = container_of(skb, struct sk_buff_fclones, skb1); in __alloc_skb() 535 refcount_set(&fclones->fclone_ref, 1); in __alloc_skb() 808 struct sk_buff_fclones *fclones; in kfree_skbmem() local 816 fclones = container_of(skb, struct sk_buff_fclones, skb1); in kfree_skbmem() 822 if (refcount_read(&fclones->fclone_ref) == 1) in kfree_skbmem() 827 fclones = container_of(skb, struct sk_buff_fclones, skb2); in kfree_skbmem() 830 if (!refcount_dec_and_test(&fclones->fclone_ref)) in kfree_skbmem() 833 kmem_cache_free(skbuff_fclone_cache, fclones); in kfree_skbmem() 1633 struct sk_buff_fclones *fclones = container_of(skb, in skb_clone() local [all …]
|
/Linux-v6.1/include/linux/ |
D | skbuff.h | 1298 const struct sk_buff_fclones *fclones; in skb_fclone_busy() local 1300 fclones = container_of(skb, struct sk_buff_fclones, skb1); in skb_fclone_busy() 1303 refcount_read(&fclones->fclone_ref) > 1 && in skb_fclone_busy() 1304 READ_ONCE(fclones->skb2.sk) == sk; in skb_fclone_busy()
|