• Home
  • Raw
  • Download

Lines Matching refs:skb_shinfo

488 #define skb_uarg(SKB)	((struct ubuf_info *)(skb_shinfo(SKB)->destructor_arg))
1464 #define skb_shinfo(SKB) ((struct skb_shared_info *)(skb_end_pointer(SKB))) macro
1468 return &skb_shinfo(skb)->hwtstamps; in skb_hwtstamps()
1473 bool is_zcopy = skb && skb_shinfo(skb)->tx_flags & SKBTX_DEV_ZEROCOPY; in skb_zcopy()
1486 skb_shinfo(skb)->destructor_arg = uarg; in skb_zcopy_set()
1487 skb_shinfo(skb)->tx_flags |= SKBTX_ZEROCOPY_FRAG; in skb_zcopy_set()
1493 skb_shinfo(skb)->destructor_arg = (void *)((uintptr_t) val | 0x1UL); in skb_zcopy_set_nouarg()
1494 skb_shinfo(skb)->tx_flags |= SKBTX_ZEROCOPY_FRAG; in skb_zcopy_set_nouarg()
1499 return (uintptr_t) skb_shinfo(skb)->destructor_arg & 0x1UL; in skb_zcopy_is_nouarg()
1504 return (void *)((uintptr_t) skb_shinfo(skb)->destructor_arg & ~0x1UL); in skb_zcopy_get_nouarg()
1522 skb_shinfo(skb)->tx_flags &= ~SKBTX_ZEROCOPY_FRAG; in skb_zcopy_clear()
1533 skb_shinfo(skb)->tx_flags &= ~SKBTX_ZEROCOPY_FRAG; in skb_zcopy_abort()
1667 (atomic_read(&skb_shinfo(skb)->dataref) & SKB_DATAREF_MASK) != 1; in skb_cloned()
1710 dataref = atomic_read(&skb_shinfo(skb)->dataref); in skb_header_cloned()
1732 atomic_set(&skb_shinfo(skb)->dataref, 1 + (1 << SKB_DATAREF_SHIFT)); in __skb_header_release()
2173 for (i = skb_shinfo(skb)->nr_frags - 1; (int)i >= 0; i--) in __skb_pagelen()
2174 len += skb_frag_size(&skb_shinfo(skb)->frags[i]); in __skb_pagelen()
2199 skb_frag_t *frag = &skb_shinfo(skb)->frags[i]; in __skb_fill_page_desc()
2233 skb_shinfo(skb)->nr_frags = i + 1; in skb_fill_page_desc()
3070 __skb_frag_ref(&skb_shinfo(skb)->frags[f]); in skb_frag_ref()
3093 __skb_frag_unref(&skb_shinfo(skb)->frags[f]); in skb_frag_unref()
3158 __skb_frag_set_page(&skb_shinfo(skb)->frags[f], page); in skb_frag_set_page()
3348 const skb_frag_t *frag = &skb_shinfo(skb)->frags[i - 1]; in skb_can_coalesce()
3383 skb_shinfo(skb)->tx_flags & SKBTX_SHARED_FRAG; in skb_has_shared_frag()
3558 return skb_shinfo(skb)->frag_list != NULL; in skb_has_frag_list()
3563 skb_shinfo(skb)->frag_list = NULL; in skb_frag_list_init()
3567 for (iter = skb_shinfo(skb)->frag_list; iter; iter = iter->next)
3708 (skb_shinfo(skb)->nr_frags && !(features & NETIF_F_SG))); in skb_needs_linearize()
3806 return skb_shinfo(skb)->meta_len; in skb_metadata_len()
3865 skb_shinfo(skb)->meta_len = meta_len; in skb_metadata_set()
3941 if (skb_shinfo(skb)->tx_flags & SKBTX_SW_TSTAMP) in skb_tx_timestamp()
4516 return skb_shinfo(skb)->gso_size; in skb_is_gso()
4522 return skb_shinfo(skb)->gso_type & SKB_GSO_TCPV6; in skb_is_gso_v6()
4528 return skb_shinfo(skb)->gso_type & SKB_GSO_SCTP; in skb_is_gso_sctp()
4534 return skb_shinfo(skb)->gso_type & (SKB_GSO_TCPV4 | SKB_GSO_TCPV6); in skb_is_gso_tcp()
4539 skb_shinfo(skb)->gso_size = 0; in skb_gso_reset()
4540 skb_shinfo(skb)->gso_segs = 0; in skb_gso_reset()
4541 skb_shinfo(skb)->gso_type = 0; in skb_gso_reset()
4566 const struct skb_shared_info *shinfo = skb_shinfo(skb); in skb_warn_if_lro()