Searched refs:mpa_crc_hd (Results 1 - 5 of 5) sorted by relevance

/linux-master/drivers/infiniband/sw/siw/
H A Dsiw_qp.c241 c_tx->mpa_crc_hd = kzalloc(size, GFP_KERNEL);
242 c_rx->mpa_crc_hd = kzalloc(size, GFP_KERNEL);
243 if (!c_tx->mpa_crc_hd || !c_rx->mpa_crc_hd) {
244 kfree(c_tx->mpa_crc_hd);
245 kfree(c_rx->mpa_crc_hd);
246 c_tx->mpa_crc_hd = NULL;
247 c_rx->mpa_crc_hd = NULL;
250 c_tx->mpa_crc_hd->tfm = siw_crypto_shash;
251 c_rx->mpa_crc_hd
[all...]
H A Dsiw_qp_tx.c251 if (c_tx->mpa_crc_hd &&
252 crypto_shash_digest(c_tx->mpa_crc_hd, (u8 *)&c_tx->pkt,
483 crypto_shash_update(c_tx->mpa_crc_hd,
518 c_tx->mpa_crc_hd,
523 crypto_shash_update(c_tx->mpa_crc_hd,
538 c_tx->mpa_crc_hd,
577 crypto_shash_update(c_tx->mpa_crc_hd,
581 if (!c_tx->mpa_crc_hd)
584 crypto_shash_final(c_tx->mpa_crc_hd, (u8 *)&c_tx->trailer.crc);
737 if (c_tx->mpa_crc_hd) {
[all...]
H A Dsiw_qp_rx.c70 if (srx->mpa_crc_hd) {
72 crypto_shash_update(srx->mpa_crc_hd,
117 if (srx->mpa_crc_hd)
118 crypto_shash_update(srx->mpa_crc_hd, (u8 *)kva, len);
969 if (!srx->mpa_crc_hd)
973 crypto_shash_update(srx->mpa_crc_hd, tbuf, srx->pad);
978 crypto_shash_final(srx->mpa_crc_hd, (u8 *)&crc_own);
1096 if (srx->mpa_crc_hd) {
1100 crypto_shash_init(srx->mpa_crc_hd);
1101 crypto_shash_update(srx->mpa_crc_hd, (u
[all...]
H A Dsiw.h295 struct shash_desc *mpa_crc_hd; member in struct:siw_rx_stream
396 struct shash_desc *mpa_crc_hd; member in struct:siw_iwarp_tx
692 __wsum crc = *(u32 *)shash_desc_ctx(srx->mpa_crc_hd);
696 *(u32 *)shash_desc_ctx(srx->mpa_crc_hd) = crc;
H A Dsiw_verbs.c622 kfree(qp->tx_ctx.mpa_crc_hd);
623 kfree(qp->rx_stream.mpa_crc_hd);

Completed in 115 milliseconds