Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/block/drbd/
Ddrbd_worker.c370 digest_size = crypto_ahash_digestsize(peer_device->connection->csums_tfm); in w_e_send_csum()
375 drbd_csum_ee(peer_device->connection->csums_tfm, peer_req, digest); in w_e_send_csum()
1207 if (peer_device->connection->csums_tfm) { in w_e_end_csum_rs_req()
1208 digest_size = crypto_ahash_digestsize(peer_device->connection->csums_tfm); in w_e_end_csum_rs_req()
1213 drbd_csum_ee(peer_device->connection->csums_tfm, peer_req, digest); in w_e_end_csum_rs_req()
1732 connection->csums_tfm && /* configured? */ in use_checksum_based_resync()
Ddrbd_nl.c2307 struct crypto_ahash *csums_tfm; member
2348 rv = alloc_ahash(&crypto->csums_tfm, new_net_conf->csums_alg, in alloc_crypto()
2375 crypto_free_ahash(crypto->csums_tfm); in free_crypto()
2453 crypto_free_ahash(connection->csums_tfm); in drbd_adm_net_opts()
2454 connection->csums_tfm = crypto.csums_tfm; in drbd_adm_net_opts()
2455 crypto.csums_tfm = NULL; in drbd_adm_net_opts()
2618 connection->csums_tfm = crypto.csums_tfm; in drbd_adm_connect()
Ddrbd_receiver.c3756 struct crypto_ahash *csums_tfm = NULL; in receive_SyncParam() local
3866 csums_tfm = drbd_crypto_alloc_digest_safe(device, in receive_SyncParam()
3868 if (IS_ERR(csums_tfm)) { in receive_SyncParam()
3869 csums_tfm = NULL; in receive_SyncParam()
3891 if (verify_tfm || csums_tfm) { in receive_SyncParam()
3907 if (csums_tfm) { in receive_SyncParam()
3910 crypto_free_ahash(peer_device->connection->csums_tfm); in receive_SyncParam()
3911 peer_device->connection->csums_tfm = csums_tfm; in receive_SyncParam()
3954 crypto_free_ahash(csums_tfm); in receive_SyncParam()
Ddrbd_main.c2560 crypto_free_ahash(connection->csums_tfm); in conn_free_crypto()
2568 connection->csums_tfm = NULL; in conn_free_crypto()
Ddrbd_int.h729 struct crypto_ahash *csums_tfm; member