Searched refs:mpa_crc_hd (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/ |
H A D | siw_qp.c | 238 c_tx->mpa_crc_hd = kzalloc(size, GFP_KERNEL); in siw_qp_enable_crc() 239 c_rx->mpa_crc_hd = kzalloc(size, GFP_KERNEL); in siw_qp_enable_crc() 240 if (!c_tx->mpa_crc_hd || !c_rx->mpa_crc_hd) { in siw_qp_enable_crc() 241 kfree(c_tx->mpa_crc_hd); in siw_qp_enable_crc() 242 kfree(c_rx->mpa_crc_hd); in siw_qp_enable_crc() 243 c_tx->mpa_crc_hd = NULL; in siw_qp_enable_crc() 244 c_rx->mpa_crc_hd = NULL; in siw_qp_enable_crc() 247 c_tx->mpa_crc_hd->tfm = siw_crypto_shash; in siw_qp_enable_crc() 248 c_rx->mpa_crc_hd in siw_qp_enable_crc() [all...] |
H A D | siw_qp_tx.c | 253 if (c_tx->mpa_crc_hd) { in siw_qp_prepare_tx() 254 crypto_shash_init(c_tx->mpa_crc_hd); in siw_qp_prepare_tx() 255 if (crypto_shash_update(c_tx->mpa_crc_hd, in siw_qp_prepare_tx() 259 crypto_shash_final(c_tx->mpa_crc_hd, (u8 *)crc); in siw_qp_prepare_tx() 477 crypto_shash_update(c_tx->mpa_crc_hd, in siw_tx_hdt() 516 c_tx->mpa_crc_hd, in siw_tx_hdt() 520 crypto_shash_update(c_tx->mpa_crc_hd, in siw_tx_hdt() 541 c_tx->mpa_crc_hd, in siw_tx_hdt() 580 crypto_shash_update(c_tx->mpa_crc_hd, in siw_tx_hdt() 584 if (!c_tx->mpa_crc_hd) in siw_tx_hdt() [all...] |
H A D | siw_qp_rx.c | 70 if (srx->mpa_crc_hd) { in siw_rx_umem() 72 crypto_shash_update(srx->mpa_crc_hd, in siw_rx_umem() 117 if (srx->mpa_crc_hd) in siw_rx_kva() 118 crypto_shash_update(srx->mpa_crc_hd, (u8 *)kva, len); in siw_rx_kva() 981 if (!srx->mpa_crc_hd) in siw_get_trailer() 985 crypto_shash_update(srx->mpa_crc_hd, tbuf, srx->pad); in siw_get_trailer() 990 crypto_shash_final(srx->mpa_crc_hd, (u8 *)&crc_own); in siw_get_trailer() 1116 if (srx->mpa_crc_hd) { in siw_get_hdr() 1120 crypto_shash_init(srx->mpa_crc_hd); in siw_get_hdr() 1121 crypto_shash_update(srx->mpa_crc_hd, (u in siw_get_hdr() [all...] |
H A D | siw.h | 316 struct shash_desc *mpa_crc_hd; member 396 struct shash_desc *mpa_crc_hd; member 691 __wsum crc = *(u32 *)shash_desc_ctx(srx->mpa_crc_hd); in siw_crc_skb() 695 *(u32 *)shash_desc_ctx(srx->mpa_crc_hd) = crc; in siw_crc_skb()
|
H A D | siw_verbs.c | 620 kfree(qp->tx_ctx.mpa_crc_hd); in siw_destroy_qp() 621 kfree(qp->rx_stream.mpa_crc_hd); in siw_destroy_qp()
|
/kernel/linux/linux-6.6/drivers/infiniband/sw/siw/ |
H A D | siw_qp.c | 241 c_tx->mpa_crc_hd = kzalloc(size, GFP_KERNEL); in siw_qp_enable_crc() 242 c_rx->mpa_crc_hd = kzalloc(size, GFP_KERNEL); in siw_qp_enable_crc() 243 if (!c_tx->mpa_crc_hd || !c_rx->mpa_crc_hd) { in siw_qp_enable_crc() 244 kfree(c_tx->mpa_crc_hd); in siw_qp_enable_crc() 245 kfree(c_rx->mpa_crc_hd); in siw_qp_enable_crc() 246 c_tx->mpa_crc_hd = NULL; in siw_qp_enable_crc() 247 c_rx->mpa_crc_hd = NULL; in siw_qp_enable_crc() 250 c_tx->mpa_crc_hd->tfm = siw_crypto_shash; in siw_qp_enable_crc() 251 c_rx->mpa_crc_hd in siw_qp_enable_crc() [all...] |
H A D | siw_qp_tx.c | 252 if (c_tx->mpa_crc_hd) { in siw_qp_prepare_tx() 253 crypto_shash_init(c_tx->mpa_crc_hd); in siw_qp_prepare_tx() 254 if (crypto_shash_update(c_tx->mpa_crc_hd, in siw_qp_prepare_tx() 258 crypto_shash_final(c_tx->mpa_crc_hd, (u8 *)crc); in siw_qp_prepare_tx() 489 crypto_shash_update(c_tx->mpa_crc_hd, in siw_tx_hdt() 530 c_tx->mpa_crc_hd, in siw_tx_hdt() 535 crypto_shash_update(c_tx->mpa_crc_hd, in siw_tx_hdt() 550 c_tx->mpa_crc_hd, in siw_tx_hdt() 589 crypto_shash_update(c_tx->mpa_crc_hd, in siw_tx_hdt() 593 if (!c_tx->mpa_crc_hd) in siw_tx_hdt() [all...] |
H A D | siw_qp_rx.c | 70 if (srx->mpa_crc_hd) { in siw_rx_umem() 72 crypto_shash_update(srx->mpa_crc_hd, in siw_rx_umem() 117 if (srx->mpa_crc_hd) in siw_rx_kva() 118 crypto_shash_update(srx->mpa_crc_hd, (u8 *)kva, len); in siw_rx_kva() 981 if (!srx->mpa_crc_hd) in siw_get_trailer() 985 crypto_shash_update(srx->mpa_crc_hd, tbuf, srx->pad); in siw_get_trailer() 990 crypto_shash_final(srx->mpa_crc_hd, (u8 *)&crc_own); in siw_get_trailer() 1116 if (srx->mpa_crc_hd) { in siw_get_hdr() 1120 crypto_shash_init(srx->mpa_crc_hd); in siw_get_hdr() 1121 crypto_shash_update(srx->mpa_crc_hd, (u in siw_get_hdr() [all...] |
H A D | siw.h | 317 struct shash_desc *mpa_crc_hd; member 397 struct shash_desc *mpa_crc_hd; member 694 __wsum crc = *(u32 *)shash_desc_ctx(srx->mpa_crc_hd); in siw_crc_skb() 698 *(u32 *)shash_desc_ctx(srx->mpa_crc_hd) = crc; in siw_crc_skb()
|
H A D | siw_verbs.c | 623 kfree(qp->tx_ctx.mpa_crc_hd); in siw_destroy_qp() 624 kfree(qp->rx_stream.mpa_crc_hd); in siw_destroy_qp()
|
Completed in 14 milliseconds