/linux-6.1.9/scripts/dtc/libfdt/ |
D | fdt.c | 52 static int check_off_(uint32_t hdrsize, uint32_t totalsize, uint32_t off) in check_off_() argument 54 return (off >= hdrsize) && (off <= totalsize); in check_off_() 57 static int check_block_(uint32_t hdrsize, uint32_t totalsize, in check_block_() argument 60 if (!check_off_(hdrsize, totalsize, base)) in check_block_() 64 if (!check_off_(hdrsize, totalsize, base + size)) in check_block_() 91 size_t hdrsize; in fdt_check_header() local 107 hdrsize = fdt_header_size(fdt); in fdt_check_header() 110 if ((fdt_totalsize(fdt) < hdrsize) in fdt_check_header() 115 if (!check_off_(hdrsize, fdt_totalsize(fdt), in fdt_check_header() 123 if (!check_off_(hdrsize, fdt_totalsize(fdt), in fdt_check_header() [all …]
|
D | fdt_sw.c | 111 const int hdrsize = FDT_ALIGN(sizeof(struct fdt_header), in fdt_create_with_flags() local 115 if (bufsize < hdrsize) in fdt_create_with_flags() 136 fdt_set_off_mem_rsvmap(fdt, hdrsize); in fdt_create_with_flags()
|
/linux-6.1.9/drivers/infiniband/hw/qib/ |
D | qib_uc.c | 243 u32 hdrsize; in qib_uc_rcv() local 254 hdrsize = 8 + 12; /* LRH + BTH */ in qib_uc_rcv() 257 hdrsize = 8 + 40 + 12; /* LRH + GRH + BTH */ in qib_uc_rcv() 358 if (unlikely(tlen != (hdrsize + pmtu + 4))) in qib_uc_rcv() 369 hdrsize += 4; in qib_uc_rcv() 381 if (unlikely(tlen < (hdrsize + pad + 4))) in qib_uc_rcv() 384 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 | 1274 u32 psn, u32 hdrsize, u32 pmtu, in qib_rc_rcv_resp() argument 1356 hdrsize += 4; in qib_rc_rcv_resp() 1376 if (unlikely(tlen != (hdrsize + pmtu + 4))) in qib_rc_rcv_resp() 1416 if (unlikely(tlen < (hdrsize + pad + 8))) in qib_rc_rcv_resp() 1441 if (unlikely(tlen <= (hdrsize + pad + 8))) in qib_rc_rcv_resp() 1444 tlen -= hdrsize + pad + 8; in qib_rc_rcv_resp() 1720 u32 hdrsize; in qib_rc_rcv() local 1733 hdrsize = 8 + 12; /* LRH + BTH */ in qib_rc_rcv() 1736 hdrsize = 8 + 40 + 12; /* LRH + GRH + BTH */ in qib_rc_rcv() 1755 hdrsize, pmtu, rcd); in qib_rc_rcv() [all …]
|
D | qib_ud.c | 432 u32 hdrsize; in qib_ud_rcv() local 442 hdrsize = 8 + 12 + 8; /* LRH + BTH + DETH */ in qib_ud_rcv() 445 hdrsize = 8 + 40 + 12 + 8; /* LRH + GRH + BTH + DETH */ in qib_ud_rcv() 455 if (unlikely(tlen < (hdrsize + pad + 4))) in qib_ud_rcv() 458 tlen -= hdrsize + pad + 4; in qib_ud_rcv()
|
/linux-6.1.9/net/netfilter/ |
D | nf_flow_table_ip.c | 167 struct flow_offload_tuple *tuple, u32 *hdrsize, in nf_flow_tuple_ip() argument 190 *hdrsize = sizeof(struct tcphdr); in nf_flow_tuple_ip() 193 *hdrsize = sizeof(struct udphdr); in nf_flow_tuple_ip() 197 *hdrsize = sizeof(struct gre_base_hdr); in nf_flow_tuple_ip() 207 if (!pskb_may_pull(skb, thoff + *hdrsize)) in nf_flow_tuple_ip() 349 u32 hdrsize, offset = 0; in nf_flow_offload_ip_hook() local 360 if (nf_flow_tuple_ip(skb, state->in, &tuple, &hdrsize, offset) < 0) in nf_flow_offload_ip_hook() 384 if (skb_try_make_writable(skb, thoff + hdrsize)) in nf_flow_offload_ip_hook() 535 struct flow_offload_tuple *tuple, u32 *hdrsize, in nf_flow_tuple_ipv6() argument 552 *hdrsize = sizeof(struct tcphdr); in nf_flow_tuple_ipv6() [all …]
|
D | nf_nat_proto.c | 106 int hdrsize = 8; in sctp_manip_pkt() local 113 hdrsize = sizeof(*hdr); in sctp_manip_pkt() 115 if (skb_ensure_writable(skb, hdroff + hdrsize)) in sctp_manip_pkt() 128 if (hdrsize < sizeof(*hdr)) in sctp_manip_pkt() 148 int hdrsize = 8; /* TCP connection tracking guarantees this much */ in tcp_manip_pkt() local 154 hdrsize = sizeof(struct tcphdr); in tcp_manip_pkt() 156 if (skb_ensure_writable(skb, hdroff + hdrsize)) in tcp_manip_pkt() 174 if (hdrsize < sizeof(*hdr)) in tcp_manip_pkt() 191 int hdrsize = 8; /* DCCP connection tracking guarantees this much */ in dccp_manip_pkt() local 194 hdrsize = sizeof(struct dccp_hdr); in dccp_manip_pkt() [all …]
|
/linux-6.1.9/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-6.1.9/drivers/infiniband/hw/hfi1/ |
D | uc.c | 267 u32 hdrsize = packet->hlen; in hfi1_uc_rcv() local 379 if (unlikely(tlen != (hdrsize + pmtu + extra_bytes))) in hfi1_uc_rcv() 399 if (unlikely(tlen < (hdrsize + extra_bytes))) in hfi1_uc_rcv() 402 tlen -= (hdrsize + extra_bytes); in hfi1_uc_rcv() 475 if (unlikely(tlen != (hdrsize + pmtu + 4))) in hfi1_uc_rcv() 490 if (unlikely(tlen < (hdrsize + pad + 4))) in hfi1_uc_rcv() 493 tlen -= (hdrsize + extra_bytes); in hfi1_uc_rcv() 515 if (unlikely(tlen < (hdrsize + pad + 4))) in hfi1_uc_rcv() 518 tlen -= (hdrsize + extra_bytes); in hfi1_uc_rcv()
|
D | rc.c | 2318 u16 hdrsize = packet->hlen; in rc_rcv_resp() local 2388 if (unlikely(tlen != (hdrsize + pmtu + extra_bytes))) in rc_rcv_resp() 2425 if (unlikely(tlen < (hdrsize + extra_bytes))) in rc_rcv_resp() 2447 if (unlikely(tlen <= (hdrsize + extra_bytes))) in rc_rcv_resp() 2450 tlen -= hdrsize + extra_bytes; in rc_rcv_resp() 2773 u32 hdrsize = packet->hlen; in hfi1_rc_rcv() local 2872 if (unlikely(tlen != (hdrsize + pmtu + extra_bytes))) in hfi1_rc_rcv() 2926 if (unlikely(tlen < (hdrsize + extra_bytes))) in hfi1_rc_rcv() 2929 tlen -= (hdrsize + extra_bytes); in hfi1_rc_rcv()
|
/linux-6.1.9/drivers/crypto/nx/ |
D | nx-842.c | 163 unsigned int hdrsize) in compress() argument 174 if (p->oremain == 0 || hdrsize + c->minimum > dlen) in compress() 194 dst += hdrsize; in compress() 195 dlen -= hdrsize; in compress() 229 dskip += hdrsize; in compress() 257 unsigned int groups, hdrsize, h; in nx842_crypto_compress() local 274 hdrsize = NX842_CRYPTO_HEADER_SIZE(groups); in nx842_crypto_compress() 299 h = !n && add_header ? hdrsize : 0; in nx842_crypto_compress()
|
/linux-6.1.9/fs/xfs/scrub/ |
D | attr.c | 319 unsigned int hdrsize; in xchk_xattr_block() local 352 hdrsize = xfs_attr3_leaf_hdr_size(leaf); in xchk_xattr_block() 358 if (leafhdr.firstused < hdrsize) in xchk_xattr_block() 360 if (!xchk_xattr_set_map(ds->sc, usedmap, 0, hdrsize)) in xchk_xattr_block() 413 int hdrsize; in xchk_xattr_rec() local 435 hdrsize = xfs_attr3_leaf_hdr_size(bp->b_addr); in xchk_xattr_rec() 437 if (nameidx < hdrsize || nameidx >= mp->m_attr_geo->blksize) { in xchk_xattr_rec()
|
/linux-6.1.9/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 | 368 if (mtu < peer->hdrsize) in rxrpc_adjust_mtu() 369 mtu = peer->hdrsize + 4; in rxrpc_adjust_mtu() 376 peer->maxdata = peer->mtu - peer->hdrsize; in rxrpc_adjust_mtu()
|
/linux-6.1.9/include/net/ |
D | genetlink.h | 62 unsigned int hdrsize; member 238 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse_deprecated() 257 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse()
|
/linux-6.1.9/net/sched/ |
D | act_ct.c | 456 size_t hdrsize; in tcf_ct_flow_table_fill_tuple_ipv4() local 472 hdrsize = sizeof(struct tcphdr); in tcf_ct_flow_table_fill_tuple_ipv4() 475 hdrsize = sizeof(*ports); in tcf_ct_flow_table_fill_tuple_ipv4() 479 hdrsize = sizeof(struct gre_base_hdr); in tcf_ct_flow_table_fill_tuple_ipv4() 489 if (!pskb_network_may_pull(skb, thoff + hdrsize)) in tcf_ct_flow_table_fill_tuple_ipv4() 529 size_t hdrsize; in tcf_ct_flow_table_fill_tuple_ipv6() local 541 hdrsize = sizeof(struct tcphdr); in tcf_ct_flow_table_fill_tuple_ipv6() 544 hdrsize = sizeof(*ports); in tcf_ct_flow_table_fill_tuple_ipv6() 548 hdrsize = sizeof(struct gre_base_hdr); in tcf_ct_flow_table_fill_tuple_ipv6() 558 if (!pskb_network_may_pull(skb, thoff + hdrsize)) in tcf_ct_flow_table_fill_tuple_ipv6()
|
/linux-6.1.9/fs/cifs/ |
D | netlink.c | 48 .hdrsize = 0,
|
/linux-6.1.9/fs/quota/ |
D | netlink.c | 18 .hdrsize = 0,
|
/linux-6.1.9/net/smc/ |
D | smc_netlink.c | 137 .hdrsize = 0,
|
/linux-6.1.9/net/ipv6/ila/ |
D | ila_main.c | 48 .hdrsize = 0,
|
/linux-6.1.9/drivers/scsi/aacraid/ |
D | comminit.c | 370 unsigned long hdrsize = (sizeof(u32) * NUMBER_OF_COMM_QUEUES) * 2; in aac_comm_init() local 389 size = hdrsize + queuesize; in aac_comm_init() 394 queues = (struct aac_entry *)(((ulong)headers) + hdrsize); in aac_comm_init()
|
/linux-6.1.9/net/ieee802154/ |
D | netlink.c | 127 .hdrsize = 0,
|
/linux-6.1.9/drivers/net/wireless/broadcom/b43/ |
D | dma.c | 1202 size_t hdrsize = b43_txhdr_size(ring->dev); in dma_tx_fragment() local 1217 header = &(ring->txhdr_cache[(slot / TX_SLOTS_PER_FRAME) * hdrsize]); in dma_tx_fragment() 1228 hdrsize, 1); in dma_tx_fragment() 1229 if (b43_dma_mapping_error(ring, meta_hdr->dmaaddr, hdrsize, 1)) { in dma_tx_fragment() 1235 hdrsize, 1, 0, 0); in dma_tx_fragment() 1284 hdrsize, 1); in dma_tx_fragment()
|
/linux-6.1.9/include/linux/sunrpc/ |
D | clnt.h | 193 unsigned int hdrsize);
|
/linux-6.1.9/net/tipc/ |
D | netlink.c | 290 .hdrsize = 0,
|