Home
last modified time | relevance | path

Searched refs:csums_tfm (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/block/drbd/
H A Ddrbd_worker.c353 digest_size = crypto_shash_digestsize(peer_device->connection->csums_tfm); in w_e_send_csum()
358 drbd_csum_ee(peer_device->connection->csums_tfm, peer_req, digest); in w_e_send_csum()
1175 if (peer_device->connection->csums_tfm) { in w_e_end_csum_rs_req()
1176 digest_size = crypto_shash_digestsize(peer_device->connection->csums_tfm); in w_e_end_csum_rs_req()
1181 drbd_csum_ee(peer_device->connection->csums_tfm, peer_req, digest); in w_e_end_csum_rs_req()
1707 connection->csums_tfm && /* configured? */ in use_checksum_based_resync()
H A Ddrbd_receiver.c3661 struct crypto_shash *csums_tfm = NULL; in receive_SyncParam() local
3771 csums_tfm = drbd_crypto_alloc_digest_safe(device, in receive_SyncParam()
3773 if (IS_ERR(csums_tfm)) { in receive_SyncParam()
3774 csums_tfm = NULL; in receive_SyncParam()
3796 if (verify_tfm || csums_tfm) { in receive_SyncParam()
3810 if (csums_tfm) { in receive_SyncParam()
3813 crypto_free_shash(peer_device->connection->csums_tfm); in receive_SyncParam()
3814 peer_device->connection->csums_tfm = csums_tfm; in receive_SyncParam()
3857 crypto_free_shash(csums_tfm); in receive_SyncParam()
H A Ddrbd_int.h654 struct crypto_shash *csums_tfm; member
H A Ddrbd_main.c2444 crypto_free_shash(connection->csums_tfm); in conn_free_crypto()
2452 connection->csums_tfm = NULL; in conn_free_crypto()