Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/block/drbd/
Ddrbd_protocol.h281 char csums_alg[SHARED_SECRET_MAX]; member
287 char csums_alg[SHARED_SECRET_MAX]; member
Ddrbd_receiver.c3970 D_ASSERT(device, p->csums_alg[SHARED_SECRET_MAX-1] == 0); in receive_SyncParam()
3972 p->csums_alg[SHARED_SECRET_MAX-1] = 0; in receive_SyncParam()
3989 if (apv >= 89 && strcmp(old_net_conf->csums_alg, p->csums_alg)) { in receive_SyncParam()
3992 old_net_conf->csums_alg, p->csums_alg); in receive_SyncParam()
3996 p->csums_alg, "csums-alg"); in receive_SyncParam()
4037 strcpy(new_net_conf->csums_alg, p->csums_alg); in receive_SyncParam()
4038 new_net_conf->csums_alg_len = strlen(p->csums_alg) + 1; in receive_SyncParam()
4041 drbd_info(device, "using csums-alg: \"%s\"\n", p->csums_alg); in receive_SyncParam()
Ddrbd_nl.c2395 rv = alloc_shash(&crypto->csums_tfm, new_net_conf->csums_alg, in alloc_crypto()
2481 if (rsr && strcmp(new_net_conf->csums_alg, old_net_conf->csums_alg)) { in drbd_adm_net_opts()
Ddrbd_main.c766 strcpy(p->csums_alg, nc->csums_alg); in drbd_send_sync_param()
/Linux-v5.4/include/linux/
Ddrbd_genl.h151 __str_field_def(5, DRBD_GENLA_F_MANDATORY, csums_alg, SHARED_SECRET_MAX)