Home
last modified time | relevance | path

Searched refs:hdrsize (Results 1 – 16 of 16) sorted by relevance

/drivers/infiniband/hw/qib/
Dqib_uc.c247 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 …]
Dqib_rc.c1404 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 …]
Dqib_ud.c433 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/
Dipath_uc.c245 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 …]
Dipath_ud.c413 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()
Dipath_rc.c1122 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/
Dfw.c59 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/
Duc.c272 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()
Drc.c1433 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()
Dud.c645 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/
Dnx-842.c172 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/
Dcomminit.c273 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/
Ddma.c1264 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/
Dtarget_core_user.c149 .hdrsize = 0,
/drivers/net/wireless/
Dmac80211_hwsim.c573 .hdrsize = 0,
/drivers/scsi/
Dpmcraid.c1447 ((struct genl_family *)&pmcraid_event_family)->hdrsize) in pmcraid_notify_aen()