Lines Matching refs:skb_shinfo
483 #define skb_uarg(SKB) ((struct ubuf_info *)(skb_shinfo(SKB)->destructor_arg))
1403 #define skb_shinfo(SKB) ((struct skb_shared_info *)(skb_end_pointer(SKB))) macro
1407 return &skb_shinfo(skb)->hwtstamps; in skb_hwtstamps()
1412 bool is_zcopy = skb && skb_shinfo(skb)->tx_flags & SKBTX_DEV_ZEROCOPY; in skb_zcopy()
1425 skb_shinfo(skb)->destructor_arg = uarg; in skb_zcopy_set()
1426 skb_shinfo(skb)->tx_flags |= SKBTX_ZEROCOPY_FRAG; in skb_zcopy_set()
1432 skb_shinfo(skb)->destructor_arg = (void *)((uintptr_t) val | 0x1UL); in skb_zcopy_set_nouarg()
1433 skb_shinfo(skb)->tx_flags |= SKBTX_ZEROCOPY_FRAG; in skb_zcopy_set_nouarg()
1438 return (uintptr_t) skb_shinfo(skb)->destructor_arg & 0x1UL; in skb_zcopy_is_nouarg()
1443 return (void *)((uintptr_t) skb_shinfo(skb)->destructor_arg & ~0x1UL); in skb_zcopy_get_nouarg()
1461 skb_shinfo(skb)->tx_flags &= ~SKBTX_ZEROCOPY_FRAG; in skb_zcopy_clear()
1472 skb_shinfo(skb)->tx_flags &= ~SKBTX_ZEROCOPY_FRAG; in skb_zcopy_abort()
1601 (atomic_read(&skb_shinfo(skb)->dataref) & SKB_DATAREF_MASK) != 1; in skb_cloned()
1628 dataref = atomic_read(&skb_shinfo(skb)->dataref); in skb_header_cloned()
1650 atomic_set(&skb_shinfo(skb)->dataref, 1 + (1 << SKB_DATAREF_SHIFT)); in __skb_header_release()
2077 for (i = skb_shinfo(skb)->nr_frags - 1; (int)i >= 0; i--) in __skb_pagelen()
2078 len += skb_frag_size(&skb_shinfo(skb)->frags[i]); in __skb_pagelen()
2103 skb_frag_t *frag = &skb_shinfo(skb)->frags[i]; in __skb_fill_page_desc()
2137 skb_shinfo(skb)->nr_frags = i + 1; in skb_fill_page_desc()
2961 __skb_frag_ref(&skb_shinfo(skb)->frags[f]); in skb_frag_ref()
2984 __skb_frag_unref(&skb_shinfo(skb)->frags[f]); in skb_frag_unref()
3049 __skb_frag_set_page(&skb_shinfo(skb)->frags[f], page); in skb_frag_set_page()
3238 const skb_frag_t *frag = &skb_shinfo(skb)->frags[i - 1]; in skb_can_coalesce()
3273 skb_shinfo(skb)->tx_flags & SKBTX_SHARED_FRAG; in skb_has_shared_frag()
3448 return skb_shinfo(skb)->frag_list != NULL; in skb_has_frag_list()
3453 skb_shinfo(skb)->frag_list = NULL; in skb_frag_list_init()
3457 for (iter = skb_shinfo(skb)->frag_list; iter; iter = iter->next)
3595 (skb_shinfo(skb)->nr_frags && !(features & NETIF_F_SG))); in skb_needs_linearize()
3690 return skb_shinfo(skb)->meta_len; in skb_metadata_len()
3749 skb_shinfo(skb)->meta_len = meta_len; in skb_metadata_set()
3825 if (skb_shinfo(skb)->tx_flags & SKBTX_SW_TSTAMP) in skb_tx_timestamp()
4386 return skb_shinfo(skb)->gso_size; in skb_is_gso()
4392 return skb_shinfo(skb)->gso_type & SKB_GSO_TCPV6; in skb_is_gso_v6()
4398 return skb_shinfo(skb)->gso_type & SKB_GSO_SCTP; in skb_is_gso_sctp()
4404 return skb_shinfo(skb)->gso_type & (SKB_GSO_TCPV4 | SKB_GSO_TCPV6); in skb_is_gso_tcp()
4409 skb_shinfo(skb)->gso_size = 0; in skb_gso_reset()
4410 skb_shinfo(skb)->gso_segs = 0; in skb_gso_reset()
4411 skb_shinfo(skb)->gso_type = 0; in skb_gso_reset()
4436 const struct skb_shared_info *shinfo = skb_shinfo(skb); in skb_warn_if_lro()