Home
last modified time | relevance | path

Searched refs:old_net_conf (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/block/drbd/
Ddrbd_nl.c2001 _check_net_options(struct drbd_connection *connection, struct net_conf *old_net_conf, struct net_co… in _check_net_options() argument
2006 …if (old_net_conf && connection->cstate == C_WF_REPORT_PARAMS && connection->agreed_pro_version < 1… in _check_net_options()
2007 if (new_net_conf->wire_protocol != old_net_conf->wire_protocol) in _check_net_options()
2010 if (new_net_conf->two_primaries != old_net_conf->two_primaries) in _check_net_options()
2013 if (strcmp(new_net_conf->integrity_alg, old_net_conf->integrity_alg)) in _check_net_options()
2131 struct net_conf *old_net_conf, *new_net_conf = NULL; in drbd_adm_net_opts() local
2156 old_net_conf = connection->net_conf; in drbd_adm_net_opts()
2158 if (!old_net_conf) { in drbd_adm_net_opts()
2164 *new_net_conf = *old_net_conf; in drbd_adm_net_opts()
2181 if (rsr && strcmp(new_net_conf->csums_alg, old_net_conf->csums_alg)) { in drbd_adm_net_opts()
[all …]
Ddrbd_receiver.c3296 struct net_conf *nc, *old_net_conf, *new_net_conf = NULL; in receive_protocol() local
3403 old_net_conf = connection->net_conf; in receive_protocol()
3404 *new_net_conf = *old_net_conf; in receive_protocol()
3423 if (strcmp(old_net_conf->integrity_alg, integrity_alg)) in receive_protocol()
3428 kfree(old_net_conf); in receive_protocol()
3509 struct net_conf *old_net_conf, *new_net_conf = NULL; in receive_SyncParam() local
3555 old_net_conf = peer_device->connection->net_conf; in receive_SyncParam()
3598 if (strcmp(old_net_conf->verify_alg, p->verify_alg)) { in receive_SyncParam()
3601 old_net_conf->verify_alg, p->verify_alg); in receive_SyncParam()
3612 if (apv >= 89 && strcmp(old_net_conf->csums_alg, p->csums_alg)) { in receive_SyncParam()
[all …]