/drivers/infiniband/hw/qib/ |
D | qib_uc.c | 247 u32 hdrsize; in qib_uc_rcv() local 258 hdrsize = 8 + 12; /* LRH + BTH */ in qib_uc_rcv() 261 hdrsize = 8 + 40 + 12; /* LRH + GRH + BTH */ in qib_uc_rcv() 371 if (unlikely(tlen != (hdrsize + pmtu + 4))) in qib_uc_rcv() 382 hdrsize += 4; in qib_uc_rcv() 394 if (unlikely(tlen < (hdrsize + pad + 4))) in qib_uc_rcv() 397 tlen -= (hdrsize + pad + 4); in qib_uc_rcv() 431 hdrsize += sizeof(*reth); in qib_uc_rcv() 462 if (unlikely(tlen != (hdrsize + pmtu + 4))) in qib_uc_rcv() 473 hdrsize += 4; in qib_uc_rcv() [all …]
|
D | qib_rc.c | 1404 u32 psn, u32 hdrsize, u32 pmtu, in qib_rc_rcv_resp() argument 1489 hdrsize += 4; in qib_rc_rcv_resp() 1509 if (unlikely(tlen != (hdrsize + pmtu + 4))) in qib_rc_rcv_resp() 1549 if (unlikely(tlen < (hdrsize + pad + 8))) in qib_rc_rcv_resp() 1574 if (unlikely(tlen <= (hdrsize + pad + 8))) in qib_rc_rcv_resp() 1577 tlen -= hdrsize + pad + 8; in qib_rc_rcv_resp() 1870 u32 hdrsize; in qib_rc_rcv() local 1883 hdrsize = 8 + 12; /* LRH + BTH */ in qib_rc_rcv() 1886 hdrsize = 8 + 40 + 12; /* LRH + GRH + BTH */ in qib_rc_rcv() 1905 hdrsize, pmtu, rcd); in qib_rc_rcv() [all …]
|
D | qib_ud.c | 433 u32 hdrsize; in qib_ud_rcv() local 443 hdrsize = 8 + 12 + 8; /* LRH + BTH + DETH */ in qib_ud_rcv() 446 hdrsize = 8 + 40 + 12 + 8; /* LRH + GRH + BTH + DETH */ in qib_ud_rcv() 456 if (unlikely(tlen < (hdrsize + pad + 4))) in qib_ud_rcv() 459 tlen -= hdrsize + pad + 4; in qib_ud_rcv()
|
/drivers/staging/rdma/ipath/ |
D | ipath_uc.c | 245 u32 hdrsize; in ipath_uc_rcv() local 260 hdrsize = 8 + 12; /* LRH + BTH */ in ipath_uc_rcv() 265 hdrsize = 8 + 40 + 12; /* LRH + GRH + BTH */ in ipath_uc_rcv() 365 if (unlikely(tlen != (hdrsize + pmtu + 4))) { in ipath_uc_rcv() 388 hdrsize += 4; in ipath_uc_rcv() 397 if (unlikely(tlen < (hdrsize + pad + 4))) { in ipath_uc_rcv() 403 tlen -= (hdrsize + pad + 4); in ipath_uc_rcv() 436 hdrsize += sizeof(*reth); in ipath_uc_rcv() 471 if (unlikely(tlen != (hdrsize + pmtu + 4))) { in ipath_uc_rcv() 492 hdrsize += 4; in ipath_uc_rcv() [all …]
|
D | ipath_ud.c | 413 u32 hdrsize; in ipath_ud_rcv() local 424 hdrsize = 8 + 12 + 8; /* LRH + BTH + DETH */ in ipath_ud_rcv() 430 hdrsize = 8 + 40 + 12 + 8; /* LRH + GRH + BTH + DETH */ in ipath_ud_rcv() 487 hdrsize += sizeof(u32); in ipath_ud_rcv() 498 if (unlikely(tlen < (hdrsize + pad + 4))) { in ipath_ud_rcv() 503 tlen -= hdrsize + pad + 4; in ipath_ud_rcv()
|
D | ipath_rc.c | 1122 u32 psn, u32 hdrsize, u32 pmtu, in ipath_rc_rcv_resp() argument 1188 hdrsize += 4; in ipath_rc_rcv_resp() 1215 if (unlikely(tlen != (hdrsize + pmtu + 4))) in ipath_rc_rcv_resp() 1254 if (unlikely(tlen < (hdrsize + pad + 8))) in ipath_rc_rcv_resp() 1285 if (unlikely(tlen <= (hdrsize + pad + 8))) in ipath_rc_rcv_resp() 1288 tlen -= hdrsize + pad + 8; in ipath_rc_rcv_resp() 1575 u32 hdrsize; in ipath_rc_rcv() local 1592 hdrsize = 8 + 12; /* LRH + BTH */ in ipath_rc_rcv() 1597 hdrsize = 8 + 40 + 12; /* LRH + GRH + BTH */ in ipath_rc_rcv() 1621 hdrsize, pmtu, header_in_data); in ipath_rc_rcv() [all …]
|
/drivers/net/wireless/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()
|
/drivers/staging/rdma/hfi1/ |
D | uc.c | 272 u32 hdrsize = packet->hlen; in hfi1_uc_rcv() local 412 if (unlikely(tlen != (hdrsize + pmtu + 4))) in hfi1_uc_rcv() 434 if (unlikely(tlen < (hdrsize + pad + 4))) in hfi1_uc_rcv() 437 tlen -= (hdrsize + pad + 4); in hfi1_uc_rcv() 512 if (unlikely(tlen != (hdrsize + pmtu + 4))) in hfi1_uc_rcv() 529 if (unlikely(tlen < (hdrsize + pad + 4))) in hfi1_uc_rcv() 532 tlen -= (hdrsize + pad + 4); in hfi1_uc_rcv() 556 if (unlikely(tlen < (hdrsize + pad + 4))) in hfi1_uc_rcv() 559 tlen -= (hdrsize + pad + 4); in hfi1_uc_rcv()
|
D | rc.c | 1433 u32 opcode, u32 psn, u32 hdrsize, u32 pmtu, in rc_rcv_resp() argument 1513 if (unlikely(tlen != (hdrsize + pmtu + 4))) in rc_rcv_resp() 1552 if (unlikely(tlen < (hdrsize + pad + 4))) in rc_rcv_resp() 1576 if (unlikely(tlen <= (hdrsize + pad + 4))) in rc_rcv_resp() 1579 tlen -= hdrsize + pad + 4; in rc_rcv_resp() 1948 u32 hdrsize = packet->hlen; in hfi1_rc_rcv() local 1992 hdrsize, pmtu, rcd); in hfi1_rc_rcv() 2057 if (unlikely(tlen != (hdrsize + pmtu + 4))) in hfi1_rc_rcv() 2100 if (unlikely(tlen < (hdrsize + pad + 4))) in hfi1_rc_rcv() 2103 tlen -= (hdrsize + pad + 4); in hfi1_rc_rcv()
|
D | ud.c | 645 u32 hdrsize = packet->hlen; in hfi1_ud_rcv() local 710 if (unlikely(tlen < (hdrsize + pad + 4))) in hfi1_ud_rcv() 713 tlen -= hdrsize + pad + 4; in hfi1_ud_rcv()
|
/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()
|
/drivers/scsi/aacraid/ |
D | comminit.c | 273 unsigned long hdrsize = (sizeof(u32) * NUMBER_OF_COMM_QUEUES) * 2; in aac_comm_init() local 292 size = hdrsize + queuesize; in aac_comm_init() 297 queues = (struct aac_entry *)(((ulong)headers) + hdrsize); in aac_comm_init()
|
/drivers/net/wireless/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()
|
/drivers/target/ |
D | target_core_user.c | 149 .hdrsize = 0,
|
/drivers/net/wireless/ |
D | mac80211_hwsim.c | 573 .hdrsize = 0,
|
/drivers/scsi/ |
D | pmcraid.c | 1447 ((struct genl_family *)&pmcraid_event_family)->hdrsize) in pmcraid_notify_aen()
|