Home
last modified time | relevance | path

Searched refs:fclones (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/net/core/
Dskbuff.c669 struct sk_buff_fclones *fclones; in __alloc_skb() local
671 fclones = container_of(skb, struct sk_buff_fclones, skb1); in __alloc_skb()
674 refcount_set(&fclones->fclone_ref, 1); in __alloc_skb()
1006 struct sk_buff_fclones *fclones; in kfree_skbmem() local
1014 fclones = container_of(skb, struct sk_buff_fclones, skb1); in kfree_skbmem()
1020 if (refcount_read(&fclones->fclone_ref) == 1) in kfree_skbmem()
1025 fclones = container_of(skb, struct sk_buff_fclones, skb2); in kfree_skbmem()
1028 if (!refcount_dec_and_test(&fclones->fclone_ref)) in kfree_skbmem()
1031 kmem_cache_free(skbuff_fclone_cache, fclones); in kfree_skbmem()
1894 struct sk_buff_fclones *fclones = container_of(skb, in skb_clone() local
[all …]
/linux-6.6.21/include/linux/
Dskbuff.h1317 const struct sk_buff_fclones *fclones; in skb_fclone_busy() local
1319 fclones = container_of(skb, struct sk_buff_fclones, skb1); in skb_fclone_busy()
1322 refcount_read(&fclones->fclone_ref) > 1 && in skb_fclone_busy()
1323 READ_ONCE(fclones->skb2.sk) == sk; in skb_fclone_busy()