/Linux-v5.15/net/caif/ |
D | cfpkt_skbuff.c | 111 if (skb_headlen(skb) >= len) { in cfpkt_peek_head() 131 if (unlikely(len > skb_headlen(skb))) { in cfpkt_extr_head() 300 u16 addlen = skb_headlen(add); in cfpkt_append() 316 dstlen = skb_headlen(dst); in cfpkt_append() 326 skb_put_data(dst, add->data, skb_headlen(add)); in cfpkt_append()
|
/Linux-v5.15/net/core/ |
D | skbuff.c | 821 level, skb->len, headroom, skb_headlen(skb), tailroom, in skb_dump() 845 seg_len = min_t(int, skb_headlen(skb), len); in skb_dump() 1624 unsigned int size = skb_headlen(skb) + headroom; in __pskb_copy_fclone() 1634 skb_put(n, skb_headlen(skb)); in __pskb_copy_fclone() 2053 int offset = skb_headlen(skb); in ___pskb_trim() 2119 if (len > skb_headlen(skb)) { in ___pskb_trim() 2145 int hdlen = (len > skb_headlen(skb)) ? skb_headlen(skb) : len; in pskb_trim_rcsum_slow() 2194 BUG_ON(skb_copy_bits(skb, skb_headlen(skb), in __pskb_pull_tail() 2320 int start = skb_headlen(skb); in skb_copy_bits() 2517 skb_headlen(skb), in __skb_splice_bits() [all …]
|
D | tso.c | 84 tso->size = skb_headlen(skb) - hdr_len; in tso_start()
|
D | datagram.c | 417 int start = skb_headlen(skb); in __skb_datagram_iter() 551 int start = skb_headlen(skb); in skb_copy_datagram_from_iter() 701 int copy = min_t(int, skb_headlen(skb), iov_iter_count(from)); in zerocopy_sg_from_iter()
|
/Linux-v5.15/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-v5.15/drivers/net/ethernet/google/gve/ |
D | gve_tx.c | 287 tcp_hdrlen(skb) : skb_headlen(skb); in gve_skb_fifo_bytes_required() 440 skb_headlen(skb); in gve_tx_add_skb_copy() 508 hlen = is_gso ? l4_hdr_offset + tcp_hdrlen(skb) : skb_headlen(skb); in gve_tx_add_skb_no_copy() 509 len = skb_headlen(skb); in gve_tx_add_skb_no_copy()
|
D | gve_tx_dqo.c | 498 u32 len = skb_headlen(skb); in gve_tx_add_skb_no_copy_dqo() 586 num_descs = gve_num_descs_per_buf(skb_headlen(skb)); in gve_num_buffer_descs_needed() 614 cur_seg_size = skb_headlen(skb) - header_len; in gve_can_send_tso()
|
/Linux-v5.15/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() 573 unsigned int usable_sge = priv->max_send_sge - !!skb_headlen(skb); in ipoib_send()
|
D | ipoib.h | 549 if (skb_headlen(skb)) { in ipoib_build_sge() 551 priv->tx_sge[0].length = skb_headlen(skb); in ipoib_build_sge()
|
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | sdio_txrx.c | 249 skb_headlen(e->skb)); in mt7663s_tx_run_queue() 250 len += skb_headlen(e->skb); in mt7663s_tx_run_queue()
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx4/ |
D | en_tx.c | 650 if (unlikely(*lso_header_size != skb_headlen(skb))) { in get_real_size() 653 if (*lso_header_size < skb_headlen(skb)) in get_real_size() 683 unsigned int hlen = skb_headlen(skb); in build_inline_wqe() 830 byte_count = skb_headlen(skb) - lso_header_size; in mlx4_en_build_dma_wqe() 958 tx_info->linear = lso_header_size < skb_headlen(skb) && !inline_ok; in mlx4_en_xmit()
|
/Linux-v5.15/include/linux/ |
D | virtio_net.h | 152 skb_headlen(skb)); in virtio_net_hdr_from_skb()
|
/Linux-v5.15/drivers/block/aoe/ |
D | aoenet.c | 149 sn -= skb_headlen(skb); in aoenet_rcv()
|
/Linux-v5.15/drivers/net/ethernet/stmicro/stmmac/ |
D | chain_mode.c | 20 unsigned int nopaged_len = skb_headlen(skb); in jumbo_frm()
|
D | ring_mode.c | 20 unsigned int nopaged_len = skb_headlen(skb); in jumbo_frm()
|
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_trace.h | 33 __entry->headlen = skb_headlen(skb);
|
/Linux-v5.15/net/bridge/ |
D | br_netfilter_ipv6.c | 54 if ((raw + len) - skb->data > skb_headlen(skb)) in br_nf_check_hbh_len()
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tx.c | 190 hlen = eth_get_headlen(skb->dev, skb->data, skb_headlen(skb)); in mlx5e_calc_min_inline() 201 return min_t(u16, hlen, skb_headlen(skb)); in mlx5e_calc_min_inline() 381 .headlen = skb_headlen(skb) - ihs, in mlx5e_sq_xmit_prepare() 394 .headlen = skb_headlen(skb) - ihs, in mlx5e_sq_xmit_prepare()
|
D | en_selftest.c | 192 if (MLX5E_TEST_PKT_SIZE - ETH_HLEN > skb_headlen(skb)) in mlx5e_test_loopback_validate()
|
/Linux-v5.15/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() 1838 headlen = skb_headlen(skb) - hdrlen; in __wil_tx_vring_tso() 1874 skb_headlen(skb) - headlen, in __wil_tx_vring_tso() 2044 uint len = skb_headlen(skb); in __wil_tx_ring() 2060 pa = dma_map_single(dev, skb->data, skb_headlen(skb), DMA_TO_DEVICE); in __wil_tx_ring() 2063 skb_headlen(skb), skb->data, &pa); in __wil_tx_ring() 2065 skb->data, skb_headlen(skb), false); in __wil_tx_ring()
|
/Linux-v5.15/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() 500 status |= skb_headlen(skb) & GRETH_BD_LEN; in greth_start_xmit_gbit() 507 dma_addr = dma_map_single(greth->dev, skb->data, skb_headlen(skb), DMA_TO_DEVICE); in greth_start_xmit_gbit() 710 skb_headlen(skb), in greth_clean_tx_gbit()
|
/Linux-v5.15/drivers/net/ethernet/faraday/ |
D | ftmac100.c | 602 dma_unmap_single(priv->dev, map, skb_headlen(skb), DMA_TO_DEVICE); in ftmac100_tx_complete_packet() 711 dma_unmap_single(priv->dev, map, skb_headlen(skb), DMA_TO_DEVICE); in ftmac100_free_buffers() 1017 map = dma_map_single(priv->dev, skb->data, skb_headlen(skb), DMA_TO_DEVICE); in ftmac100_hard_start_xmit()
|
/Linux-v5.15/drivers/infiniband/hw/hfi1/ |
D | vnic_sdma.c | 58 skb_headlen(tx->skb)); in build_vnic_ulp_payload()
|
/Linux-v5.15/net/bpf/ |
D | test_run.c | 637 if (sizeof(struct iphdr) <= skb_headlen(skb)) { in bpf_prog_test_run_skb() 645 if (sizeof(struct ipv6hdr) <= skb_headlen(skb)) { in bpf_prog_test_run_skb() 681 size = skb_headlen(skb); in bpf_prog_test_run_skb()
|
/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_txrx.c | 55 *len = skb_headlen(skb); in otx2_dma_map_skb_frag() 656 len = skb_headlen(skb) - hdr_len; in otx2_dma_map_tso_skb() 690 if (skb_headlen(skb) - hdr_len) in otx2_tso_frag_dma_addr()
|