Searched refs:old_net_conf (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/block/drbd/ |
H A D | drbd_nl.c | 2229 _check_net_options(struct drbd_connection *connection, struct net_conf *old_net_conf, struct net_conf *new_net_conf) in _check_net_options() argument 2234 if (old_net_conf && connection->cstate == C_WF_REPORT_PARAMS && connection->agreed_pro_version < 100) { in _check_net_options() 2235 if (new_net_conf->wire_protocol != old_net_conf->wire_protocol) in _check_net_options() 2238 if (new_net_conf->two_primaries != old_net_conf->two_primaries) in _check_net_options() 2241 if (strcmp(new_net_conf->integrity_alg, old_net_conf->integrity_alg)) in _check_net_options() 2359 struct net_conf *old_net_conf, *new_net_conf = NULL; in drbd_adm_net_opts() local 2384 old_net_conf = connection->net_conf; in drbd_adm_net_opts() 2386 if (!old_net_conf) { in drbd_adm_net_opts() 2392 *new_net_conf = *old_net_conf; in drbd_adm_net_opts() 2409 if (rsr && strcmp(new_net_conf->csums_alg, old_net_conf in drbd_adm_net_opts() 2502 struct net_conf *old_net_conf, *new_net_conf = NULL; drbd_adm_connect() local [all...] |
H A D | drbd_receiver.c | 3450 struct net_conf *nc, *old_net_conf, *new_net_conf = NULL; in receive_protocol() local 3556 old_net_conf = connection->net_conf; in receive_protocol() 3557 *new_net_conf = *old_net_conf; in receive_protocol() 3576 if (strcmp(old_net_conf->integrity_alg, integrity_alg)) in receive_protocol() 3580 kvfree_rcu_mightsleep(old_net_conf); in receive_protocol() 3662 struct net_conf *old_net_conf, *new_net_conf = NULL; in receive_SyncParam() local 3709 old_net_conf = peer_device->connection->net_conf; in receive_SyncParam() 3751 if (strcmp(old_net_conf->verify_alg, p->verify_alg)) { in receive_SyncParam() 3754 old_net_conf->verify_alg, p->verify_alg); in receive_SyncParam() 3765 if (apv >= 89 && strcmp(old_net_conf->csums_alg, p->csums_alg)) { in receive_SyncParam() [all …]
|