/Linux-v4.19/net/netfilter/ |
D | nf_nat_proto_sctp.c | 36 int hdrsize = 8; in sctp_manip_pkt() local 43 hdrsize = sizeof(*hdr); in sctp_manip_pkt() 45 if (!skb_make_writable(skb, hdroff + hdrsize)) in sctp_manip_pkt() 58 if (hdrsize < sizeof(*hdr)) in sctp_manip_pkt()
|
D | nf_nat_proto_dccp.c | 43 int hdrsize = 8; /* DCCP connection tracking guarantees this much */ in dccp_manip_pkt() local 46 hdrsize = sizeof(struct dccp_hdr); in dccp_manip_pkt() 48 if (!skb_make_writable(skb, hdroff + hdrsize)) in dccp_manip_pkt() 64 if (hdrsize < sizeof(*hdr)) in dccp_manip_pkt()
|
D | nf_nat_proto_tcp.c | 43 int hdrsize = 8; /* TCP connection tracking guarantees this much */ in tcp_manip_pkt() local 49 hdrsize = sizeof(struct tcphdr); in tcp_manip_pkt() 51 if (!skb_make_writable(skb, hdroff + hdrsize)) in tcp_manip_pkt() 69 if (hdrsize < sizeof(*hdr)) in tcp_manip_pkt()
|
/Linux-v4.19/drivers/infiniband/hw/qib/ |
D | qib_uc.c | 242 u32 hdrsize; in qib_uc_rcv() local 253 hdrsize = 8 + 12; /* LRH + BTH */ in qib_uc_rcv() 256 hdrsize = 8 + 40 + 12; /* LRH + GRH + BTH */ in qib_uc_rcv() 357 if (unlikely(tlen != (hdrsize + pmtu + 4))) in qib_uc_rcv() 368 hdrsize += 4; in qib_uc_rcv() 380 if (unlikely(tlen < (hdrsize + pad + 4))) in qib_uc_rcv() 383 tlen -= (hdrsize + pad + 4); in qib_uc_rcv() 416 hdrsize += sizeof(*reth); in qib_uc_rcv() 447 if (unlikely(tlen != (hdrsize + pmtu + 4))) in qib_uc_rcv() 458 hdrsize += 4; in qib_uc_rcv() [all …]
|
D | qib_rc.c | 1301 u32 psn, u32 hdrsize, u32 pmtu, in qib_rc_rcv_resp() argument 1383 hdrsize += 4; in qib_rc_rcv_resp() 1403 if (unlikely(tlen != (hdrsize + pmtu + 4))) in qib_rc_rcv_resp() 1442 if (unlikely(tlen < (hdrsize + pad + 8))) in qib_rc_rcv_resp() 1467 if (unlikely(tlen <= (hdrsize + pad + 8))) in qib_rc_rcv_resp() 1470 tlen -= hdrsize + pad + 8; in qib_rc_rcv_resp() 1744 u32 hdrsize; in qib_rc_rcv() local 1757 hdrsize = 8 + 12; /* LRH + BTH */ in qib_rc_rcv() 1760 hdrsize = 8 + 40 + 12; /* LRH + GRH + BTH */ in qib_rc_rcv() 1779 hdrsize, pmtu, rcd); in qib_rc_rcv() [all …]
|
D | qib_ud.c | 435 u32 hdrsize; in qib_ud_rcv() local 445 hdrsize = 8 + 12 + 8; /* LRH + BTH + DETH */ in qib_ud_rcv() 448 hdrsize = 8 + 40 + 12 + 8; /* LRH + GRH + BTH + DETH */ in qib_ud_rcv() 458 if (unlikely(tlen < (hdrsize + pad + 4))) in qib_ud_rcv() 461 tlen -= hdrsize + pad + 4; in qib_ud_rcv()
|
/Linux-v4.19/drivers/net/wireless/intersil/orinoco/ |
D | fw.c | 59 u16 hdrsize; in validate_fw() local 66 hdrsize = le16_to_cpu(hdr->headersize); in validate_fw() 67 if (hdrsize > len) in validate_fw() 69 if ((hdrsize + le32_to_cpu(hdr->block_offset)) > len) in validate_fw() 71 if ((hdrsize + le32_to_cpu(hdr->pdr_offset)) > len) in validate_fw() 73 if ((hdrsize + le32_to_cpu(hdr->pri_offset)) > len) in validate_fw() 75 if ((hdrsize + le32_to_cpu(hdr->compat_offset)) > len) in validate_fw()
|
/Linux-v4.19/drivers/infiniband/hw/hfi1/ |
D | uc.c | 312 u32 hdrsize = packet->hlen; in hfi1_uc_rcv() local 424 if (unlikely(tlen != (hdrsize + pmtu + extra_bytes))) in hfi1_uc_rcv() 444 if (unlikely(tlen < (hdrsize + extra_bytes))) in hfi1_uc_rcv() 447 tlen -= (hdrsize + extra_bytes); in hfi1_uc_rcv() 521 if (unlikely(tlen != (hdrsize + pmtu + 4))) in hfi1_uc_rcv() 536 if (unlikely(tlen < (hdrsize + pad + 4))) in hfi1_uc_rcv() 539 tlen -= (hdrsize + extra_bytes); in hfi1_uc_rcv() 561 if (unlikely(tlen < (hdrsize + pad + 4))) in hfi1_uc_rcv() 564 tlen -= (hdrsize + extra_bytes); in hfi1_uc_rcv()
|
D | rc.c | 1552 u16 hdrsize = packet->hlen; in rc_rcv_resp() local 1622 if (unlikely(tlen != (hdrsize + pmtu + extra_bytes))) in rc_rcv_resp() 1658 if (unlikely(tlen < (hdrsize + extra_bytes))) in rc_rcv_resp() 1680 if (unlikely(tlen <= (hdrsize + extra_bytes))) in rc_rcv_resp() 1683 tlen -= hdrsize + extra_bytes; in rc_rcv_resp() 2041 u32 hdrsize = packet->hlen; in hfi1_rc_rcv() local 2142 if (unlikely(tlen != (hdrsize + pmtu + extra_bytes))) in hfi1_rc_rcv() 2196 if (unlikely(tlen < (hdrsize + extra_bytes))) in hfi1_rc_rcv() 2199 tlen -= (hdrsize + extra_bytes); in hfi1_rc_rcv()
|
D | ud.c | 869 u32 hdrsize = packet->hlen; in hfi1_ud_rcv() local 920 if (unlikely(tlen < (hdrsize + extra_bytes))) in hfi1_ud_rcv() 923 tlen -= hdrsize + extra_bytes; in hfi1_ud_rcv()
|
/Linux-v4.19/fs/xfs/scrub/ |
D | attr.c | 264 unsigned int hdrsize; in xchk_xattr_block() local 286 hdrsize = xfs_attr3_leaf_hdr_size(leaf); in xchk_xattr_block() 292 if (leafhdr.firstused < hdrsize) in xchk_xattr_block() 294 if (!xchk_xattr_set_map(ds->sc, usedmap, 0, hdrsize)) in xchk_xattr_block() 348 int hdrsize; in xchk_xattr_rec() local 368 hdrsize = xfs_attr3_leaf_hdr_size(bp->b_addr); in xchk_xattr_rec() 370 if (nameidx < hdrsize || nameidx >= mp->m_attr_geo->blksize) { in xchk_xattr_rec()
|
/Linux-v4.19/drivers/crypto/nx/ |
D | nx-842.c | 172 unsigned int hdrsize) in compress() argument 183 if (p->oremain == 0 || hdrsize + c->minimum > dlen) in compress() 203 dst += hdrsize; in compress() 204 dlen -= hdrsize; in compress() 238 dskip += hdrsize; in compress() 266 unsigned int groups, hdrsize, h; in nx842_crypto_compress() local 283 hdrsize = NX842_CRYPTO_HEADER_SIZE(groups); in nx842_crypto_compress() 308 h = !n && add_header ? hdrsize : 0; in nx842_crypto_compress()
|
/Linux-v4.19/net/rxrpc/ |
D | peer_object.c | 256 peer->hdrsize = sizeof(struct iphdr); in rxrpc_init_peer() 260 peer->hdrsize = sizeof(struct ipv6hdr); in rxrpc_init_peer() 269 peer->hdrsize += sizeof(struct udphdr); in rxrpc_init_peer() 275 peer->hdrsize += sizeof(struct rxrpc_wire_header); in rxrpc_init_peer() 276 peer->maxdata = peer->mtu - peer->hdrsize; in rxrpc_init_peer()
|
D | peer_event.c | 130 if (mtu < peer->hdrsize) in rxrpc_adjust_mtu() 131 mtu = peer->hdrsize + 4; in rxrpc_adjust_mtu() 138 peer->maxdata = peer->mtu - peer->hdrsize; in rxrpc_adjust_mtu()
|
/Linux-v4.19/include/net/ |
D | genetlink.h | 53 unsigned int hdrsize; member 182 return nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse()
|
/Linux-v4.19/fs/quota/ |
D | netlink.c | 18 .hdrsize = 0,
|
/Linux-v4.19/net/ipv6/ila/ |
D | ila_main.c | 48 .hdrsize = 0,
|
/Linux-v4.19/drivers/scsi/aacraid/ |
D | comminit.c | 385 unsigned long hdrsize = (sizeof(u32) * NUMBER_OF_COMM_QUEUES) * 2; in aac_comm_init() local 404 size = hdrsize + queuesize; in aac_comm_init() 409 queues = (struct aac_entry *)(((ulong)headers) + hdrsize); in aac_comm_init()
|
/Linux-v4.19/net/ieee802154/ |
D | netlink.c | 135 .hdrsize = 0,
|
/Linux-v4.19/drivers/net/wireless/broadcom/b43/ |
D | dma.c | 1264 size_t hdrsize = b43_txhdr_size(ring->dev); in dma_tx_fragment() local 1279 header = &(ring->txhdr_cache[(slot / TX_SLOTS_PER_FRAME) * hdrsize]); in dma_tx_fragment() 1290 hdrsize, 1); in dma_tx_fragment() 1291 if (b43_dma_mapping_error(ring, meta_hdr->dmaaddr, hdrsize, 1)) { in dma_tx_fragment() 1297 hdrsize, 1, 0, 0); in dma_tx_fragment() 1346 hdrsize, 1); in dma_tx_fragment()
|
/Linux-v4.19/net/tipc/ |
D | netlink.c | 260 .hdrsize = 0,
|
/Linux-v4.19/net/netlink/ |
D | genetlink.c | 447 family->hdrsize, flags); in genlmsg_put() 516 hdrlen = GENL_HDRLEN + family->hdrsize; in genl_family_rcv_msg() 659 nla_put_u32(skb, CTRL_ATTR_HDRSIZE, family->hdrsize) || in ctrl_fill_info()
|
/Linux-v4.19/include/linux/ |
D | pe.h | 154 uint16_t hdrsize; /* header size in "paragraphs" */ member
|
/Linux-v4.19/net/core/ |
D | drop_monitor.c | 371 .hdrsize = 0,
|
/Linux-v4.19/fs/xfs/libxfs/ |
D | xfs_dir2_leaf.c | 1678 int hdrsize; in xfs_dir3_leaf_size() local 1683 hdrsize = sizeof(struct xfs_dir2_leaf_hdr); in xfs_dir3_leaf_size() 1685 hdrsize = sizeof(struct xfs_dir3_leaf_hdr); in xfs_dir3_leaf_size() 1687 return hdrsize + entries * sizeof(xfs_dir2_leaf_entry_t) in xfs_dir3_leaf_size()
|