Searched refs:csums_tfm (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/drivers/block/drbd/ |
H A D | drbd_worker.c | 358 digest_size = crypto_shash_digestsize(peer_device->connection->csums_tfm); in w_e_send_csum() 363 drbd_csum_ee(peer_device->connection->csums_tfm, peer_req, digest); in w_e_send_csum() 1195 if (peer_device->connection->csums_tfm) { in w_e_end_csum_rs_req() 1196 digest_size = crypto_shash_digestsize(peer_device->connection->csums_tfm); in w_e_end_csum_rs_req() 1201 drbd_csum_ee(peer_device->connection->csums_tfm, peer_req, digest); in w_e_end_csum_rs_req() 1720 connection->csums_tfm && /* configured? */ in use_checksum_based_resync()
|
H A D | drbd_receiver.c | 3886 struct crypto_shash *csums_tfm = NULL; in receive_SyncParam() local 3996 csums_tfm = drbd_crypto_alloc_digest_safe(device, in receive_SyncParam() 3998 if (IS_ERR(csums_tfm)) { in receive_SyncParam() 3999 csums_tfm = NULL; in receive_SyncParam() 4021 if (verify_tfm || csums_tfm) { in receive_SyncParam() 4037 if (csums_tfm) { in receive_SyncParam() 4040 crypto_free_shash(peer_device->connection->csums_tfm); in receive_SyncParam() 4041 peer_device->connection->csums_tfm = csums_tfm; in receive_SyncParam() 4083 * as this is not reached if csums_tfm wa in receive_SyncParam() [all...] |
H A D | drbd_nl.c | 2362 struct crypto_shash *csums_tfm; member 2388 rv = alloc_shash(&crypto->csums_tfm, new_net_conf->csums_alg, in alloc_crypto() 2415 crypto_free_shash(crypto->csums_tfm); in free_crypto() 2493 crypto_free_shash(connection->csums_tfm); in drbd_adm_net_opts() 2494 connection->csums_tfm = crypto.csums_tfm; in drbd_adm_net_opts() 2495 crypto.csums_tfm = NULL; in drbd_adm_net_opts() 2658 connection->csums_tfm = crypto.csums_tfm; in drbd_adm_connect()
|
H A D | drbd_main.c | 2514 crypto_free_shash(connection->csums_tfm); in conn_free_crypto() 2522 connection->csums_tfm = NULL; in conn_free_crypto()
|
H A D | drbd_int.h | 722 struct crypto_shash *csums_tfm; member
|
/kernel/linux/linux-6.6/drivers/block/drbd/ |
H A D | drbd_worker.c | 353 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() 1194 if (peer_device->connection->csums_tfm) { in w_e_end_csum_rs_req() 1195 digest_size = crypto_shash_digestsize(peer_device->connection->csums_tfm); in w_e_end_csum_rs_req() 1200 drbd_csum_ee(peer_device->connection->csums_tfm, peer_req, digest); in w_e_end_csum_rs_req() 1725 connection->csums_tfm && /* configured? */ in use_checksum_based_resync()
|
H A D | drbd_receiver.c | 3845 struct crypto_shash *csums_tfm = NULL; in receive_SyncParam() local 3955 csums_tfm = drbd_crypto_alloc_digest_safe(device, in receive_SyncParam() 3957 if (IS_ERR(csums_tfm)) { in receive_SyncParam() 3958 csums_tfm = NULL; in receive_SyncParam() 3980 if (verify_tfm || csums_tfm) { in receive_SyncParam() 3994 if (csums_tfm) { in receive_SyncParam() 3997 crypto_free_shash(peer_device->connection->csums_tfm); in receive_SyncParam() 3998 peer_device->connection->csums_tfm = csums_tfm; in receive_SyncParam() 4040 * as this is not reached if csums_tfm wa in receive_SyncParam() [all...] |
H A D | drbd_nl.c | 2306 struct crypto_shash *csums_tfm; member 2332 rv = alloc_shash(&crypto->csums_tfm, new_net_conf->csums_alg, in alloc_crypto() 2359 crypto_free_shash(crypto->csums_tfm); in free_crypto() 2437 crypto_free_shash(connection->csums_tfm); in drbd_adm_net_opts() 2438 connection->csums_tfm = crypto.csums_tfm; in drbd_adm_net_opts() 2439 crypto.csums_tfm = NULL; in drbd_adm_net_opts() 2602 connection->csums_tfm = crypto.csums_tfm; in drbd_adm_connect()
|
H A D | drbd_main.c | 2478 crypto_free_shash(connection->csums_tfm); in conn_free_crypto() 2486 connection->csums_tfm = NULL; in conn_free_crypto()
|
H A D | drbd_int.h | 652 struct crypto_shash *csums_tfm; member
|
Completed in 46 milliseconds