Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/block/drbd/
Ddrbd_nl.c2216 _check_net_options(struct drbd_connection *connection, struct net_conf *old_net_conf, struct net_co… in _check_net_options() argument
2221 …if (old_net_conf && connection->cstate == C_WF_REPORT_PARAMS && connection->agreed_pro_version < 1… in _check_net_options()
2222 if (new_net_conf->wire_protocol != old_net_conf->wire_protocol) in _check_net_options()
2225 if (new_net_conf->two_primaries != old_net_conf->two_primaries) in _check_net_options()
2228 if (strcmp(new_net_conf->integrity_alg, old_net_conf->integrity_alg)) in _check_net_options()
2346 struct net_conf *old_net_conf, *new_net_conf = NULL; in drbd_adm_net_opts() local
2371 old_net_conf = connection->net_conf; in drbd_adm_net_opts()
2373 if (!old_net_conf) { in drbd_adm_net_opts()
2379 *new_net_conf = *old_net_conf; in drbd_adm_net_opts()
2396 if (rsr && strcmp(new_net_conf->csums_alg, old_net_conf->csums_alg)) { in drbd_adm_net_opts()
[all …]
Ddrbd_receiver.c3619 struct net_conf *nc, *old_net_conf, *new_net_conf = NULL; in receive_protocol() local
3725 old_net_conf = connection->net_conf; in receive_protocol()
3726 *new_net_conf = *old_net_conf; in receive_protocol()
3745 if (strcmp(old_net_conf->integrity_alg, integrity_alg)) in receive_protocol()
3749 kvfree_rcu(old_net_conf); in receive_protocol()
3831 struct net_conf *old_net_conf, *new_net_conf = NULL; in receive_SyncParam() local
3878 old_net_conf = peer_device->connection->net_conf; in receive_SyncParam()
3920 if (strcmp(old_net_conf->verify_alg, p->verify_alg)) { in receive_SyncParam()
3923 old_net_conf->verify_alg, p->verify_alg); in receive_SyncParam()
3934 if (apv >= 89 && strcmp(old_net_conf->csums_alg, p->csums_alg)) { in receive_SyncParam()
[all …]