/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | decap_sanity.c | 16 static unsigned int skb_headlen(const struct sk_buff *skb) in skb_headlen() function 62 (unsigned int)skb_checksum_start_offset(kskb) >= skb_headlen(kskb)) in decap_sanity()
|
/linux-6.12.1/net/caif/ |
D | cfpkt_skbuff.c | 104 if (skb_headlen(skb) >= len) { in cfpkt_peek_head() 124 if (unlikely(len > skb_headlen(skb))) { in cfpkt_extr_head() 293 u16 addlen = skb_headlen(add); in cfpkt_append() 307 dstlen = skb_headlen(dst); in cfpkt_append() 317 skb_put_data(dst, add->data, skb_headlen(add)); in cfpkt_append()
|
/linux-6.12.1/drivers/net/ethernet/sfc/ |
D | tx_tso.c | 163 skb_headlen(skb)); in efx_tso_check_protocol() 180 in_len = skb_headlen(skb) - header_len; in tso_start() 199 skb_headlen(skb), DMA_TO_DEVICE); in tso_start() 201 st->header_unmap_len = skb_headlen(skb); in tso_start()
|
/linux-6.12.1/net/core/ |
D | skbuff.c | 1330 level, skb->len, headroom, skb_headlen(skb), tailroom, in skb_dump() 1358 seg_len = min_t(int, skb_headlen(skb), len); in skb_dump() 2196 unsigned int size = skb_headlen(skb) + headroom; in __pskb_copy_fclone() 2206 skb_put(n, skb_headlen(skb)); in __pskb_copy_fclone() 2704 int offset = skb_headlen(skb); in ___pskb_trim() 2770 if (len > skb_headlen(skb)) { in ___pskb_trim() 2796 int hdlen = (len > skb_headlen(skb)) ? skb_headlen(skb) : len; in pskb_trim_rcsum_slow() 2848 BUG_ON(skb_copy_bits(skb, skb_headlen(skb), in __pskb_pull_tail() 2888 skb_headlen(list)) in __pskb_pull_tail() 2977 int start = skb_headlen(skb); in skb_copy_bits() [all …]
|
D | gro.c | 98 unsigned int headlen = skb_headlen(skb); in skb_gro_receive() 397 headlen = skb_headlen(skb); in skb_gro_reset_offset() 439 int grow = skb_gro_offset(skb) - skb_headlen(skb); in gro_try_pull_from_frag0() 648 __skb_pull(skb, skb_headlen(skb)); in napi_reuse_skb()
|
D | tso.c | 76 tso->size = skb_headlen(skb) - hdr_len; in tso_start()
|
D | datagram.c | 393 int start = skb_headlen(skb); in __skb_datagram_iter() 556 int start = skb_headlen(skb); in skb_copy_datagram_from_iter() 732 int copy = min_t(int, skb_headlen(skb), iov_iter_count(from)); in zerocopy_sg_from_iter()
|
D | gso.c | 236 if (seg_len + skb_headlen(iter) > max_len) in skb_gso_size_check()
|
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/nfdk/ |
D | dp.c | 130 n_descs = nfp_nfdk_headlen_to_segs(skb_headlen(skb)); in nfp_nfdk_tx_maybe_close_block() 305 dma_len = skb_headlen(skb); in nfp_nfdk_tx() 433 wr_idx, skb_headlen(skb), nr_frags, cnt); in nfp_nfdk_tx() 443 skb_headlen(skb), DMA_TO_DEVICE); in nfp_nfdk_tx() 512 size = skb_headlen(skb); in nfp_nfdk_tx_complete() 1371 dma_len = skb_headlen(skb); in nfp_nfdk_ctrl_tx_one() 1437 wr_idx, skb_headlen(skb), 0, cnt); in nfp_nfdk_ctrl_tx_one() 1440 skb_headlen(skb), DMA_TO_DEVICE); in nfp_nfdk_ctrl_tx_one()
|
D | rings.c | 36 size = skb_headlen(skb); in nfp_nfdk_tx_ring_reset()
|
/linux-6.12.1/net/ipv4/ |
D | tcp_sigpool.c | 329 const unsigned int head_data_len = skb_headlen(skb) > header_len ? in tcp_sigpool_hash_skb_data() 330 skb_headlen(skb) - header_len : 0; in tcp_sigpool_hash_skb_data()
|
/linux-6.12.1/drivers/infiniband/ulp/ipoib/ |
D | ipoib_ib.c | 282 if (skb_headlen(skb)) { in ipoib_dma_map_tx() 283 mapping[0] = ib_dma_map_single(ca, skb->data, skb_headlen(skb), in ipoib_dma_map_tx() 312 ib_dma_unmap_single(ca, mapping[0], skb_headlen(skb), DMA_TO_DEVICE); in ipoib_dma_map_tx() 325 if (skb_headlen(skb)) { in ipoib_dma_unmap_tx() 326 ib_dma_unmap_single(priv->ca, mapping[0], skb_headlen(skb), in ipoib_dma_unmap_tx() 597 unsigned int usable_sge = priv->max_send_sge - !!skb_headlen(skb); in ipoib_send()
|
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/nfd3/ |
D | dp.c | 302 dma_addr = dma_map_single(dp->dev, skb->data, skb_headlen(skb), in nfp_nfd3_tx() 320 txd->dma_len = cpu_to_le16(skb_headlen(skb)); in nfp_nfd3_tx() 400 skb_headlen(skb), DMA_TO_DEVICE); in nfp_nfd3_tx() 461 skb_headlen(skb), DMA_TO_DEVICE); in nfp_nfd3_tx_complete() 1248 dma_addr = dma_map_single(dp->dev, skb->data, skb_headlen(skb), in nfp_nfd3_ctrl_tx_one() 1266 txd->dma_len = cpu_to_le16(skb_headlen(skb)); in nfp_nfd3_ctrl_tx_one()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/ |
D | en_tx.c | 664 if (unlikely(*lso_header_size != skb_headlen(skb))) { in get_real_size() 667 if (*lso_header_size < skb_headlen(skb)) in get_real_size() 697 unsigned int hlen = skb_headlen(skb); in build_inline_wqe() 843 byte_count = skb_headlen(skb) - lso_header_size; in mlx4_en_build_dma_wqe() 973 tx_info->linear = lso_header_size < skb_headlen(skb) && !inline_ok; in mlx4_en_xmit()
|
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/ |
D | sdio_txrx.c | 277 memcpy(sdio->xmit_buf + len, e->skb->data, skb_headlen(e->skb)); in mt76s_tx_run_queue() 278 len += skb_headlen(e->skb); in mt76s_tx_run_queue()
|
/linux-6.12.1/drivers/net/ethernet/stmicro/stmmac/ |
D | ring_mode.c | 20 unsigned int nopaged_len = skb_headlen(skb); in jumbo_frm()
|
D | chain_mode.c | 20 unsigned int nopaged_len = skb_headlen(skb); in jumbo_frm()
|
/linux-6.12.1/drivers/block/aoe/ |
D | aoenet.c | 149 sn -= skb_headlen(skb); in aoenet_rcv()
|
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_trace.h | 33 __entry->headlen = skb_headlen(skb);
|
/linux-6.12.1/drivers/net/wireless/ath/wil6210/ |
D | txrx.c | 510 skb->data, skb_headlen(skb), false); in wil_vring_reap_rx() 560 skb->data, skb_headlen(skb), false); in wil_vring_reap_rx() 1836 headlen = skb_headlen(skb) - hdrlen; in __wil_tx_vring_tso() 1872 skb_headlen(skb) - headlen, in __wil_tx_vring_tso() 2042 uint len = skb_headlen(skb); in __wil_tx_ring() 2058 pa = dma_map_single(dev, skb->data, skb_headlen(skb), DMA_TO_DEVICE); in __wil_tx_ring() 2061 skb_headlen(skb), skb->data, &pa); in __wil_tx_ring() 2063 skb->data, skb_headlen(skb), false); in __wil_tx_ring()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tx.c | 82 hlen = eth_get_headlen(skb->dev, skb->data, skb_headlen(skb)); in mlx5e_calc_min_inline() 93 return min_t(u16, hlen, skb_headlen(skb)); in mlx5e_calc_min_inline() 281 .headlen = skb_headlen(skb) - ihs - hopbyhop, in mlx5e_sq_xmit_prepare() 295 .headlen = skb_headlen(skb) - ihs, in mlx5e_sq_xmit_prepare()
|
/linux-6.12.1/drivers/net/ethernet/aeroflex/ |
D | greth.c | 104 length = skb_headlen(skb); in greth_print_tx_packet() 194 skb_headlen(skb), in greth_clean_rings() 501 status |= skb_headlen(skb) & GRETH_BD_LEN; in greth_start_xmit_gbit() 508 dma_addr = dma_map_single(greth->dev, skb->data, skb_headlen(skb), DMA_TO_DEVICE); in greth_start_xmit_gbit() 712 skb_headlen(skb), in greth_clean_tx_gbit()
|
/linux-6.12.1/drivers/net/ethernet/google/gve/ |
D | gve_tx_dqo.c | 643 u32 len = skb_headlen(skb); in gve_tx_add_skb_no_copy_dqo() 844 num_descs = gve_num_descs_per_buf(skb_headlen(skb)); in gve_num_buffer_descs_needed() 873 cur_seg_size = skb_headlen(skb) - header_len; in gve_can_send_tso() 874 prev_frag_size = skb_headlen(skb); in gve_can_send_tso()
|
/linux-6.12.1/drivers/net/wwan/t7xx/ |
D | t7xx_port_wwan.c | 109 cloned->len = skb_headlen(cur); in t7xx_port_ctrl_tx()
|
/linux-6.12.1/include/linux/ |
D | virtio_net.h | 215 skb_headlen(skb)); in virtio_net_hdr_from_skb()
|