| /Linux-v4.19/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() 328 memcpy(skb_tail_pointer(dst), add->data, skb_headlen(add)); in cfpkt_append()
|
| /Linux-v4.19/net/core/ |
| D | skbuff.c | 1383 unsigned int size = skb_headlen(skb) + headroom; in __pskb_copy_fclone() 1393 skb_put(n, skb_headlen(skb)); in __pskb_copy_fclone() 1761 int offset = skb_headlen(skb); in ___pskb_trim() 1827 if (len > skb_headlen(skb)) { in ___pskb_trim() 1896 BUG_ON(skb_copy_bits(skb, skb_headlen(skb), in __pskb_pull_tail() 2022 int start = skb_headlen(skb); in skb_copy_bits() 2219 skb_headlen(skb), in __skb_splice_bits() 2293 while (offset < skb_headlen(skb) && len) { in skb_send_sock_locked() 2297 slen = min_t(int, len, skb_headlen(skb) - offset); in skb_send_sock_locked() 2315 offset -= skb_headlen(skb); in skb_send_sock_locked() [all …]
|
| D | datagram.c | 421 int start = skb_headlen(skb); in skb_copy_datagram_iter() 513 int start = skb_headlen(skb); in skb_copy_datagram_from_iter() 638 int copy = min_t(int, skb_headlen(skb), iov_iter_count(from)); in zerocopy_sg_from_iter() 652 int start = skb_headlen(skb); in skb_copy_and_csum_datagram()
|
| D | tso.c | 75 tso->size = skb_headlen(skb) - hdr_len; in tso_start()
|
| /Linux-v4.19/drivers/net/ethernet/sfc/ |
| D | tx_tso.c | 166 skb_headlen(skb)); in efx_tso_check_protocol() 183 in_len = skb_headlen(skb) - header_len; in tso_start() 202 skb_headlen(skb), DMA_TO_DEVICE); in tso_start() 204 st->header_unmap_len = skb_headlen(skb); in tso_start()
|
| /Linux-v4.19/drivers/infiniband/hw/nes/ |
| D | nes_nic.c | 406 skb->data, min(((unsigned int)NES_FIRST_FRAG_SIZE), skb_headlen(skb))); in nes_nic_send() 408 skb_headlen(skb))); in nes_nic_send() 410 if (skb_headlen(skb) > NES_FIRST_FRAG_SIZE) { in nes_nic_send() 413 netdev->name, skb_shinfo(skb)->nr_frags + 2, skb_headlen(skb)); in nes_nic_send() 420 skb_headlen(skb) - NES_FIRST_FRAG_SIZE, PCI_DMA_TODEVICE); in nes_nic_send() 422 cpu_to_le16(skb_headlen(skb) - NES_FIRST_FRAG_SIZE); in nes_nic_send() 429 if (skb_headlen(skb) == skb->len) { in nes_nic_send() 430 if (skb_headlen(skb) <= NES_FIRST_FRAG_SIZE) { in nes_nic_send() 520 if (skb_headlen(skb) > NES_FIRST_FRAG_SIZE) { in nes_netdev_start_xmit() 593 skb->len, skb_headlen(skb), in nes_netdev_start_xmit() [all …]
|
| /Linux-v4.19/include/linux/ |
| D | virtio_net.h | 89 skb_headlen(skb)); in virtio_net_hdr_from_skb()
|
| D | skbuff.h | 1899 static inline unsigned int skb_headlen(const struct sk_buff *skb) in skb_headlen() function 1915 return skb_headlen(skb) + __skb_pagelen(skb); in skb_pagelen() 2101 if (len > skb_headlen(skb) && in __pskb_pull() 2102 !__pskb_pull_tail(skb, len - skb_headlen(skb))) in __pskb_pull() 2115 if (likely(len <= skb_headlen(skb))) in pskb_may_pull() 2119 return __pskb_pull_tail(skb, len - skb_headlen(skb)) != NULL; in pskb_may_pull() 3354 skb_headlen(skb), buffer); in skb_header_pointer()
|
| /Linux-v4.19/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() 311 ib_dma_unmap_single(ca, mapping[0], skb_headlen(skb), DMA_TO_DEVICE); in ipoib_dma_map_tx() 324 if (skb_headlen(skb)) { in ipoib_dma_unmap_tx() 325 ib_dma_unmap_single(priv->ca, mapping[0], skb_headlen(skb), in ipoib_dma_unmap_tx() 570 unsigned int usable_sge = priv->max_send_sge - !!skb_headlen(skb); in ipoib_send()
|
| D | ipoib.h | 543 if (skb_headlen(skb)) { in ipoib_build_sge() 545 priv->tx_sge[0].length = skb_headlen(skb); in ipoib_build_sge()
|
| /Linux-v4.19/net/netfilter/ |
| D | core.c | 546 if (writable_len <= skb_headlen(skb)) in skb_make_writable() 551 if (writable_len <= skb_headlen(skb)) in skb_make_writable() 554 writable_len -= skb_headlen(skb); in skb_make_writable()
|
| /Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/ |
| D | en_tx.c | 615 if (unlikely(*lso_header_size != skb_headlen(skb))) { in get_real_size() 618 if (*lso_header_size < skb_headlen(skb)) in get_real_size() 648 unsigned int hlen = skb_headlen(skb); in build_inline_wqe() 798 byte_count = skb_headlen(skb) - lso_header_size; in mlx4_en_build_dma_wqe() 933 tx_info->linear = lso_header_size < skb_headlen(skb) && !inline_ok; in mlx4_en_xmit()
|
| /Linux-v4.19/drivers/block/aoe/ |
| D | aoenet.c | 149 sn -= skb_headlen(skb); in aoenet_rcv()
|
| /Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/ |
| D | ring_mode.c | 30 unsigned int nopaged_len = skb_headlen(skb); in jumbo_frm()
|
| D | chain_mode.c | 30 unsigned int nopaged_len = skb_headlen(skb); in jumbo_frm()
|
| /Linux-v4.19/drivers/net/wireless/ath/wil6210/ |
| D | txrx.c | 510 skb->data, skb_headlen(skb), false); in wil_vring_reap_rx() 552 skb->data, skb_headlen(skb), false); in wil_vring_reap_rx() 1543 headlen = skb_headlen(skb) - hdrlen; in __wil_tx_vring_tso() 1579 skb_headlen(skb) - headlen, in __wil_tx_vring_tso() 1746 uint len = skb_headlen(skb); in __wil_tx_ring() 1762 pa = dma_map_single(dev, skb->data, skb_headlen(skb), DMA_TO_DEVICE); in __wil_tx_ring() 1765 skb_headlen(skb), skb->data, &pa); in __wil_tx_ring() 1767 skb->data, skb_headlen(skb), false); in __wil_tx_ring()
|
| /Linux-v4.19/net/bridge/ |
| D | br_netfilter_ipv6.c | 58 if ((raw + len) - skb->data > skb_headlen(skb)) in br_nf_check_hbh_len()
|
| /Linux-v4.19/drivers/net/ethernet/huawei/hinic/ |
| D | hinic_tx.c | 121 dma_addr = dma_map_single(&pdev->dev, skb->data, skb_headlen(skb), in tx_map_skb() 128 hinic_set_sge(&sges[0], dma_addr, skb_headlen(skb)); in tx_map_skb()
|
| /Linux-v4.19/drivers/net/ethernet/aeroflex/ |
| D | greth.c | 108 length = skb_headlen(skb); in greth_print_tx_packet() 198 skb_headlen(skb), in greth_clean_rings() 504 status |= skb_headlen(skb) & GRETH_BD_LEN; in greth_start_xmit_gbit() 511 dma_addr = dma_map_single(greth->dev, skb->data, skb_headlen(skb), DMA_TO_DEVICE); in greth_start_xmit_gbit() 715 skb_headlen(skb), in greth_clean_tx_gbit()
|
| /Linux-v4.19/net/bpf/ |
| D | test_run.c | 163 size = skb_headlen(skb); in bpf_prog_test_run_skb()
|
| /Linux-v4.19/drivers/net/ethernet/faraday/ |
| D | ftmac100.c | 616 dma_unmap_single(priv->dev, map, skb_headlen(skb), DMA_TO_DEVICE); in ftmac100_tx_complete_packet() 725 dma_unmap_single(priv->dev, map, skb_headlen(skb), DMA_TO_DEVICE); in ftmac100_free_buffers() 1033 map = dma_map_single(priv->dev, skb->data, skb_headlen(skb), DMA_TO_DEVICE); in ftmac100_hard_start_xmit()
|
| /Linux-v4.19/drivers/net/ |
| D | xen-netfront.c | 531 skb_headlen(skb)); in xennet_count_skb_slots() 626 len = skb_headlen(skb); in xennet_start_xmit() 908 BUG_ON(pull_to <= skb_headlen(skb)); in xennet_fill_frags() 909 __pskb_pull_tail(skb, pull_to - skb_headlen(skb)); in xennet_fill_frags() 962 if (pull_to > skb_headlen(skb)) in handle_incoming_queue() 963 __pskb_pull_tail(skb, pull_to - skb_headlen(skb)); in handle_incoming_queue()
|
| /Linux-v4.19/drivers/infiniband/hw/hfi1/ |
| D | vnic_sdma.c | 104 skb_headlen(tx->skb)); in build_vnic_ulp_payload()
|
| /Linux-v4.19/drivers/net/ethernet/qlogic/qede/ |
| D | qede_fp.c | 306 if (skb_headlen(skb) > hlen) in qede_pkt_req_lin() 1491 skb_headlen(skb), DMA_TO_DEVICE); in qede_start_xmit() 1499 BD_SET_UNMAP_ADDR_LEN(first_bd, mapping, skb_headlen(skb)); in qede_start_xmit() 1584 if (unlikely(skb_headlen(skb) > hlen)) { in qede_start_xmit()
|
| /Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en_selftest.c | 208 if (MLX5E_TEST_PKT_SIZE - ETH_HLEN > skb_headlen(skb)) in mlx5e_test_loopback_validate()
|