Searched refs:hdrsize (Results 1 – 16 of 16) sorted by relevance
/drivers/infiniband/hw/qib/ |
D | qib_uc.c | 244 u32 hdrsize; in qib_uc_rcv() local 255 hdrsize = 8 + 12; /* LRH + BTH */ in qib_uc_rcv() 258 hdrsize = 8 + 40 + 12; /* LRH + GRH + BTH */ in qib_uc_rcv() 359 if (unlikely(tlen != (hdrsize + pmtu + 4))) in qib_uc_rcv() 370 hdrsize += 4; in qib_uc_rcv() 382 if (unlikely(tlen < (hdrsize + pad + 4))) in qib_uc_rcv() 385 tlen -= (hdrsize + pad + 4); in qib_uc_rcv() 419 hdrsize += sizeof(*reth); in qib_uc_rcv() 450 if (unlikely(tlen != (hdrsize + pmtu + 4))) in qib_uc_rcv() 461 hdrsize += 4; in qib_uc_rcv() [all …]
|
D | qib_rc.c | 1303 u32 psn, u32 hdrsize, u32 pmtu, in qib_rc_rcv_resp() argument 1386 hdrsize += 4; in qib_rc_rcv_resp() 1406 if (unlikely(tlen != (hdrsize + pmtu + 4))) in qib_rc_rcv_resp() 1445 if (unlikely(tlen < (hdrsize + pad + 8))) in qib_rc_rcv_resp() 1470 if (unlikely(tlen <= (hdrsize + pad + 8))) in qib_rc_rcv_resp() 1473 tlen -= hdrsize + pad + 8; in qib_rc_rcv_resp() 1747 u32 hdrsize; in qib_rc_rcv() local 1760 hdrsize = 8 + 12; /* LRH + BTH */ in qib_rc_rcv() 1763 hdrsize = 8 + 40 + 12; /* LRH + GRH + BTH */ in qib_rc_rcv() 1782 hdrsize, pmtu, rcd); in qib_rc_rcv() [all …]
|
D | qib_ud.c | 437 u32 hdrsize; in qib_ud_rcv() local 447 hdrsize = 8 + 12 + 8; /* LRH + BTH + DETH */ in qib_ud_rcv() 450 hdrsize = 8 + 40 + 12 + 8; /* LRH + GRH + BTH + DETH */ in qib_ud_rcv() 460 if (unlikely(tlen < (hdrsize + pad + 4))) in qib_ud_rcv() 463 tlen -= hdrsize + pad + 4; in qib_ud_rcv()
|
/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()
|
/drivers/infiniband/hw/hfi1/ |
D | uc.c | 319 u32 hdrsize = packet->hlen; in hfi1_uc_rcv() local 431 if (unlikely(tlen != (hdrsize + pmtu + extra_bytes))) in hfi1_uc_rcv() 451 if (unlikely(tlen < (hdrsize + extra_bytes))) in hfi1_uc_rcv() 454 tlen -= (hdrsize + extra_bytes); in hfi1_uc_rcv() 529 if (unlikely(tlen != (hdrsize + pmtu + 4))) in hfi1_uc_rcv() 544 if (unlikely(tlen < (hdrsize + pad + 4))) in hfi1_uc_rcv() 547 tlen -= (hdrsize + extra_bytes); in hfi1_uc_rcv() 569 if (unlikely(tlen < (hdrsize + pad + 4))) in hfi1_uc_rcv() 572 tlen -= (hdrsize + extra_bytes); in hfi1_uc_rcv()
|
D | rc.c | 1559 u16 hdrsize = packet->hlen; in rc_rcv_resp() local 1630 if (unlikely(tlen != (hdrsize + pmtu + extra_bytes))) in rc_rcv_resp() 1666 if (unlikely(tlen < (hdrsize + extra_bytes))) in rc_rcv_resp() 1688 if (unlikely(tlen <= (hdrsize + extra_bytes))) in rc_rcv_resp() 1691 tlen -= hdrsize + extra_bytes; in rc_rcv_resp() 2049 u32 hdrsize = packet->hlen; in hfi1_rc_rcv() local 2150 if (unlikely(tlen != (hdrsize + pmtu + extra_bytes))) in hfi1_rc_rcv() 2204 if (unlikely(tlen < (hdrsize + extra_bytes))) in hfi1_rc_rcv() 2207 tlen -= (hdrsize + extra_bytes); in hfi1_rc_rcv()
|
D | ud.c | 849 u32 hdrsize = packet->hlen; in hfi1_ud_rcv() local 895 if (unlikely(tlen < (hdrsize + extra_bytes))) in hfi1_ud_rcv() 898 tlen -= hdrsize + extra_bytes; 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 | 346 unsigned long hdrsize = (sizeof(u32) * NUMBER_OF_COMM_QUEUES) * 2; in aac_comm_init() local 365 size = hdrsize + queuesize; in aac_comm_init() 370 queues = (struct aac_entry *)(((ulong)headers) + hdrsize); in aac_comm_init()
|
/drivers/staging/irda/net/ |
D | irnetlink.c | 146 .hdrsize = 0,
|
/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()
|
/drivers/net/ |
D | gtp.c | 1337 .hdrsize = 0,
|
D | macsec.c | 2687 .hdrsize = 0,
|
/drivers/target/ |
D | target_core_user.c | 308 .hdrsize = 0,
|
/drivers/block/ |
D | nbd.c | 2088 .hdrsize = 0,
|
/drivers/scsi/ |
D | pmcraid.c | 1442 ((struct genl_family *)&pmcraid_event_family)->hdrsize) in pmcraid_notify_aen()
|