hlen 433 block/sed-opal.c u32 hlen = be32_to_cpu(hdr->length); hlen 435 block/sed-opal.c print_buffer(dev->resp, hlen); hlen 438 block/sed-opal.c if (hlen > IO_BUFFER_LENGTH - sizeof(*hdr)) { hlen 440 block/sed-opal.c sizeof(*hdr), hlen, IO_BUFFER_LENGTH); hlen 444 block/sed-opal.c epos += hlen; /* end of buffer */ hlen 72 drivers/bluetooth/bpa10x.c .hlen = HCI_VENDOR_HDR_SIZE, \ hlen 174 drivers/bluetooth/btmtksdio.c u32 hlen, status = BTMTK_WMT_INVALID; hlen 180 drivers/bluetooth/btmtksdio.c hlen = sizeof(*hdr) + wmt_params->dlen; hlen 181 drivers/bluetooth/btmtksdio.c if (hlen > 255) hlen 193 drivers/bluetooth/btmtksdio.c err = __hci_cmd_send(hdev, 0xfc6f, hlen, &wc); hlen 438 drivers/bluetooth/btmtksdio.c if (skb->len < (&pkts[i])->hlen) { hlen 455 drivers/bluetooth/btmtksdio.c pad_size = skb->len - (&pkts[i])->hlen - dlen; hlen 154 drivers/bluetooth/btmtkuart.c u32 hlen, status = BTMTK_WMT_INVALID; hlen 160 drivers/bluetooth/btmtkuart.c hlen = sizeof(*hdr) + wmt_params->dlen; hlen 161 drivers/bluetooth/btmtkuart.c if (hlen > 255) hlen 173 drivers/bluetooth/btmtkuart.c err = __hci_cmd_send(hdev, 0xfc6f, hlen, &wc); hlen 2696 drivers/bluetooth/btusb.c u32 hlen, status = BTMTK_WMT_INVALID; hlen 2708 drivers/bluetooth/btusb.c hlen = sizeof(*hdr) + wmt_params->dlen; hlen 2709 drivers/bluetooth/btusb.c if (hlen > 255) hlen 2721 drivers/bluetooth/btusb.c err = __hci_cmd_send(hdev, 0xfc6f, hlen, &wc); hlen 13 drivers/bluetooth/h4_recv.h u8 hlen; /* Header length */ hlen 22 drivers/bluetooth/h4_recv.h .hlen = HCI_ACL_HDR_SIZE, \ hlen 29 drivers/bluetooth/h4_recv.h .hlen = HCI_SCO_HDR_SIZE, \ hlen 36 drivers/bluetooth/h4_recv.h .hlen = HCI_EVENT_HDR_SIZE, \ hlen 66 drivers/bluetooth/h4_recv.h hci_skb_expect(skb) = (&pkts[i])->hlen; hlen 98 drivers/bluetooth/h4_recv.h if (skb->len == (&pkts[i])->hlen) { hlen 592 drivers/bluetooth/hci_bcm.c .hlen = BCM_LM_DIAG_SIZE, \ hlen 599 drivers/bluetooth/hci_bcm.c .hlen = BCM_NULL_SIZE, \ hlen 606 drivers/bluetooth/hci_bcm.c .hlen = BCM_TYPE49_SIZE, \ hlen 613 drivers/bluetooth/hci_bcm.c .hlen = BCM_TYPE52_SIZE, \ hlen 188 drivers/bluetooth/hci_h4.c hci_skb_expect(skb) = (&pkts[i])->hlen; hlen 220 drivers/bluetooth/hci_h4.c if (skb->len == (&pkts[i])->hlen) { hlen 967 drivers/bluetooth/hci_intel.c .hlen = HCI_LPM_HDR_SIZE, \ hlen 388 drivers/bluetooth/hci_ll.c .hlen = 0, \ hlen 395 drivers/bluetooth/hci_ll.c .hlen = 0, \ hlen 402 drivers/bluetooth/hci_ll.c .hlen = 0, \ hlen 409 drivers/bluetooth/hci_ll.c .hlen = 0, \ hlen 230 drivers/bluetooth/hci_mrvl.c .hlen = HCI_MRVL_PKT_SIZE, \ hlen 237 drivers/bluetooth/hci_mrvl.c .hlen = HCI_MRVL_PKT_SIZE, \ hlen 60 drivers/bluetooth/hci_nokia.c .hlen = HCI_NOKIA_ALIVE_HDR_SIZE, \ hlen 67 drivers/bluetooth/hci_nokia.c .hlen = HCI_NOKIA_NEG_HDR_SIZE, \ hlen 74 drivers/bluetooth/hci_nokia.c .hlen = HCI_NOKIA_RADIO_HDR_SIZE, \ hlen 908 drivers/bluetooth/hci_qca.c .hlen = 0, \ hlen 915 drivers/bluetooth/hci_qca.c .hlen = 0, \ hlen 922 drivers/bluetooth/hci_qca.c .hlen = 0, \ hlen 118 drivers/bluetooth/hci_uart.h u8 hlen; /* Header length */ hlen 127 drivers/bluetooth/hci_uart.h .hlen = HCI_ACL_HDR_SIZE, \ hlen 134 drivers/bluetooth/hci_uart.h .hlen = HCI_SCO_HDR_SIZE, \ hlen 141 drivers/bluetooth/hci_uart.h .hlen = HCI_EVENT_HDR_SIZE, \ hlen 930 drivers/crypto/chelsio/chtls/chtls_cm.c u32 opt2, hlen; hlen 967 drivers/crypto/chelsio/chtls/chtls_cm.c hlen = ntohl(req->hdr_len); hlen 970 drivers/crypto/chelsio/chtls/chtls_cm.c T6_ETH_HDR_LEN_G(hlen) + T6_IP_HDR_LEN_G(hlen)); hlen 53 drivers/crypto/chelsio/chtls/chtls_io.c int hlen = TLS_WR_CPL_LEN + data_sgl_len(skb); hlen 55 drivers/crypto/chelsio/chtls/chtls_io.c if ((hlen + KEY_ON_MEM_SZ + ivs_size) < hlen 16 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/power_budget.h u8 hlen; hlen 8 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/vpstate.h u8 hlen; hlen 93 drivers/gpu/drm/nouveau/nvkm/subdev/bios/power_budget.c budget->hlen = hdr; hlen 113 drivers/gpu/drm/nouveau/nvkm/subdev/bios/power_budget.c entry_offset = budget->offset + budget->hlen + idx * budget->elen; hlen 54 drivers/gpu/drm/nouveau/nvkm/subdev/bios/vpstate.c h->hlen = nvbios_rd08(b, h->offset + 0x1); hlen 61 drivers/gpu/drm/nouveau/nvkm/subdev/bios/vpstate.c if (h->hlen > 0x10) hlen 65 drivers/gpu/drm/nouveau/nvkm/subdev/bios/vpstate.c if (h->hlen > 0x11) hlen 84 drivers/gpu/drm/nouveau/nvkm/subdev/bios/vpstate.c offset = h->offset + h->hlen + idx * (h->elen + (h->slen * h->scount)); hlen 2459 drivers/infiniband/hw/cxgb4/cm.c u32 hlen = ntohl(req->hdr_len); hlen 2462 drivers/infiniband/hw/cxgb4/cm.c tcph = (const void *)(req + 1) + ETH_HDR_LEN_G(hlen) + hlen 2463 drivers/infiniband/hw/cxgb4/cm.c IP_HDR_LEN_G(hlen); hlen 2466 drivers/infiniband/hw/cxgb4/cm.c T6_ETH_HDR_LEN_G(hlen) + T6_IP_HDR_LEN_G(hlen); hlen 1415 drivers/infiniband/hw/hfi1/driver.c packet->hlen = (u8 *)packet->rhf_addr - (u8 *)packet->hdr; hlen 1523 drivers/infiniband/hw/hfi1/driver.c packet->hlen = hdr_len_by_opcode[packet->opcode] + hlen 1535 drivers/infiniband/hw/hfi1/driver.c packet->hlen = hdr_len_by_opcode[packet->opcode] + hlen 1550 drivers/infiniband/hw/hfi1/driver.c packet->hlen = OPA_16B_L4_FM_HLEN; hlen 1557 drivers/infiniband/hw/hfi1/driver.c packet->payload = packet->ebuf + packet->hlen - LRH_16B_BYTES; hlen 383 drivers/infiniband/hw/hfi1/hfi.h u8 hlen; hlen 2361 drivers/infiniband/hw/hfi1/rc.c u16 hdrsize = packet->hlen; hlen 2815 drivers/infiniband/hw/hfi1/rc.c u32 hdrsize = packet->hlen; hlen 1899 drivers/infiniband/hw/hfi1/tid_rdma.c pktlen = packet->tlen - (packet->hlen + 4); hlen 2486 drivers/infiniband/hw/hfi1/tid_rdma.c u16 hdrsize = packet->hlen; hlen 4113 drivers/infiniband/hw/hfi1/tid_rdma.c pktlen = packet->tlen - (packet->hlen + 4); hlen 4301 drivers/infiniband/hw/hfi1/tid_rdma.c u16 hdrsize = packet->hlen; hlen 117 drivers/infiniband/hw/hfi1/trace_misc.h __field(u32, hlen) hlen 125 drivers/infiniband/hw/hfi1/trace_misc.h __entry->hlen = packet->hlen; hlen 135 drivers/infiniband/hw/hfi1/trace_misc.h __entry->hlen, hlen 72 drivers/infiniband/hw/hfi1/trace_rx.h __field(u32, hlen) hlen 81 drivers/infiniband/hw/hfi1/trace_rx.h __entry->hlen = packet->hlen; hlen 92 drivers/infiniband/hw/hfi1/trace_rx.h __entry->hlen, hlen 313 drivers/infiniband/hw/hfi1/uc.c u32 hdrsize = packet->hlen; hlen 856 drivers/infiniband/hw/hfi1/ud.c u32 hdrsize = packet->hlen; hlen 3495 drivers/infiniband/hw/mlx4/qp.c unsigned halign = ALIGN(sizeof *wqe + wr->hlen, 16); hlen 3504 drivers/infiniband/hw/mlx4/qp.c memcpy(wqe->header, wr->header, wr->hlen); hlen 3506 drivers/infiniband/hw/mlx4/qp.c *lso_hdr_sz = cpu_to_be32(wr->mss << 16 | wr->hlen); hlen 4112 drivers/infiniband/hw/mlx5/qp.c left = ud_wr->hlen; hlen 545 drivers/infiniband/ulp/ipoib/ipoib_ib.c void *head, int hlen) hlen 558 drivers/infiniband/ulp/ipoib/ipoib_ib.c priv->tx_wr.hlen = hlen; hlen 571 drivers/infiniband/ulp/ipoib/ipoib_ib.c int hlen, rc; hlen 576 drivers/infiniband/ulp/ipoib/ipoib_ib.c hlen = skb_transport_offset(skb) + tcp_hdrlen(skb); hlen 578 drivers/infiniband/ulp/ipoib/ipoib_ib.c if (unlikely(!skb_pull(skb, hlen))) { hlen 595 drivers/infiniband/ulp/ipoib/ipoib_ib.c hlen = 0; hlen 654 drivers/infiniband/ulp/ipoib/ipoib_ib.c address, dqpn, tx_req, phead, hlen); hlen 37 drivers/macintosh/windfarm_pid.c int i, hlen = st->param.history_len; hlen 44 drivers/macintosh/windfarm_pid.c for (i = 0; i < hlen; i++) { hlen 51 drivers/macintosh/windfarm_pid.c st->index = (st->index + 1) % hlen; hlen 57 drivers/macintosh/windfarm_pid.c for (i = 0, integ = 0; i < hlen; i++) hlen 58 drivers/macintosh/windfarm_pid.c integ += st->errors[(st->index + hlen - i) % hlen]; hlen 63 drivers/macintosh/windfarm_pid.c st->errors[(st->index + hlen - 1) % hlen]; hlen 92 drivers/macintosh/windfarm_pid.c int i, hlen = st->param.history_len; hlen 99 drivers/macintosh/windfarm_pid.c for (i = 0; i < hlen; i++) { hlen 107 drivers/macintosh/windfarm_pid.c st->index = (st->index + 1) % hlen; hlen 115 drivers/macintosh/windfarm_pid.c for (i = 0, integ = 0; i < hlen; i++) hlen 116 drivers/macintosh/windfarm_pid.c integ += st->errors[(st->index + hlen - i) % hlen]; hlen 201 drivers/media/dvb-core/dvb_ca_en50221.c static char *findstr(char *haystack, int hlen, char *needle, int nlen) hlen 205 drivers/media/dvb-core/dvb_ca_en50221.c if (hlen < nlen) hlen 208 drivers/media/dvb-core/dvb_ca_en50221.c for (i = 0; i <= hlen - nlen; i++) { hlen 227 drivers/media/dvb-core/dvb_net.c unsigned char hlen = (p->ule_sndu_type & 0x0700) >> 8; hlen 231 drivers/media/dvb-core/dvb_net.c if (hlen == 0) { hlen 250 drivers/media/dvb-core/dvb_net.c ext_len = hlen << 1; hlen 3281 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c struct eth_tx_start_bd **tx_bd, u16 hlen, hlen 3290 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c h_tx_bd->nbytes = cpu_to_le16(hlen); hlen 3301 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c le32_to_cpu(h_tx_bd->addr_lo)) + hlen; hlen 3305 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c d_tx_bd->nbytes = cpu_to_le16(old_len - hlen); hlen 3398 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c int to_copy = 0, hlen = 0; hlen 3415 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c hlen = (int)(skb_inner_transport_header(skb) - hlen 3419 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c hlen = (int)(skb_transport_header(skb) - hlen 3423 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c first_bd_sz = skb_headlen(skb) - hlen; hlen 3467 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c skb_shinfo(skb)->nr_frags, hlen, first_bd_sz); hlen 3596 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c u8 hlen = (skb_network_header(skb) - skb->data) >> 1; hlen 3600 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c cpu_to_le16(hlen | hlen 3607 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c hlen += pbd->ip_hlen_w; hlen 3611 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c hlen += tcp_hdrlen(skb) / 2; hlen 3613 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c hlen += sizeof(struct udphdr) / 2; hlen 3615 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c pbd->total_hlen_w = cpu_to_le16(hlen); hlen 3616 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c hlen = hlen*2; hlen 3637 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c return hlen; hlen 3751 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c u8 hlen = 0; hlen 3938 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c hlen = bnx2x_set_pbd_csum_enc(bp, skb, hlen 3972 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c hlen = bnx2x_set_pbd_csum_e2(bp, skb, hlen 4018 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c hlen = bnx2x_set_pbd_csum(bp, skb, pbd_e1x, xmit_type); hlen 4042 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c skb->len, hlen, skb_headlen(skb), hlen 4047 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (unlikely(skb_headlen(skb) > hlen)) { hlen 4050 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c &tx_start_bd, hlen, hlen 290 drivers/net/ethernet/google/gve/gve_tx.c int hlen; hlen 292 drivers/net/ethernet/google/gve/gve_tx.c hlen = skb_is_gso(skb) ? skb_checksum_start_offset(skb) + hlen 296 drivers/net/ethernet/google/gve/gve_tx.c hlen); hlen 298 drivers/net/ethernet/google/gve/gve_tx.c align_hdr_pad = L1_CACHE_ALIGN(hlen) - hlen; hlen 356 drivers/net/ethernet/google/gve/gve_tx.c u16 hlen, u64 addr) hlen 374 drivers/net/ethernet/google/gve/gve_tx.c pkt_desc->pkt.seg_len = cpu_to_be16(hlen); hlen 410 drivers/net/ethernet/google/gve/gve_tx.c int pad_bytes, hlen, hdr_nfrags, payload_nfrags, l4_hdr_offset; hlen 429 drivers/net/ethernet/google/gve/gve_tx.c hlen = is_gso ? l4_hdr_offset + tcp_hdrlen(skb) : hlen 436 drivers/net/ethernet/google/gve/gve_tx.c pad_bytes = gve_tx_fifo_pad_alloc_one_frag(&tx->tx_fifo, hlen); hlen 437 drivers/net/ethernet/google/gve/gve_tx.c hdr_nfrags = gve_tx_alloc_fifo(&tx->tx_fifo, hlen + pad_bytes, hlen 440 drivers/net/ethernet/google/gve/gve_tx.c payload_nfrags = gve_tx_alloc_fifo(&tx->tx_fifo, skb->len - hlen, hlen 444 drivers/net/ethernet/google/gve/gve_tx.c 1 + payload_nfrags, hlen, hlen 449 drivers/net/ethernet/google/gve/gve_tx.c hlen); hlen 453 drivers/net/ethernet/google/gve/gve_tx.c copy_offset = hlen; hlen 667 drivers/net/ethernet/intel/fm10k/fm10k_main.c int hlen = ip_hdrlen(skb); hlen 674 drivers/net/ethernet/intel/fm10k/fm10k_main.c nvgre_hdr = (struct fm10k_nvgre_hdr *)(skb_network_header(skb) + hlen); hlen 2678 drivers/net/ethernet/intel/i40e/i40e_txrx.c unsigned int hlen; hlen 2707 drivers/net/ethernet/intel/i40e/i40e_txrx.c hlen = (hdr.network[0] & 0x0F) << 2; hlen 2718 drivers/net/ethernet/intel/i40e/i40e_txrx.c hlen = h_offset - inner_hlen; hlen 2724 drivers/net/ethernet/intel/i40e/i40e_txrx.c th = (struct tcphdr *)(hdr.network + hlen); hlen 255 drivers/net/ethernet/intel/igbvf/netdev.c u32 length, hlen, staterr; hlen 274 drivers/net/ethernet/intel/igbvf/netdev.c hlen = (le16_to_cpu(rx_desc->wb.lower.lo_dword.hs_rss.hdr_info) hlen 277 drivers/net/ethernet/intel/igbvf/netdev.c if (hlen > adapter->rx_ps_hdr_size) hlen 278 drivers/net/ethernet/intel/igbvf/netdev.c hlen = adapter->rx_ps_hdr_size; hlen 301 drivers/net/ethernet/intel/igbvf/netdev.c skb_put(skb, hlen); hlen 8366 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c unsigned int hlen; hlen 8420 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c hlen = (hdr.network[0] & 0x0F) << 2; hlen 8424 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c hlen = hdr.network - skb->data; hlen 8425 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c l4_proto = ipv6_find_hdr(skb, &hlen, IPPROTO_TCP, NULL, NULL); hlen 8426 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c hlen -= hdr.network - skb->data; hlen 8436 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c hlen + sizeof(struct tcphdr))) hlen 8439 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c th = (struct tcphdr *)(hdr.network + hlen); hlen 657 drivers/net/ethernet/mellanox/mlx4/en_tx.c unsigned int hlen = skb_headlen(skb); hlen 667 drivers/net/ethernet/mellanox/mlx4/en_tx.c skb_copy_from_linear_data(skb, inl + 1, hlen); hlen 669 drivers/net/ethernet/mellanox/mlx4/en_tx.c memcpy(((void *)(inl + 1)) + hlen, fragptr, hlen 674 drivers/net/ethernet/mellanox/mlx4/en_tx.c if (hlen <= spc) { hlen 675 drivers/net/ethernet/mellanox/mlx4/en_tx.c skb_copy_from_linear_data(skb, inl + 1, hlen); hlen 676 drivers/net/ethernet/mellanox/mlx4/en_tx.c if (hlen < spc) { hlen 677 drivers/net/ethernet/mellanox/mlx4/en_tx.c memcpy(((void *)(inl + 1)) + hlen, hlen 678 drivers/net/ethernet/mellanox/mlx4/en_tx.c fragptr, spc - hlen); hlen 679 drivers/net/ethernet/mellanox/mlx4/en_tx.c fragptr += spc - hlen; hlen 687 drivers/net/ethernet/mellanox/mlx4/en_tx.c hlen - spc); hlen 689 drivers/net/ethernet/mellanox/mlx4/en_tx.c memcpy(((void *)(inl + 1)) + hlen - spc, hlen 117 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c u16 hlen; hlen 123 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c hlen = eth_get_headlen(skb->dev, skb->data, skb_headlen(skb)); hlen 124 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c if (hlen == ETH_HLEN && !skb_vlan_tag_present(skb)) hlen 125 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c hlen += VLAN_HLEN; hlen 128 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c hlen = mlx5e_skb_l3_header_offset(skb); hlen 132 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c hlen = mlx5e_skb_l2_header_offset(skb); hlen 134 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c return min_t(u16, hlen, skb_headlen(skb)); hlen 301 drivers/net/ethernet/qlogic/qede/qede_fp.c int hlen; hlen 303 drivers/net/ethernet/qlogic/qede/qede_fp.c hlen = qede_get_skb_hlen(skb, xmit_type & XMIT_ENC); hlen 306 drivers/net/ethernet/qlogic/qede/qede_fp.c if (skb_headlen(skb) > hlen) hlen 1444 drivers/net/ethernet/qlogic/qede/qede_fp.c u16 hlen; hlen 1561 drivers/net/ethernet/qlogic/qede/qede_fp.c hlen = qede_get_skb_hlen(skb, true); hlen 1565 drivers/net/ethernet/qlogic/qede/qede_fp.c hlen = qede_get_skb_hlen(skb, false); hlen 1575 drivers/net/ethernet/qlogic/qede/qede_fp.c if (unlikely(skb_headlen(skb) > hlen)) { hlen 1583 drivers/net/ethernet/qlogic/qede/qede_fp.c hlen; hlen 1587 drivers/net/ethernet/qlogic/qede/qede_fp.c hlen); hlen 1594 drivers/net/ethernet/qlogic/qede/qede_fp.c first_bd->nbytes = cpu_to_le16(hlen); hlen 3477 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c unsigned int hlen = 0, prev_len = 0; hlen 3567 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c int ret = stmmac_get_rx_header_len(priv, p, &hlen); hlen 3569 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c if (priv->sph && !ret && (hlen > 0)) { hlen 3572 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c sec_len = sec_len - hlen; hlen 3573 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c len = hlen; hlen 1945 drivers/net/ethernet/sun/cassini.c int dlen, hlen, len, i, alloclen; hlen 1953 drivers/net/ethernet/sun/cassini.c hlen = CAS_VAL(RX_COMP2_HDR_SIZE, words[1]); hlen 1955 drivers/net/ethernet/sun/cassini.c len = hlen + dlen; hlen 1960 drivers/net/ethernet/sun/cassini.c alloclen = max(hlen, RX_COPY_MIN); hlen 1971 drivers/net/ethernet/sun/cassini.c if (hlen) { /* always copy header pages */ hlen 1977 drivers/net/ethernet/sun/cassini.c i = hlen; hlen 1988 drivers/net/ethernet/sun/cassini.c p += hlen; hlen 1993 drivers/net/ethernet/sun/cassini.c if (alloclen < (hlen + dlen)) { hlen 2001 drivers/net/ethernet/sun/cassini.c hlen = min(cp->page_size - off, dlen); hlen 2002 drivers/net/ethernet/sun/cassini.c if (hlen < 0) { hlen 2004 drivers/net/ethernet/sun/cassini.c "rx page overflow: %d\n", hlen); hlen 2008 drivers/net/ethernet/sun/cassini.c i = hlen; hlen 2026 drivers/net/ethernet/sun/cassini.c RX_USED_ADD(page, hlen); hlen 2031 drivers/net/ethernet/sun/cassini.c skb->data_len += hlen - swivel; hlen 2032 drivers/net/ethernet/sun/cassini.c skb->truesize += hlen - swivel; hlen 2033 drivers/net/ethernet/sun/cassini.c skb->len += hlen - swivel; hlen 2038 drivers/net/ethernet/sun/cassini.c skb_frag_size_set(frag, hlen - swivel); hlen 2041 drivers/net/ethernet/sun/cassini.c if ((words[0] & RX_COMP1_SPLIT_PKT) && ((dlen -= hlen) > 0)) { hlen 2042 drivers/net/ethernet/sun/cassini.c hlen = dlen; hlen 2048 drivers/net/ethernet/sun/cassini.c hlen + cp->crc_size, hlen 2051 drivers/net/ethernet/sun/cassini.c hlen + cp->crc_size, hlen 2055 drivers/net/ethernet/sun/cassini.c skb->data_len += hlen; hlen 2056 drivers/net/ethernet/sun/cassini.c skb->len += hlen; hlen 2062 drivers/net/ethernet/sun/cassini.c skb_frag_size_set(frag, hlen); hlen 2063 drivers/net/ethernet/sun/cassini.c RX_USED_ADD(page, hlen + cp->crc_size); hlen 2068 drivers/net/ethernet/sun/cassini.c crcaddr = addr + off + hlen; hlen 2079 drivers/net/ethernet/sun/cassini.c hlen = min(cp->page_size - off, dlen); hlen 2080 drivers/net/ethernet/sun/cassini.c if (hlen < 0) { hlen 2082 drivers/net/ethernet/sun/cassini.c "rx page overflow: %d\n", hlen); hlen 2086 drivers/net/ethernet/sun/cassini.c i = hlen; hlen 2102 drivers/net/ethernet/sun/cassini.c if ((words[0] & RX_COMP1_SPLIT_PKT) && ((dlen -= hlen) > 0)) { hlen 2103 drivers/net/ethernet/sun/cassini.c p += hlen; hlen 1230 drivers/net/ethernet/sun/sunvnet_common.c int hlen = skb_transport_header(skb) - skb_mac_header(skb); hlen 1239 drivers/net/ethernet/sun/sunvnet_common.c hlen += tcp_hdr(skb)->doff * 4; hlen 1241 drivers/net/ethernet/sun/sunvnet_common.c hlen += sizeof(struct udphdr); hlen 1245 drivers/net/ethernet/sun/sunvnet_common.c hlen = 128; /* XXX */ hlen 1247 drivers/net/ethernet/sun/sunvnet_common.c datalen = port->tsolen - hlen; hlen 1254 drivers/net/ethernet/sun/sunvnet_common.c gso_segs = DIV_ROUND_UP(skb->len - hlen, datalen); hlen 1294 drivers/net/ethernet/sun/sunvnet_common.c DIV_ROUND_UP(curr->len - hlen, gso_size); hlen 480 drivers/net/geneve.c unsigned int hlen, gh_len, off_gnv; hlen 486 drivers/net/geneve.c hlen = off_gnv + sizeof(*gh); hlen 488 drivers/net/geneve.c if (skb_gro_header_hard(skb, hlen)) { hlen 489 drivers/net/geneve.c gh = skb_gro_header_slow(skb, hlen, off_gnv); hlen 498 drivers/net/geneve.c hlen = off_gnv + gh_len; hlen 499 drivers/net/geneve.c if (skb_gro_header_hard(skb, hlen)) { hlen 500 drivers/net/geneve.c gh = skb_gro_header_slow(skb, hlen, off_gnv); hlen 1803 drivers/net/ieee802154/ca8210.c int hlen; hlen 1862 drivers/net/ieee802154/ca8210.c hlen = ieee802154_hdr_push(skb, &hdr); hlen 1864 drivers/net/ieee802154/ca8210.c if (hlen < 0) { hlen 1867 drivers/net/ieee802154/ca8210.c return hlen; hlen 1871 drivers/net/ieee802154/ca8210.c skb->mac_len = hlen; hlen 849 drivers/net/ppp/pppoe.c int hlen; hlen 868 drivers/net/ppp/pppoe.c hlen = LL_RESERVED_SPACE(dev); hlen 869 drivers/net/ppp/pppoe.c skb = sock_wmalloc(sk, hlen + sizeof(*ph) + total_len + hlen 877 drivers/net/ppp/pppoe.c skb_reserve(skb, hlen); hlen 235 drivers/net/slip/slhc.c int nlen, hlen; hlen 270 drivers/net/slip/slhc.c hlen = nlen + th->doff * 4; hlen 276 drivers/net/slip/slhc.c if(hlen > isize || th->syn || th->fin || th->rst || hlen 406 drivers/net/slip/slhc.c ntohs(cs->cs_ip.tot_len) == hlen) hlen 417 drivers/net/slip/slhc.c deltaS == ntohs(cs->cs_ip.tot_len) - hlen){ hlen 424 drivers/net/slip/slhc.c if(deltaS == ntohs(cs->cs_ip.tot_len) - hlen){ hlen 466 drivers/net/slip/slhc.c memcpy(cp+deltaS,icp+hlen,isize-hlen); hlen 469 drivers/net/slip/slhc.c return isize - hlen + deltaS + (cp - ocp); hlen 145 drivers/net/vmxnet3/vmxnet3_defs.h u32 hlen:10; /* header len */ hlen 147 drivers/net/vmxnet3/vmxnet3_defs.h u32 hlen:10; /* header len */ hlen 1086 drivers/net/vmxnet3/vmxnet3_drv.c gdesc->txd.hlen = ctx.eth_ip_hdr_size + ctx.l4_hdr_size; hlen 1089 drivers/net/vmxnet3/vmxnet3_drv.c num_pkts = (skb->len - gdesc->txd.hlen + ctx.mss - 1) / ctx.mss; hlen 1092 drivers/net/vmxnet3/vmxnet3_drv.c gdesc->txd.hlen = ctx.eth_ip_hdr_size; hlen 1226 drivers/net/vmxnet3/vmxnet3_drv.c u32 hlen, maplen; hlen 1243 drivers/net/vmxnet3/vmxnet3_drv.c hlen = sizeof(struct vlan_ethhdr); hlen 1245 drivers/net/vmxnet3/vmxnet3_drv.c hlen = sizeof(struct ethhdr); hlen 1251 drivers/net/vmxnet3/vmxnet3_drv.c hdr.ptr += hlen; hlen 1253 drivers/net/vmxnet3/vmxnet3_drv.c hlen = hdr.ipv4->ihl << 2; hlen 1258 drivers/net/vmxnet3/vmxnet3_drv.c hdr.ptr += hlen; hlen 1264 drivers/net/vmxnet3/vmxnet3_drv.c hlen = sizeof(struct ipv6hdr); hlen 1271 drivers/net/vmxnet3/vmxnet3_drv.c if (hlen + sizeof(struct tcphdr) > maplen) hlen 1274 drivers/net/vmxnet3/vmxnet3_drv.c return (hlen + (hdr.tcp->doff << 2)); hlen 1510 drivers/net/vmxnet3/vmxnet3_drv.c u32 hlen; hlen 1512 drivers/net/vmxnet3/vmxnet3_drv.c hlen = vmxnet3_get_hdr_len(adapter, skb, hlen 1514 drivers/net/vmxnet3/vmxnet3_drv.c if (hlen == 0) hlen 1523 drivers/net/vmxnet3/vmxnet3_drv.c hlen, segCnt); hlen 1525 drivers/net/vmxnet3/vmxnet3_drv.c skb_shinfo(skb)->gso_size = mtu - hlen; hlen 734 drivers/net/vxlan.c unsigned int hlen, off_vx; hlen 743 drivers/net/vxlan.c hlen = off_vx + sizeof(*vh); hlen 745 drivers/net/vxlan.c if (skb_gro_header_hard(skb, hlen)) { hlen 746 drivers/net/vxlan.c vh = skb_gro_header_slow(skb, hlen, off_vx); hlen 70 drivers/net/wan/dlci.c unsigned int hlen; hlen 78 drivers/net/wan/dlci.c hlen = sizeof(hdr.control) + sizeof(hdr.IP_NLPID); hlen 88 drivers/net/wan/dlci.c hlen = sizeof(hdr); hlen 92 drivers/net/wan/dlci.c dest = skb_push(skb, hlen); hlen 96 drivers/net/wan/dlci.c memcpy(dest, &hdr, hlen); hlen 98 drivers/net/wan/dlci.c return hlen; hlen 1216 drivers/net/wireless/ath/ath5k/base.c unsigned int keyix, hlen; hlen 1225 drivers/net/wireless/ath/ath5k/base.c hlen = ieee80211_hdrlen(hdr->frame_control); hlen 1228 drivers/net/wireless/ath/ath5k/base.c skb->len >= hlen + 4) { hlen 1229 drivers/net/wireless/ath/ath5k/base.c keyix = skb->data[hlen + 3] >> 6; hlen 1860 drivers/net/wireless/ath/wil6210/cfg80211.c size_t hlen = offsetof(struct ieee80211_mgmt, hlen 1865 drivers/net/wireless/ath/wil6210/cfg80211.c *ies_len = proberesp_len - hlen; hlen 318 drivers/nvme/host/tcp.c recv_digest = *(__le32 *)(pdu + hdr->hlen); hlen 320 drivers/nvme/host/tcp.c exp_digest = *(__le32 *)(pdu + hdr->hlen); hlen 337 drivers/nvme/host/tcp.c len = le32_to_cpu(hdr->plen) - hdr->hlen - hlen 537 drivers/nvme/host/tcp.c data->hdr.hlen = sizeof(*data); hlen 538 drivers/nvme/host/tcp.c data->hdr.pdo = data->hdr.hlen + hdgst; hlen 540 drivers/nvme/host/tcp.c cpu_to_le32(data->hdr.hlen + hdgst + req->pdu_len + ddgst); hlen 598 drivers/nvme/host/tcp.c ret = nvme_tcp_verify_hdgst(queue, queue->pdu, hdr->hlen); hlen 1171 drivers/nvme/host/tcp.c icreq->hdr.hlen = sizeof(*icreq); hlen 1173 drivers/nvme/host/tcp.c icreq->hdr.plen = cpu_to_le32(icreq->hdr.hlen); hlen 2029 drivers/nvme/host/tcp.c pdu->hdr.hlen = sizeof(*pdu); hlen 2030 drivers/nvme/host/tcp.c pdu->hdr.plen = cpu_to_le32(pdu->hdr.hlen + hdgst); hlen 2138 drivers/nvme/host/tcp.c pdu->hdr.hlen = sizeof(*pdu); hlen 2139 drivers/nvme/host/tcp.c pdu->hdr.pdo = req->pdu_len ? pdu->hdr.hlen + hdgst : 0; hlen 2141 drivers/nvme/host/tcp.c cpu_to_le32(pdu->hdr.hlen + hdgst + req->pdu_len + ddgst); hlen 240 drivers/nvme/target/tcp.c recv_digest = *(__le32 *)(pdu + hdr->hlen); hlen 242 drivers/nvme/target/tcp.c exp_digest = *(__le32 *)(pdu + hdr->hlen); hlen 259 drivers/nvme/target/tcp.c len = le32_to_cpu(hdr->plen) - hdr->hlen - hlen 376 drivers/nvme/target/tcp.c pdu->hdr.hlen = sizeof(*pdu); hlen 377 drivers/nvme/target/tcp.c pdu->hdr.pdo = pdu->hdr.hlen + hdgst; hlen 379 drivers/nvme/target/tcp.c cpu_to_le32(pdu->hdr.hlen + hdgst + hlen 407 drivers/nvme/target/tcp.c pdu->hdr.hlen = sizeof(*pdu); hlen 409 drivers/nvme/target/tcp.c pdu->hdr.plen = cpu_to_le32(pdu->hdr.hlen + hdgst); hlen 432 drivers/nvme/target/tcp.c pdu->hdr.hlen = sizeof(*pdu); hlen 434 drivers/nvme/target/tcp.c pdu->hdr.plen = cpu_to_le32(pdu->hdr.hlen + hdgst); hlen 793 drivers/nvme/target/tcp.c icresp->hdr.hlen = sizeof(*icresp); hlen 795 drivers/nvme/target/tcp.c icresp->hdr.plen = cpu_to_le32(icresp->hdr.hlen); hlen 1004 drivers/nvme/target/tcp.c if (unlikely(hdr->hlen != nvmet_tcp_pdu_size(hdr->type))) { hlen 1005 drivers/nvme/target/tcp.c pr_err("pdu %d bad hlen %d\n", hdr->type, hdr->hlen); hlen 1009 drivers/nvme/target/tcp.c queue->left = hdr->hlen - queue->offset + hdgst; hlen 298 drivers/rpmsg/qcom_glink_native.c const void *hdr, size_t hlen, hlen 301 drivers/rpmsg/qcom_glink_native.c glink->tx_pipe->write(glink->tx_pipe, hdr, hlen, data, dlen); hlen 305 drivers/rpmsg/qcom_glink_native.c const void *hdr, size_t hlen, hlen 308 drivers/rpmsg/qcom_glink_native.c unsigned int tlen = hlen + dlen; hlen 332 drivers/rpmsg/qcom_glink_native.c qcom_glink_tx_write(glink, hdr, hlen, data, dlen); hlen 23 drivers/rpmsg/qcom_glink_native.h const void *hdr, size_t hlen, hlen 150 drivers/rpmsg/qcom_glink_rpm.c const void *hdr, size_t hlen, hlen 154 drivers/rpmsg/qcom_glink_rpm.c size_t tlen = hlen + dlen; hlen 161 drivers/rpmsg/qcom_glink_rpm.c if (WARN(hlen % 4, "Glink Header length must be 4 bytes aligned\n")) hlen 173 drivers/rpmsg/qcom_glink_rpm.c head = glink_rpm_tx_write_one(pipe, head, hdr, hlen); hlen 158 drivers/rpmsg/qcom_glink_smem.c const void *hdr, size_t hlen, hlen 166 drivers/rpmsg/qcom_glink_smem.c head = glink_smem_tx_write_one(pipe, head, hdr, hlen); hlen 277 drivers/scsi/bnx2fc/bnx2fc_fcoe.c unsigned int hlen, tlen, elen; hlen 334 drivers/scsi/bnx2fc/bnx2fc_fcoe.c hlen = sizeof(struct fcoe_hdr); hlen 363 drivers/scsi/bnx2fc/bnx2fc_fcoe.c skb_push(skb, elen + hlen); hlen 1205 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c unsigned int hlen, dlen, plen; hlen 1222 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c hlen = ntohs(cpl->len); hlen 1229 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c if ((hlen + dlen) != plen) { hlen 1232 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c csk->tid, plen, hlen, dlen, hlen 1237 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c cxgbi_skcb_rx_pdulen(skb) = (hlen + dlen + 3) & (~0x3); hlen 1244 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c csk, skb, *bhs, hlen, dlen, hlen 1480 drivers/scsi/fcoe/fcoe.c unsigned int hlen; /* header length implies the version */ hlen 1508 drivers/scsi/fcoe/fcoe.c hlen = sizeof(struct fcoe_hdr); hlen 1546 drivers/scsi/fcoe/fcoe.c skb_push(skb, elen + hlen); hlen 154 drivers/scsi/gdth_proc.c int hlen; hlen 192 drivers/scsi/gdth_proc.c hlen = sprintf(hrec, "%d", reserve_list[0]); hlen 196 drivers/scsi/gdth_proc.c hlen += snprintf(hrec + hlen , 161 - hlen, ",%d", reserve_list[i]); hlen 1000 drivers/scsi/qedf/qedf_main.c unsigned int hlen, tlen, elen; hlen 1088 drivers/scsi/qedf/qedf_main.c hlen = sizeof(struct fcoe_hdr); hlen 1119 drivers/scsi/qedf/qedf_main.c skb_push(skb, elen + hlen); hlen 586 drivers/staging/gdm724x/gdm_lte.c u8 hlen; /* hardware address length */ hlen 1549 drivers/staging/qlge/qlge_main.c size_t hlen = ETH_HLEN; hlen 1568 drivers/staging/qlge/qlge_main.c ql_update_mac_hdr_len(qdev, ib_mac_rsp, addr, &hlen); hlen 1573 drivers/staging/qlge/qlge_main.c if (skb->len > ndev->mtu + hlen) { hlen 1579 drivers/staging/qlge/qlge_main.c skb_put_data(skb, addr, hlen); hlen 1584 drivers/staging/qlge/qlge_main.c lbq_desc->p.pg_chunk.offset + hlen, hlen 1585 drivers/staging/qlge/qlge_main.c length - hlen); hlen 1586 drivers/staging/qlge/qlge_main.c skb->len += length - hlen; hlen 1587 drivers/staging/qlge/qlge_main.c skb->data_len += length - hlen; hlen 1588 drivers/staging/qlge/qlge_main.c skb->truesize += length - hlen; hlen 1606 drivers/staging/qlge/qlge_main.c (struct iphdr *)((u8 *)addr + hlen); hlen 1767 drivers/staging/qlge/qlge_main.c size_t hlen = ETH_HLEN; hlen 1894 drivers/staging/qlge/qlge_main.c &hlen); hlen 1895 drivers/staging/qlge/qlge_main.c __pskb_pull_tail(skb, hlen); hlen 1951 drivers/staging/qlge/qlge_main.c &hlen); hlen 1952 drivers/staging/qlge/qlge_main.c __pskb_pull_tail(skb, hlen); hlen 1245 drivers/staging/vt6655/rxtx.c mic_hdr->hlen = cpu_to_be16(28); hlen 1247 drivers/staging/vt6655/rxtx.c mic_hdr->hlen = cpu_to_be16(22); hlen 38 drivers/staging/vt6655/rxtx.h __be16 hlen; hlen 758 drivers/staging/vt6656/rxtx.c mic_hdr->hlen = cpu_to_be16(28); hlen 760 drivers/staging/vt6656/rxtx.c mic_hdr->hlen = cpu_to_be16(22); hlen 33 drivers/staging/vt6656/rxtx.h __be16 hlen; hlen 1137 drivers/target/iscsi/cxgbit/cxgbit_cm.c u32 opt2, hlen; hlen 1188 drivers/target/iscsi/cxgbit/cxgbit_cm.c hlen = ntohl(req->hdr_len); hlen 1192 drivers/target/iscsi/cxgbit/cxgbit_cm.c ETH_HDR_LEN_G(hlen) + IP_HDR_LEN_G(hlen)); hlen 1195 drivers/target/iscsi/cxgbit/cxgbit_cm.c T6_ETH_HDR_LEN_G(hlen) + T6_IP_HDR_LEN_G(hlen)); hlen 48 drivers/target/iscsi/cxgbit/cxgbit_lro.h u32 hlen; hlen 250 drivers/target/iscsi/cxgbit/cxgbit_main.c pdu_cb->hlen = len; hlen 276 drivers/target/iscsi/cxgbit/cxgbit_main.c pdu_cb->hlen = len; hlen 294 drivers/target/iscsi/cxgbit/cxgbit_main.c lro_cb->pdu_totallen += pdu_cb->hlen + pdu_cb->dlen; hlen 1441 drivers/target/iscsi/cxgbit/cxgbit_target.c hpdu_cb->hlen = pdu_cb->hlen; hlen 1478 drivers/target/iscsi/cxgbit/cxgbit_target.c hpdu_cb->doffset = hpdu_cb->hlen; hlen 241 drivers/video/fbdev/matrox/matroxfb_g450.c u_int32_t hlen; hlen 288 drivers/video/fbdev/matrox/matroxfb_g450.c hlen = hvis + hfp + hsl + hbp; hlen 289 drivers/video/fbdev/matrox/matroxfb_g450.c over = hlen & 0x0F; hlen 291 drivers/video/fbdev/matrox/matroxfb_g450.c dprintk(KERN_DEBUG "WL: vis=%u, hf=%u, hs=%u, hb=%u, total=%u\n", hvis, hfp, hsl, hbp, hlen); hlen 295 drivers/video/fbdev/matrox/matroxfb_g450.c hlen -= over; hlen 299 drivers/video/fbdev/matrox/matroxfb_g450.c hlen += 4; hlen 302 drivers/video/fbdev/matrox/matroxfb_g450.c hlen += 16; hlen 314 drivers/video/fbdev/matrox/matroxfb_g450.c dprintk(KERN_DEBUG "PG: vis=%04X, hf=%02X, hs=%02X, hb=%02X, total=%04X\n", hvis, hfp, hsl, hbp, hlen); hlen 319 drivers/video/fbdev/matrox/matroxfb_g450.c hlen = hlen >> 1; hlen 321 drivers/video/fbdev/matrox/matroxfb_g450.c dprintk(KERN_DEBUG "hlen=%u hvis=%u\n", hlen, hvis); hlen 327 drivers/video/fbdev/matrox/matroxfb_g450.c mt->HSyncEnd = (hlen & ~7) - 8; hlen 328 drivers/video/fbdev/matrox/matroxfb_g450.c mt->HTotal = hlen; hlen 831 drivers/video/fbdev/matrox/matroxfb_maven.c int hlen; hlen 847 drivers/video/fbdev/matrox/matroxfb_maven.c hlen = 98304 - 128 - ((lmargin + mt->HDisplay - 8) * hdec); hlen 848 drivers/video/fbdev/matrox/matroxfb_maven.c if (hlen < 0) hlen 849 drivers/video/fbdev/matrox/matroxfb_maven.c hlen = 0; hlen 850 drivers/video/fbdev/matrox/matroxfb_maven.c hlen = hlen >> 8; hlen 851 drivers/video/fbdev/matrox/matroxfb_maven.c if (hlen > 0xFF) hlen 852 drivers/video/fbdev/matrox/matroxfb_maven.c hlen = 0xFF; hlen 878 drivers/video/fbdev/matrox/matroxfb_maven.c m->regs[0xC2] = hlen; hlen 108 drivers/video/fbdev/ocfb.c u32 hlen; hlen 133 drivers/video/fbdev/ocfb.c hlen = var->left_margin + var->right_margin + var->hsync_len + hlen 139 drivers/video/fbdev/ocfb.c ocfb_writereg(fbdev, OCFB_HVLEN, (hlen - 1) << 16 | (vlen - 1)); hlen 353 fs/pstore/ram.c size_t size, hlen; hlen 422 fs/pstore/ram.c hlen = ramoops_write_kmsg_hdr(prz, record); hlen 423 fs/pstore/ram.c if (!hlen) hlen 427 fs/pstore/ram.c if (size + hlen > prz->buffer_size) hlen 428 fs/pstore/ram.c size = prz->buffer_size - hlen; hlen 1668 fs/ubifs/journal.c int err, xlen, hlen, len, lnum, xent_offs, aligned_xlen, write_len; hlen 1685 fs/ubifs/journal.c hlen = host_ui->data_len + UBIFS_INO_NODE_SZ; hlen 1686 fs/ubifs/journal.c len = aligned_xlen + UBIFS_INO_NODE_SZ + ALIGN(hlen, 8); hlen 1753 fs/ubifs/journal.c err = ubifs_tnc_add(c, &key1, lnum, xent_offs + len - hlen, hlen, hash); hlen 143 fs/xfs/xfs_ioctl.c u32 hlen) hlen 154 fs/xfs/xfs_ioctl.c if (hlen != sizeof(xfs_handle_t)) hlen 156 fs/xfs/xfs_ioctl.c if (copy_from_user(&handle, uhandle, hlen)) hlen 60 fs/xfs/xfs_ioctl.h u32 hlen); hlen 5191 fs/xfs/xfs_log_recover.c int hlen; hlen 5207 fs/xfs/xfs_log_recover.c hlen = be32_to_cpu(rhead->h_len); hlen 5208 fs/xfs/xfs_log_recover.c if (unlikely( hlen <= 0 || hlen > INT_MAX )) { hlen 2682 include/linux/netdevice.h static inline int skb_gro_header_hard(struct sk_buff *skb, unsigned int hlen) hlen 2684 include/linux/netdevice.h return NAPI_GRO_CB(skb)->frag0_len < hlen; hlen 2693 include/linux/netdevice.h static inline void *skb_gro_header_slow(struct sk_buff *skb, unsigned int hlen, hlen 2696 include/linux/netdevice.h if (!pskb_may_pull(skb, hlen)) hlen 66 include/linux/nvme-tcp.h __u8 hlen; hlen 1240 include/linux/skbuff.h const struct flow_keys_basic *keys, int hlen); hlen 1282 include/linux/skbuff.h __be16 proto, int nhoff, int hlen, unsigned int flags); hlen 1288 include/linux/skbuff.h void *data, __be16 proto, int nhoff, int hlen, hlen 1312 include/linux/skbuff.h __be16 proto, int nhoff, int hlen, hlen 1317 include/linux/skbuff.h data, proto, nhoff, hlen, flags); hlen 3493 include/linux/skbuff.h int skb_copy_and_csum_datagram_msg(struct sk_buff *skb, int hlen, hlen 3521 include/linux/skbuff.h int len, int hlen); hlen 3566 include/linux/skbuff.h int len, void *data, int hlen, void *buffer) hlen 3568 include/linux/skbuff.h if (hlen - offset >= len) hlen 37 include/net/gue.h __u8 hlen:5, hlen 43 include/net/gue.h hlen:5; hlen 170 include/net/ip.h unsigned int hlen; hlen 174 include/net/ip.h unsigned int hlen, struct ip_fraglist_iter *iter); hlen 189 include/net/ip.h unsigned int hlen; hlen 198 include/net/ip.h void ip_frag_init(struct sk_buff *skb, unsigned int hlen, unsigned int ll_rs, hlen 61 include/net/ip6_tunnel.h int hlen; /* tun_hlen + encap_hlen */ hlen 91 include/net/ip6_tunnel.h int hlen = -EINVAL; hlen 102 include/net/ip6_tunnel.h hlen = ops->encap_hlen(e); hlen 105 include/net/ip6_tunnel.h return hlen; hlen 131 include/net/ip_tunnels.h int hlen; /* tun_hlen + encap_hlen */ hlen 335 include/net/ip_tunnels.h int hlen = -EINVAL; hlen 346 include/net/ip_tunnels.h hlen = ops->encap_hlen(e); hlen 349 include/net/ip_tunnels.h return hlen; hlen 158 include/net/ipv6.h unsigned int hlen; hlen 163 include/net/ipv6.h int ip6_fraglist_init(struct sk_buff *skb, unsigned int hlen, u8 *prevhdr, hlen 180 include/net/ipv6.h unsigned int hlen; hlen 191 include/net/ipv6.h void ip6_frag_init(struct sk_buff *skb, unsigned int hlen, unsigned int mtu, hlen 233 include/net/llc_pdu.h const int hlen = type == LLC_PDU_TYPE_U ? 3 : 4; hlen 236 include/net/llc_pdu.h skb_push(skb, hlen); hlen 179 include/net/udp.h unsigned int hlen, off; hlen 182 include/net/udp.h hlen = off + sizeof(*uh); hlen 184 include/net/udp.h if (skb_gro_header_hard(skb, hlen)) hlen 185 include/net/udp.h uh = skb_gro_header_slow(skb, hlen, off); hlen 1370 include/rdma/ib_verbs.h int hlen; hlen 69 lib/digsig.c const char *h, int hlen) hlen 169 lib/digsig.c if (!m || len != hlen || memcmp(m, h, hlen)) hlen 294 lib/test_bpf.c unsigned int len = BPF_MAXINSNS, hlen = len - 2; hlen 302 lib/test_bpf.c for (i = 0; i < hlen / 2; i++) hlen 303 lib/test_bpf.c insn[i] = BPF_JMP_IMM(BPF_JA, 0, 0, hlen - 2 - 2 * i); hlen 304 lib/test_bpf.c for (i = hlen - 1; i > hlen / 2; i--) hlen 305 lib/test_bpf.c insn[i] = BPF_JMP_IMM(BPF_JA, 0, 0, hlen - 1 - 2 * i); hlen 307 lib/test_bpf.c insn[hlen / 2] = BPF_JMP_IMM(BPF_JA, 0, 0, hlen / 2 - 1); hlen 308 lib/test_bpf.c insn[hlen] = BPF_ALU32_IMM(BPF_MOV, R0, 0xabababac); hlen 309 lib/test_bpf.c insn[hlen + 1] = BPF_EXIT_INSN(); hlen 2729 mm/memory.c pgoff_t hlen = (holelen + PAGE_SIZE - 1) >> PAGE_SHIFT; hlen 2732 mm/memory.c if (sizeof(holelen) > sizeof(hlen)) { hlen 2736 mm/memory.c hlen = ULONG_MAX - hba + 1; hlen 2739 mm/memory.c unmap_mapping_pages(mapping, hba, hlen, even_cows); hlen 994 mm/zswap.c unsigned int hlen, dlen = PAGE_SIZE; hlen 1072 mm/zswap.c hlen = zpool_evictable(entry->pool->zpool) ? sizeof(zhdr) : 0; hlen 1076 mm/zswap.c ret = zpool_malloc(entry->pool->zpool, hlen + dlen, gfp, &handle); hlen 1086 mm/zswap.c memcpy(buf, &zhdr, hlen); hlen 1087 mm/zswap.c memcpy(buf + hlen, dst, dlen); hlen 461 net/8021q/vlan_core.c unsigned int hlen, off_vlan; hlen 469 net/8021q/vlan_core.c hlen = off_vlan + sizeof(*vhdr); hlen 471 net/8021q/vlan_core.c if (skb_gro_header_hard(skb, hlen)) { hlen 472 net/8021q/vlan_core.c vhdr = skb_gro_header_slow(skb, hlen, off_vlan); hlen 78 net/batman-adv/distributed-arp-table.c __u8 hlen; hlen 1541 net/batman-adv/distributed-arp-table.c __u8 hlen; hlen 1557 net/batman-adv/distributed-arp-table.c dhcp_h->hlen != ETH_ALEN) hlen 1048 net/bluetooth/l2cap_core.c int hlen = __ertm_hdr_size(chan); hlen 1051 net/bluetooth/l2cap_core.c hlen += L2CAP_FCS_SIZE; hlen 1053 net/bluetooth/l2cap_core.c skb = bt_skb_alloc(hlen, GFP_KERNEL); hlen 1059 net/bluetooth/l2cap_core.c lh->len = cpu_to_le16(hlen - L2CAP_HDR_SIZE); hlen 2203 net/bluetooth/l2cap_core.c int err, count, hlen = L2CAP_HDR_SIZE + L2CAP_PSMLEN_SIZE; hlen 2209 net/bluetooth/l2cap_core.c count = min_t(unsigned int, (conn->mtu - hlen), len); hlen 2211 net/bluetooth/l2cap_core.c skb = chan->ops->alloc_skb(chan, hlen, count, hlen 2266 net/bluetooth/l2cap_core.c int err, count, hlen; hlen 2274 net/bluetooth/l2cap_core.c hlen = __ertm_hdr_size(chan); hlen 2277 net/bluetooth/l2cap_core.c hlen += L2CAP_SDULEN_SIZE; hlen 2280 net/bluetooth/l2cap_core.c hlen += L2CAP_FCS_SIZE; hlen 2282 net/bluetooth/l2cap_core.c count = min_t(unsigned int, (conn->mtu - hlen), len); hlen 2284 net/bluetooth/l2cap_core.c skb = chan->ops->alloc_skb(chan, hlen, count, hlen 2292 net/bluetooth/l2cap_core.c lh->len = cpu_to_le16(len + (hlen - L2CAP_HDR_SIZE)); hlen 2387 net/bluetooth/l2cap_core.c int err, count, hlen; hlen 2395 net/bluetooth/l2cap_core.c hlen = L2CAP_HDR_SIZE; hlen 2398 net/bluetooth/l2cap_core.c hlen += L2CAP_SDULEN_SIZE; hlen 2400 net/bluetooth/l2cap_core.c count = min_t(unsigned int, (conn->mtu - hlen), len); hlen 2402 net/bluetooth/l2cap_core.c skb = chan->ops->alloc_skb(chan, hlen, count, hlen 2410 net/bluetooth/l2cap_core.c lh->len = cpu_to_le16(len + (hlen - L2CAP_HDR_SIZE)); hlen 35 net/bridge/netfilter/nf_conntrack_bridge.c unsigned int hlen, ll_rs, mtu; hlen 52 net/bridge/netfilter/nf_conntrack_bridge.c hlen = iph->ihl * 4; hlen 53 net/bridge/netfilter/nf_conntrack_bridge.c frag_max_size -= hlen; hlen 62 net/bridge/netfilter/nf_conntrack_bridge.c if (first_len - hlen > mtu || hlen 71 net/bridge/netfilter/nf_conntrack_bridge.c skb_headroom(frag) < hlen + ll_rs) hlen 78 net/bridge/netfilter/nf_conntrack_bridge.c ip_fraglist_init(skb, iph, hlen, &iter); hlen 98 net/bridge/netfilter/nf_conntrack_bridge.c ip_frag_init(skb, hlen, ll_rs, frag_max_size, false, &state); hlen 720 net/core/datagram.c int hlen, struct msghdr *msg) hlen 723 net/core/datagram.c int chunk = skb->len - hlen; hlen 731 net/core/datagram.c if (skb_copy_datagram_msg(skb, hlen, msg, chunk)) hlen 734 net/core/datagram.c csum = csum_partial(skb->data, hlen, skb->csum); hlen 735 net/core/datagram.c if (skb_copy_and_csum_datagram(skb, hlen, &msg->msg_iter, hlen 4237 net/core/dev.c int hlen, off; hlen 4270 net/core/dev.c hlen = skb_headlen(skb) + mac_len; hlen 4273 net/core/dev.c xdp->data_end = xdp->data + hlen; hlen 5730 net/core/dev.c unsigned int hlen = sizeof(*eth); hlen 5737 net/core/dev.c if (unlikely(skb_gro_header_hard(skb, hlen))) { hlen 5738 net/core/dev.c eth = skb_gro_header_slow(skb, hlen, 0); hlen 5747 net/core/dev.c gro_pull_from_frag0(skb, hlen); hlen 5748 net/core/dev.c NAPI_GRO_CB(skb)->frag0 += hlen; hlen 5749 net/core/dev.c NAPI_GRO_CB(skb)->frag0_len -= hlen; hlen 5751 net/core/dev.c __skb_pull(skb, hlen); hlen 159 net/core/flow_dissector.c void *data, int hlen) hlen 163 net/core/flow_dissector.c u = __skb_header_pointer(skb, poff, sizeof(_u), data, hlen, &_u); hlen 200 net/core/flow_dissector.c void *data, int hlen) hlen 206 net/core/flow_dissector.c hlen = skb_headlen(skb); hlen 213 net/core/flow_dissector.c sizeof(_ports), data, hlen, &_ports); hlen 407 net/core/flow_dissector.c void *target_container, void *data, int nhoff, int hlen) hlen 419 net/core/flow_dissector.c hlen, &_hdr); hlen 453 net/core/flow_dissector.c void *target_container, void *data, int nhoff, int hlen) hlen 469 net/core/flow_dissector.c hlen, &_arp); hlen 483 net/core/flow_dissector.c hlen, &_arp_eth); hlen 649 net/core/flow_dissector.c void *data, __be16 *p_proto, int *p_nhoff, int hlen, hlen 657 net/core/flow_dissector.c hdr = __skb_header_pointer(skb, *p_nhoff, sizeof(_hdr), data, hlen, hlen 681 net/core/flow_dissector.c void *target_container, void *data, int thoff, int hlen) hlen 689 net/core/flow_dissector.c th = __skb_header_pointer(skb, thoff, sizeof(_th), data, hlen, &_th); hlen 706 net/core/flow_dissector.c u8 ip_proto, int hlen) hlen 724 net/core/flow_dissector.c data, hlen); hlen 844 net/core/flow_dissector.c __be16 proto, int nhoff, int hlen, unsigned int flags) hlen 867 net/core/flow_dissector.c flow_keys->nhoff = clamp_t(u16, flow_keys->nhoff, nhoff, hlen); hlen 869 net/core/flow_dissector.c flow_keys->nhoff, hlen); hlen 897 net/core/flow_dissector.c void *data, __be16 proto, int nhoff, int hlen, hlen 918 net/core/flow_dissector.c hlen = skb_headlen(skb); hlen 928 net/core/flow_dissector.c hlen -= offset; hlen 968 net/core/flow_dissector.c .data_end = data + hlen, hlen 982 net/core/flow_dissector.c hlen, flags); hlen 1010 net/core/flow_dissector.c iph = __skb_header_pointer(skb, nhoff, sizeof(_iph), data, hlen, &_iph); hlen 1056 net/core/flow_dissector.c iph = __skb_header_pointer(skb, nhoff, sizeof(_iph), data, hlen, &_iph); hlen 1111 net/core/flow_dissector.c data, hlen, &_vlan); hlen 1156 net/core/flow_dissector.c hdr = __skb_header_pointer(skb, nhoff, sizeof(_hdr), data, hlen, &_hdr); hlen 1183 net/core/flow_dissector.c data, hlen, &_hdr); hlen 1205 net/core/flow_dissector.c nhoff, hlen); hlen 1208 net/core/flow_dissector.c if ((hlen - nhoff) < FCOE_HEADER_LEN) { hlen 1221 net/core/flow_dissector.c nhoff, hlen); hlen 1226 net/core/flow_dissector.c &proto, &nhoff, hlen, flags); hlen 1257 net/core/flow_dissector.c &proto, &nhoff, &hlen, flags); hlen 1269 net/core/flow_dissector.c data, hlen, &_opthdr); hlen 1288 net/core/flow_dissector.c data, hlen, &_fh); hlen 1343 net/core/flow_dissector.c data, nhoff, hlen); hlen 1352 net/core/flow_dissector.c data, nhoff, ip_proto, hlen); hlen 1359 net/core/flow_dissector.c key_icmp->icmp = skb_flow_get_be16(skb, nhoff, data, hlen); hlen 1384 net/core/flow_dissector.c key_control->thoff = min_t(u16, nhoff, skb ? skb->len : hlen); hlen 1599 net/core/flow_dissector.c const struct flow_keys_basic *keys, int hlen) hlen 1615 net/core/flow_dissector.c data, hlen, &_doff); hlen 2905 net/core/skbuff.c unsigned int hlen = 0; hlen 2910 net/core/skbuff.c hlen = skb_headlen(from); hlen 2913 net/core/skbuff.c hlen = from->len; hlen 2915 net/core/skbuff.c return hlen; hlen 2938 net/core/skbuff.c skb_zerocopy(struct sk_buff *to, struct sk_buff *from, int len, int hlen) hlen 2946 net/core/skbuff.c BUG_ON(!from->head_frag && !hlen); hlen 2952 net/core/skbuff.c if (hlen) { hlen 2953 net/core/skbuff.c ret = skb_copy_bits(from, 0, skb_put(to, hlen), hlen); hlen 2956 net/core/skbuff.c len -= hlen; hlen 293 net/decnet/dn_nsp_out.c static __le16 *dn_mk_ack_header(struct sock *sk, struct sk_buff *skb, unsigned char msgflag, int hlen, int other) hlen 300 net/decnet/dn_nsp_out.c BUG_ON(hlen < 9); hlen 314 net/decnet/dn_nsp_out.c ptr = dn_mk_common_header(scp, skb, msgflag, hlen); hlen 456 net/ethernet/eth.c unsigned int hlen, off_eth; hlen 464 net/ethernet/eth.c hlen = off_eth + sizeof(*eh); hlen 466 net/ethernet/eth.c if (skb_gro_header_hard(skb, hlen)) { hlen 467 net/ethernet/eth.c eh = skb_gro_header_slow(skb, hlen, off_eth); hlen 249 net/hsr/hsr_device.c int hlen, tlen; hlen 255 net/hsr/hsr_device.c hlen = LL_RESERVED_SPACE(master->dev); hlen 259 net/hsr/hsr_device.c sizeof(struct hsr_sup_payload) + hlen + tlen); hlen 264 net/hsr/hsr_device.c skb_reserve(skb, hlen); hlen 309 net/ieee802154/header_ops.c int hlen = ieee802154_hdr_minlen(hdr); hlen 312 net/ieee802154/header_ops.c hlen += ieee802154_sechdr_lengths[hdr->sec.key_id_mode] - 1; hlen 313 net/ieee802154/header_ops.c hlen += ieee802154_sechdr_authtag_len(&hdr->sec); hlen 316 net/ieee802154/header_ops.c return IEEE802154_MTU - hlen - IEEE802154_MFR_SIZE; hlen 246 net/ieee802154/socket.c int hlen, tlen; hlen 276 net/ieee802154/socket.c hlen = LL_RESERVED_SPACE(dev); hlen 278 net/ieee802154/socket.c skb = sock_alloc_send_skb(sk, hlen + tlen + size, hlen 283 net/ieee802154/socket.c skb_reserve(skb, hlen); hlen 612 net/ieee802154/socket.c int hlen, tlen; hlen 644 net/ieee802154/socket.c hlen = LL_RESERVED_SPACE(dev); hlen 646 net/ieee802154/socket.c skb = sock_alloc_send_skb(sk, hlen + tlen + size, hlen 652 net/ieee802154/socket.c skb_reserve(skb, hlen); hlen 1413 net/ipv4/af_inet.c unsigned int hlen; hlen 1420 net/ipv4/af_inet.c hlen = off + sizeof(*iph); hlen 1422 net/ipv4/af_inet.c if (skb_gro_header_hard(skb, hlen)) { hlen 1423 net/ipv4/af_inet.c iph = skb_gro_header_slow(skb, hlen, off); hlen 530 net/ipv4/arp.c int hlen = LL_RESERVED_SPACE(dev); hlen 537 net/ipv4/arp.c skb = alloc_skb(arp_hdr_len(dev) + hlen + tlen, GFP_ATOMIC); hlen 541 net/ipv4/arp.c skb_reserve(skb, hlen); hlen 539 net/ipv4/esp4.c int alen, hlen, elen; hlen 546 net/ipv4/esp4.c hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); hlen 547 net/ipv4/esp4.c elen = skb->len - hlen; hlen 585 net/ipv4/esp4.c int hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); hlen 638 net/ipv4/esp4.c skb_pull_rcsum(skb, hlen); hlen 166 net/ipv4/fou.c optlen = guehdr->hlen << 2; hlen 358 net/ipv4/fou.c optlen = guehdr->hlen << 2; hlen 419 net/ipv4/fou.c if (guehdr->hlen && memcmp(&guehdr[1], &guehdr2[1], hlen 420 net/ipv4/fou.c guehdr->hlen << 2)) { hlen 470 net/ipv4/fou.c guehlen = sizeof(*guehdr) + (guehdr->hlen << 2); hlen 1021 net/ipv4/fou.c guehdr->hlen = optlen >> 2; hlen 1168 net/ipv4/fou.c optlen = guehdr->hlen << 2; hlen 113 net/ipv4/gre_offload.c unsigned int hlen, grehlen; hlen 125 net/ipv4/gre_offload.c hlen = off + sizeof(*greh); hlen 127 net/ipv4/gre_offload.c if (skb_gro_header_hard(skb, hlen)) { hlen 128 net/ipv4/gre_offload.c greh = skb_gro_header_slow(skb, hlen, off); hlen 165 net/ipv4/gre_offload.c hlen = off + grehlen; hlen 166 net/ipv4/gre_offload.c if (skb_gro_header_hard(skb, hlen)) { hlen 167 net/ipv4/gre_offload.c greh = skb_gro_header_slow(skb, hlen, off); hlen 356 net/ipv4/igmp.c int hlen = LL_RESERVED_SPACE(dev); hlen 361 net/ipv4/igmp.c skb = alloc_skb(size + hlen + tlen, hlen 382 net/ipv4/igmp.c skb_reserve(skb, hlen); hlen 736 net/ipv4/igmp.c int hlen, tlen; hlen 755 net/ipv4/igmp.c hlen = LL_RESERVED_SPACE(dev); hlen 757 net/ipv4/igmp.c skb = alloc_skb(IGMP_SIZE + hlen + tlen, GFP_ATOMIC); hlen 766 net/ipv4/igmp.c skb_reserve(skb, hlen); hlen 608 net/ipv4/ip_gre.c (tunnel->hlen + sizeof(struct iphdr)))) hlen 616 net/ipv4/ip_gre.c skb_pull(skb, tunnel->hlen + sizeof(struct iphdr)); hlen 724 net/ipv4/ip_gre.c tunnel->hlen = tunnel->hlen + len; hlen 823 net/ipv4/ip_gre.c iph = skb_push(skb, t->hlen + sizeof(*iph)); hlen 836 net/ipv4/ip_gre.c return t->hlen + sizeof(*iph); hlen 838 net/ipv4/ip_gre.c return -(t->hlen + sizeof(*iph)); hlen 928 net/ipv4/ip_gre.c tunnel->hlen = tunnel->tun_hlen + tunnel->encap_hlen; hlen 1260 net/ipv4/ip_gre.c tunnel->hlen = tunnel->tun_hlen + tunnel->encap_hlen + hlen 591 net/ipv4/ip_output.c unsigned int hlen, struct ip_fraglist_iter *iter) hlen 600 net/ipv4/ip_output.c iter->hlen = hlen; hlen 624 net/ipv4/ip_output.c unsigned int hlen = iter->hlen; hlen 631 net/ipv4/ip_output.c __skb_push(frag, hlen); hlen 633 net/ipv4/ip_output.c memcpy(skb_network_header(frag), iph, hlen); hlen 638 net/ipv4/ip_output.c iter->offset += skb->len - hlen; hlen 647 net/ipv4/ip_output.c void ip_frag_init(struct sk_buff *skb, unsigned int hlen, hlen 654 net/ipv4/ip_output.c state->hlen = hlen; hlen 658 net/ipv4/ip_output.c state->left = skb->len - hlen; /* Space per frame */ hlen 659 net/ipv4/ip_output.c state->ptr = hlen; /* Where to start from */ hlen 699 net/ipv4/ip_output.c skb2 = alloc_skb(len + state->hlen + state->ll_rs, GFP_ATOMIC); hlen 709 net/ipv4/ip_output.c skb_put(skb2, len + state->hlen); hlen 711 net/ipv4/ip_output.c skb2->transport_header = skb2->network_header + state->hlen; hlen 725 net/ipv4/ip_output.c skb_copy_from_linear_data(skb, skb_network_header(skb2), state->hlen); hlen 751 net/ipv4/ip_output.c iph->tot_len = htons(len + state->hlen); hlen 772 net/ipv4/ip_output.c unsigned int mtu, hlen, ll_rs; hlen 797 net/ipv4/ip_output.c hlen = iph->ihl * 4; hlen 798 net/ipv4/ip_output.c mtu = mtu - hlen; /* Size of data space */ hlen 813 net/ipv4/ip_output.c if (first_len - hlen > mtu || hlen 814 net/ipv4/ip_output.c ((first_len - hlen) & 7) || hlen 824 net/ipv4/ip_output.c skb_headroom(frag) < hlen + ll_rs) hlen 840 net/ipv4/ip_output.c ip_fraglist_init(skb, iph, hlen, &iter); hlen 886 net/ipv4/ip_output.c ip_frag_init(skb, hlen, ll_rs, mtu, IPCB(skb)->flags & IPSKB_FRAG_PMTU, hlen 282 net/ipv4/ip_tunnel.c int hlen = LL_MAX_HEADER; hlen 284 net/ipv4/ip_tunnel.c int t_hlen = tunnel->hlen + sizeof(struct iphdr); hlen 313 net/ipv4/ip_tunnel.c hlen = tdev->hard_header_len + tdev->needed_headroom; hlen 317 net/ipv4/ip_tunnel.c dev->needed_headroom = t_hlen + hlen; hlen 346 net/ipv4/ip_tunnel.c t_hlen = nt->hlen + sizeof(struct iphdr); hlen 465 net/ipv4/ip_tunnel.c int hlen; hlen 469 net/ipv4/ip_tunnel.c hlen = ip_encap_hlen(ipencap); hlen 470 net/ipv4/ip_tunnel.c if (hlen < 0) hlen 471 net/ipv4/ip_tunnel.c return hlen; hlen 478 net/ipv4/ip_tunnel.c t->encap_hlen = hlen; hlen 479 net/ipv4/ip_tunnel.c t->hlen = t->encap_hlen + t->tun_hlen; hlen 494 net/ipv4/ip_tunnel.c tunnel_hlen = md ? tunnel_hlen : tunnel->hlen; hlen 968 net/ipv4/ip_tunnel.c int t_hlen = tunnel->hlen + sizeof(struct iphdr); hlen 1146 net/ipv4/ip_tunnel.c unsigned int max = IP_MAX_MTU - dev->hard_header_len - nt->hlen; hlen 608 net/ipv4/ipconfig.c u8 hlen; /* HW address length */ hlen 802 net/ipv4/ipconfig.c int hlen = LL_RESERVED_SPACE(dev); hlen 806 net/ipv4/ipconfig.c skb = alloc_skb(sizeof(struct bootp_pkt) + hlen + tlen + 15, hlen 810 net/ipv4/ipconfig.c skb_reserve(skb, hlen); hlen 844 net/ipv4/ipconfig.c b->hlen = dev->addr_len; hlen 396 net/ipv4/ipip.c tunnel->hlen = tunnel->tun_hlen + tunnel->encap_hlen; hlen 85 net/ipv4/raw.c int hlen; hlen 355 net/ipv4/raw.c int hlen, tlen; hlen 368 net/ipv4/raw.c hlen = LL_RESERVED_SPACE(rt->dst.dev); hlen 371 net/ipv4/raw.c length + hlen + tlen + 15, hlen 375 net/ipv4/raw.c skb_reserve(skb, hlen); hlen 455 net/ipv4/raw.c rfv->hlen = 2; hlen 457 net/ipv4/raw.c err = memcpy_from_msg(rfv->hdr.c, rfv->msg, rfv->hlen); hlen 472 net/ipv4/raw.c if (offset < rfv->hlen) { hlen 473 net/ipv4/raw.c int copy = min(rfv->hlen - offset, len); hlen 493 net/ipv4/raw.c offset -= rfv->hlen; hlen 635 net/ipv4/raw.c rfv.hlen = 0; hlen 190 net/ipv4/tcp_offload.c unsigned int hlen; hlen 196 net/ipv4/tcp_offload.c hlen = off + sizeof(*th); hlen 198 net/ipv4/tcp_offload.c if (skb_gro_header_hard(skb, hlen)) { hlen 199 net/ipv4/tcp_offload.c th = skb_gro_header_slow(skb, hlen, off); hlen 208 net/ipv4/tcp_offload.c hlen = off + thlen; hlen 209 net/ipv4/tcp_offload.c if (skb_gro_header_hard(skb, hlen)) { hlen 210 net/ipv4/tcp_offload.c th = skb_gro_header_slow(skb, hlen, off); hlen 754 net/ipv4/udp.c int hlen = len; hlen 775 net/ipv4/udp.c hlen -= frags->len; hlen 778 net/ipv4/udp.c csum = skb_checksum(skb, offset, hlen, csum); hlen 837 net/ipv4/udp.c const int hlen = skb_network_header_len(skb) + hlen 840 net/ipv4/udp.c if (hlen + cork->gso_size > cork->fragsize) { hlen 478 net/ipv6/esp6.c int alen, hlen, elen; hlen 485 net/ipv6/esp6.c hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); hlen 486 net/ipv6/esp6.c elen = skb->len - hlen; hlen 523 net/ipv6/esp6.c int hlen = sizeof(struct ip_esp_hdr) + crypto_aead_ivsize(aead); hlen 538 net/ipv6/esp6.c skb_pull_rcsum(skb, hlen); hlen 131 net/ipv6/fou6.c optlen = guehdr->hlen << 2; hlen 721 net/ipv6/ip6_gre.c if (skb_cow_head(skb, dev->needed_headroom ?: tunnel->hlen)) hlen 952 net/ipv6/ip6_gre.c if (skb_cow_head(skb, dev->needed_headroom ?: t->hlen)) hlen 1143 net/ipv6/ip6_gre.c tunnel->hlen = tunnel->tun_hlen + tunnel->encap_hlen; hlen 1145 net/ipv6/ip6_gre.c t_hlen = tunnel->hlen + sizeof(struct ipv6hdr); hlen 1341 net/ipv6/ip6_gre.c ipv6h = skb_push(skb, t->hlen + sizeof(*ipv6h)); hlen 1363 net/ipv6/ip6_gre.c return t->hlen; hlen 1365 net/ipv6/ip6_gre.c return -t->hlen; hlen 1514 net/ipv6/ip6_gre.c tunnel->hlen = sizeof(struct ipv6hdr) + 4; hlen 1823 net/ipv6/ip6_gre.c tunnel->hlen = tunnel->tun_hlen + tunnel->encap_hlen + hlen 1826 net/ipv6/ip6_gre.c t_hlen = tunnel->hlen + sizeof(struct ipv6hdr); hlen 192 net/ipv6/ip6_offload.c unsigned int hlen; hlen 198 net/ipv6/ip6_offload.c hlen = off + sizeof(*iph); hlen 200 net/ipv6/ip6_offload.c if (skb_gro_header_hard(skb, hlen)) { hlen 201 net/ipv6/ip6_offload.c iph = skb_gro_header_slow(skb, hlen, off); hlen 599 net/ipv6/ip6_output.c int ip6_fraglist_init(struct sk_buff *skb, unsigned int hlen, u8 *prevhdr, hlen 608 net/ipv6/ip6_output.c iter->tmp_hdr = kmemdup(skb_network_header(skb), hlen, GFP_ATOMIC); hlen 616 net/ipv6/ip6_output.c iter->hlen = hlen; hlen 620 net/ipv6/ip6_output.c __skb_pull(skb, hlen); hlen 622 net/ipv6/ip6_output.c __skb_push(skb, hlen); hlen 624 net/ipv6/ip6_output.c memcpy(skb_network_header(skb), iter->tmp_hdr, hlen); hlen 644 net/ipv6/ip6_output.c unsigned int hlen = iter->hlen; hlen 650 net/ipv6/ip6_output.c __skb_push(frag, hlen); hlen 652 net/ipv6/ip6_output.c memcpy(skb_network_header(frag), iter->tmp_hdr, hlen); hlen 653 net/ipv6/ip6_output.c iter->offset += skb->len - hlen - sizeof(struct frag_hdr); hlen 665 net/ipv6/ip6_output.c void ip6_frag_init(struct sk_buff *skb, unsigned int hlen, unsigned int mtu, hlen 673 net/ipv6/ip6_output.c state->hlen = hlen; hlen 676 net/ipv6/ip6_output.c state->left = skb->len - hlen; /* Space per frame */ hlen 677 net/ipv6/ip6_output.c state->ptr = hlen; /* Where to start from */ hlen 703 net/ipv6/ip6_output.c frag = alloc_skb(len + state->hlen + sizeof(struct frag_hdr) + hlen 714 net/ipv6/ip6_output.c skb_put(frag, len + state->hlen + sizeof(struct frag_hdr)); hlen 716 net/ipv6/ip6_output.c fh = (struct frag_hdr *)(skb_network_header(frag) + state->hlen); hlen 717 net/ipv6/ip6_output.c frag->transport_header = (frag->network_header + state->hlen + hlen 730 net/ipv6/ip6_output.c skb_copy_from_linear_data(skb, skb_network_header(frag), state->hlen); hlen 770 net/ipv6/ip6_output.c unsigned int mtu, hlen, nexthdr_offset; hlen 779 net/ipv6/ip6_output.c hlen = err; hlen 805 net/ipv6/ip6_output.c if (mtu < hlen + sizeof(struct frag_hdr) + 8) hlen 807 net/ipv6/ip6_output.c mtu -= hlen + sizeof(struct frag_hdr); hlen 823 net/ipv6/ip6_output.c if (first_len - hlen > mtu || hlen 824 net/ipv6/ip6_output.c ((first_len - hlen) & 7) || hlen 833 net/ipv6/ip6_output.c skb_headroom(frag) < (hlen + hroom + sizeof(struct frag_hdr))) hlen 848 net/ipv6/ip6_output.c err = ip6_fraglist_init(skb, hlen, prevhdr, nexthdr, frag_id, hlen 900 net/ipv6/ip6_output.c ip6_frag_init(skb, hlen, mtu, rt->dst.dev->needed_tailroom, hlen 1196 net/ipv6/ip6_tunnel.c + dst->header_len + t->hlen; hlen 1450 net/ipv6/ip6_tunnel.c t->hlen = t->encap_hlen + t->tun_hlen; hlen 1451 net/ipv6/ip6_tunnel.c t_hlen = t->hlen + sizeof(struct ipv6hdr); hlen 1753 net/ipv6/ip6_tunnel.c int hlen; hlen 1757 net/ipv6/ip6_tunnel.c hlen = ip6_encap_hlen(ipencap); hlen 1758 net/ipv6/ip6_tunnel.c if (hlen < 0) hlen 1759 net/ipv6/ip6_tunnel.c return hlen; hlen 1766 net/ipv6/ip6_tunnel.c t->encap_hlen = hlen; hlen 1767 net/ipv6/ip6_tunnel.c t->hlen = t->encap_hlen + t->tun_hlen; hlen 1845 net/ipv6/ip6_tunnel.c t->hlen = t->encap_hlen + t->tun_hlen; hlen 1846 net/ipv6/ip6_tunnel.c t_hlen = t->hlen + sizeof(struct ipv6hdr); hlen 1598 net/ipv6/mcast.c int hlen = LL_RESERVED_SPACE(dev); hlen 1600 net/ipv6/mcast.c unsigned int size = mtu + hlen + tlen; hlen 1615 net/ipv6/mcast.c skb_reserve(skb, hlen); hlen 1990 net/ipv6/mcast.c int hlen = LL_RESERVED_SPACE(dev); hlen 2013 net/ipv6/mcast.c skb = sock_alloc_send_skb(sk, hlen + tlen + full_len, 1, &err); hlen 2023 net/ipv6/mcast.c skb_reserve(skb, hlen); hlen 412 net/ipv6/ndisc.c int hlen = LL_RESERVED_SPACE(dev); hlen 417 net/ipv6/ndisc.c skb = alloc_skb(hlen + sizeof(struct ipv6hdr) + len + tlen, GFP_ATOMIC); hlen 427 net/ipv6/ndisc.c skb_reserve(skb, hlen + sizeof(struct ipv6hdr)); hlen 125 net/ipv6/netfilter.c unsigned int mtu, hlen; hlen 132 net/ipv6/netfilter.c hlen = err; hlen 141 net/ipv6/netfilter.c if (mtu < hlen + sizeof(struct frag_hdr) + 8) hlen 143 net/ipv6/netfilter.c mtu -= hlen + sizeof(struct frag_hdr); hlen 158 net/ipv6/netfilter.c if (first_len - hlen > mtu || hlen 167 net/ipv6/netfilter.c skb_headroom(frag2) < (hlen + hroom + sizeof(struct frag_hdr))) hlen 175 net/ipv6/netfilter.c err = ip6_fraglist_init(skb, hlen, prevhdr, nexthdr, frag_id, hlen 207 net/ipv6/netfilter.c ip6_frag_init(skb, hlen, mtu, skb->dev->needed_tailroom, hlen 628 net/ipv6/raw.c int hlen = LL_RESERVED_SPACE(rt->dst.dev); hlen 641 net/ipv6/raw.c length + hlen + tlen + 15, hlen 645 net/ipv6/raw.c skb_reserve(skb, hlen); hlen 710 net/ipv6/raw.c int hlen; hlen 719 net/ipv6/raw.c rfv->hlen = 2; hlen 720 net/ipv6/raw.c err = memcpy_from_msg(rfv->c, rfv->msg, rfv->hlen); hlen 727 net/ipv6/raw.c rfv->hlen = 4; hlen 728 net/ipv6/raw.c err = memcpy_from_msg(rfv->c, rfv->msg, rfv->hlen); hlen 740 net/ipv6/raw.c if (offset < rfv->hlen) { hlen 741 net/ipv6/raw.c int copy = min(rfv->hlen - offset, len); hlen 761 net/ipv6/raw.c offset -= rfv->hlen; hlen 899 net/ipv6/raw.c rfv.hlen = 0; hlen 834 net/ipv6/sit.c int t_hlen = tunnel->hlen + sizeof(struct iphdr); hlen 1089 net/ipv6/sit.c int t_hlen = tunnel->hlen + sizeof(struct iphdr); hlen 1374 net/ipv6/sit.c int t_hlen = tunnel->hlen + sizeof(struct iphdr); hlen 1124 net/ipv6/udp.c const int hlen = skb_network_header_len(skb) + hlen 1127 net/ipv6/udp.c if (hlen + cork->gso_size > cork->fragsize) { hlen 50 net/llc/llc_sap.c int hlen = type == LLC_PDU_TYPE_U ? 3 : 4; hlen 53 net/llc/llc_sap.c hlen += llc_mac_header_len(dev->type); hlen 54 net/llc/llc_sap.c skb = alloc_skb(hlen + data_size, GFP_ATOMIC); hlen 58 net/llc/llc_sap.c skb_reserve(skb, hlen); hlen 372 net/mac802154/iface.c int hlen; hlen 404 net/mac802154/iface.c hlen = ieee802154_hdr_push(skb, &hdr); hlen 405 net/mac802154/iface.c if (hlen < 0) hlen 409 net/mac802154/iface.c skb->mac_len = hlen; hlen 414 net/mac802154/iface.c return hlen; hlen 438 net/mac802154/iface.c int hlen; hlen 466 net/mac802154/iface.c hlen = ieee802154_hdr_push(skb, &hdr); hlen 467 net/mac802154/iface.c if (hlen < 0) hlen 471 net/mac802154/iface.c skb->mac_len = hlen; hlen 476 net/mac802154/iface.c return hlen; hlen 704 net/mac802154/llsec.c int rc, authlen, hlen; hlen 708 net/mac802154/llsec.c hlen = ieee802154_hdr_pull(skb, &hdr); hlen 710 net/mac802154/llsec.c if (hlen < 0 || hdr.fc.type != IEEE802154_FC_TYPE_DATA) hlen 715 net/mac802154/llsec.c skb_push(skb, hlen); hlen 721 net/mac802154/llsec.c if (skb->len + hlen + authlen + IEEE802154_MFR_SIZE > IEEE802154_MTU) hlen 134 net/mac802154/rx.c int hlen; hlen 139 net/mac802154/rx.c hlen = ieee802154_hdr_pull(skb, hdr); hlen 140 net/mac802154/rx.c if (hlen < 0) hlen 143 net/mac802154/rx.c skb->mac_len = hlen; hlen 273 net/ncsi/ncsi-cmd.c int hlen = LL_RESERVED_SPACE(dev); hlen 275 net/ncsi/ncsi-cmd.c int len = hlen + tlen; hlen 301 net/ncsi/ncsi-cmd.c skb_reserve(skb, hlen); hlen 1607 net/netfilter/ipvs/ip_vs_core.c (gueh->hlen << 2); hlen 1757 net/netfilter/ipvs/ip_vs_sync.c int id = 0, count, hlen; hlen 1802 net/netfilter/ipvs/ip_vs_sync.c hlen = (AF_INET6 == c->mcast_af) ? hlen 1812 net/netfilter/ipvs/ip_vs_sync.c 65535 - hlen); hlen 1814 net/netfilter/ipvs/ip_vs_sync.c c->sync_maxlen = mtu - hlen; hlen 1047 net/netfilter/ipvs/ip_vs_xmit.c gueh->hlen = optlen >> 2; hlen 381 net/netfilter/nfnetlink_queue.c unsigned int hlen = 0; hlen 438 net/netfilter/nfnetlink_queue.c hlen = skb_zerocopy_headlen(entskb); hlen 439 net/netfilter/nfnetlink_queue.c hlen = min_t(unsigned int, hlen, data_len); hlen 440 net/netfilter/nfnetlink_queue.c size += sizeof(struct nlattr) + hlen; hlen 612 net/netfilter/nfnetlink_queue.c if (skb_tailroom(skb) < sizeof(*nla) + hlen) hlen 619 net/netfilter/nfnetlink_queue.c if (skb_zerocopy(skb, entskb, data_len, hlen)) hlen 792 net/openvswitch/actions.c unsigned int hlen = skb_network_offset(skb); hlen 807 net/openvswitch/actions.c data->l2_len = hlen; hlen 808 net/openvswitch/actions.c memcpy(&data->l2_data, skb->data, hlen); hlen 811 net/openvswitch/actions.c skb_pull(skb, hlen); hlen 393 net/openvswitch/datapath.c unsigned int hlen; hlen 427 net/openvswitch/datapath.c hlen = skb_zerocopy_headlen(skb); hlen 429 net/openvswitch/datapath.c hlen = skb->len; hlen 431 net/openvswitch/datapath.c len = upcall_msg_size(upcall_info, hlen - cutlen, hlen 514 net/openvswitch/datapath.c err = skb_zerocopy(user_skb, skb, skb->len - cutlen, hlen); hlen 2473 net/packet/af_packet.c __be16 proto, unsigned char *addr, int hlen, int copylen, hlen 2492 net/packet/af_packet.c skb_reserve(skb, hlen); hlen 2635 net/packet/af_packet.c int hlen, tlen, copylen = 0; hlen 2714 net/packet/af_packet.c hlen = LL_RESERVED_SPACE(dev); hlen 2730 net/packet/af_packet.c hlen + tlen + sizeof(struct sockaddr_ll) + hlen 2741 net/packet/af_packet.c addr, hlen, copylen, &sockc); hlen 2853 net/packet/af_packet.c int hlen, tlen, linear; hlen 2917 net/packet/af_packet.c hlen = LL_RESERVED_SPACE(dev); hlen 2921 net/packet/af_packet.c skb = packet_alloc_skb(sk, hlen + tlen, hlen, len, linear, hlen 567 net/tipc/msg.c int hlen, dlen; hlen 573 net/tipc/msg.c hlen = msg_hdr_sz(_hdr); hlen 581 net/tipc/msg.c if (hlen == SHORT_H_SIZE) hlen 582 net/tipc/msg.c hlen = BASIC_H_SIZE; hlen 589 net/tipc/msg.c *skb = tipc_buf_acquire(hlen + dlen, GFP_ATOMIC); hlen 593 net/tipc/msg.c memcpy((*skb)->data + hlen, msg_data(_hdr), dlen); hlen 597 net/tipc/msg.c msg_set_hdr_sz(hdr, hlen); hlen 605 net/tipc/msg.c msg_set_size(hdr, hlen + dlen); hlen 1141 net/tipc/socket.c int user, mtyp, hlen; hlen 1152 net/tipc/socket.c hlen = skb_headroom(skb) + msg_hdr_sz(hdr); hlen 1190 net/tipc/socket.c _skb = __pskb_copy(skb, hlen, GFP_ATOMIC); hlen 1744 net/tipc/socket.c int rc, err, hlen, dlen, copy; hlen 1770 net/tipc/socket.c hlen = msg_hdr_sz(hdr); hlen 1790 net/tipc/socket.c rc = skb_copy_datagram_msg(skb, hlen, m, copy); hlen 1815 net/tipc/socket.c tipc_group_update_rcv_win(tsk->group, tsk_blocks(hlen + dlen), hlen 1827 net/tipc/socket.c tsk->rcv_unacked += tsk_inc(tsk, hlen + dlen); hlen 1856 net/tipc/socket.c int hlen, dlen, err, rc; hlen 1881 net/tipc/socket.c hlen = msg_hdr_sz(hdr); hlen 1903 net/tipc/socket.c rc = skb_copy_datagram_msg(skb, hlen + offset, m, copy); hlen 1927 net/tipc/socket.c tsk->rcv_unacked += tsk_inc(tsk, hlen + dlen); hlen 615 net/wireless/util.c __ieee80211_amsdu_copy(struct sk_buff *skb, unsigned int hlen, hlen 636 net/wireless/util.c frame = dev_alloc_skb(hlen + sizeof(struct ethhdr) + 2 + cur_len); hlen 640 net/wireless/util.c skb_reserve(frame, hlen + sizeof(struct ethhdr) + 2); hlen 658 net/wireless/util.c unsigned int hlen = ALIGN(extra_headroom, 4); hlen 700 net/wireless/util.c frame = __ieee80211_amsdu_copy(skb, hlen, offset, len, hlen 139 net/xfrm/xfrm_input.c int hlen; hlen 143 net/xfrm/xfrm_input.c hlen = sizeof(struct ip_auth_hdr); hlen 148 net/xfrm/xfrm_input.c hlen = sizeof(struct ip_esp_hdr); hlen 162 net/xfrm/xfrm_input.c if (!pskb_may_pull(skb, hlen)) hlen 170 tools/bpf/bpf_jit_disasm.c static uint8_t *get_last_jit_image(char *haystack, size_t hlen, hlen 182 tools/bpf/bpf_jit_disasm.c if (hlen == 0) hlen 197 tools/bpf/bpf_jit_disasm.c assert(off < hlen); hlen 166 tools/lib/bpf/nlattr.c int hlen, alen; hlen 173 tools/lib/bpf/nlattr.c hlen = sizeof(*err); hlen 177 tools/lib/bpf/nlattr.c hlen += nlmsg_len(&err->msg); hlen 179 tools/lib/bpf/nlattr.c attr = (struct nlattr *) ((void *) err + hlen); hlen 180 tools/lib/bpf/nlattr.c alen = nlh->nlmsg_len - hlen; hlen 48 tools/testing/selftests/bpf/test_flow_dissector.c __u8 hlen:5, hlen 54 tools/testing/selftests/bpf/test_flow_dissector.c hlen:5;