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

/linux-4.1.27/drivers/block/drbd/
H A Ddrbd_nl.c2001 _check_net_options(struct drbd_connection *connection, struct net_conf *old_net_conf, struct net_conf *new_net_conf) _check_net_options() argument
2006 if (old_net_conf && connection->cstate == C_WF_REPORT_PARAMS && connection->agreed_pro_version < 100) { _check_net_options()
2007 if (new_net_conf->wire_protocol != old_net_conf->wire_protocol) _check_net_options()
2010 if (new_net_conf->two_primaries != old_net_conf->two_primaries) _check_net_options()
2013 if (strcmp(new_net_conf->integrity_alg, old_net_conf->integrity_alg)) _check_net_options()
2131 struct net_conf *old_net_conf, *new_net_conf = NULL; drbd_adm_net_opts() local
2156 old_net_conf = connection->net_conf; drbd_adm_net_opts()
2158 if (!old_net_conf) { drbd_adm_net_opts()
2164 *new_net_conf = *old_net_conf; drbd_adm_net_opts()
2181 if (rsr && strcmp(new_net_conf->csums_alg, old_net_conf->csums_alg)) { drbd_adm_net_opts()
2188 if (ovr && strcmp(new_net_conf->verify_alg, old_net_conf->verify_alg)) { drbd_adm_net_opts()
2222 kfree(old_net_conf); drbd_adm_net_opts()
2252 struct net_conf *old_net_conf, *new_net_conf = NULL; drbd_adm_connect() local
2331 old_net_conf = connection->net_conf;
2332 if (old_net_conf) {
H A Ddrbd_receiver.c3295 struct net_conf *nc, *old_net_conf, *new_net_conf = NULL; receive_protocol() local
3402 old_net_conf = connection->net_conf; receive_protocol()
3403 *new_net_conf = *old_net_conf; receive_protocol()
3422 if (strcmp(old_net_conf->integrity_alg, integrity_alg)) receive_protocol()
3427 kfree(old_net_conf); receive_protocol()
3508 struct net_conf *old_net_conf, *new_net_conf = NULL; receive_SyncParam() local
3554 old_net_conf = peer_device->connection->net_conf; receive_SyncParam()
3597 if (strcmp(old_net_conf->verify_alg, p->verify_alg)) { receive_SyncParam()
3600 old_net_conf->verify_alg, p->verify_alg); receive_SyncParam()
3611 if (apv >= 89 && strcmp(old_net_conf->csums_alg, p->csums_alg)) { receive_SyncParam()
3614 old_net_conf->csums_alg, p->csums_alg); receive_SyncParam()
3649 *new_net_conf = *old_net_conf; receive_SyncParam()
3682 kfree(old_net_conf); receive_SyncParam()

Completed in 201 milliseconds