Searched refs:old_net_conf (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/block/drbd/ |
H A D | drbd_nl.c | 2294 _check_net_options(struct drbd_connection *connection, struct net_conf *old_net_conf, struct net_conf *new_net_conf) in _check_net_options() argument 2299 if (old_net_conf && connection->cstate == C_WF_REPORT_PARAMS && connection->agreed_pro_version < 100) { in _check_net_options() 2300 if (new_net_conf->wire_protocol != old_net_conf->wire_protocol) in _check_net_options() 2303 if (new_net_conf->two_primaries != old_net_conf->two_primaries) in _check_net_options() 2306 if (strcmp(new_net_conf->integrity_alg, old_net_conf->integrity_alg)) in _check_net_options() 2424 struct net_conf *old_net_conf, *new_net_conf = NULL; in drbd_adm_net_opts() local 2449 old_net_conf = connection->net_conf; in drbd_adm_net_opts() 2451 if (!old_net_conf) { in drbd_adm_net_opts() 2457 *new_net_conf = *old_net_conf; in drbd_adm_net_opts() 2474 if (rsr && strcmp(new_net_conf->csums_alg, old_net_conf in drbd_adm_net_opts() 2568 struct net_conf *old_net_conf, *new_net_conf = NULL; drbd_adm_connect() local [all...] |
H A D | drbd_receiver.c | 3672 struct net_conf *nc, *old_net_conf, *new_net_conf = NULL; in receive_protocol() local 3780 old_net_conf = connection->net_conf; in receive_protocol() 3781 *new_net_conf = *old_net_conf; in receive_protocol() 3800 if (strcmp(old_net_conf->integrity_alg, integrity_alg)) in receive_protocol() 3805 kfree(old_net_conf); in receive_protocol() 3887 struct net_conf *old_net_conf, *new_net_conf = NULL; in receive_SyncParam() local 3933 old_net_conf = peer_device->connection->net_conf; in receive_SyncParam() 3976 if (strcmp(old_net_conf->verify_alg, p->verify_alg)) { in receive_SyncParam() 3979 old_net_conf->verify_alg, p->verify_alg); in receive_SyncParam() 3990 if (apv >= 89 && strcmp(old_net_conf in receive_SyncParam() [all...] |
/kernel/linux/linux-6.6/drivers/block/drbd/ |
H A D | drbd_nl.c | 2238 _check_net_options(struct drbd_connection *connection, struct net_conf *old_net_conf, struct net_conf *new_net_conf) in _check_net_options() argument 2243 if (old_net_conf && connection->cstate == C_WF_REPORT_PARAMS && connection->agreed_pro_version < 100) { in _check_net_options() 2244 if (new_net_conf->wire_protocol != old_net_conf->wire_protocol) in _check_net_options() 2247 if (new_net_conf->two_primaries != old_net_conf->two_primaries) in _check_net_options() 2250 if (strcmp(new_net_conf->integrity_alg, old_net_conf->integrity_alg)) in _check_net_options() 2368 struct net_conf *old_net_conf, *new_net_conf = NULL; in drbd_adm_net_opts() local 2393 old_net_conf = connection->net_conf; in drbd_adm_net_opts() 2395 if (!old_net_conf) { in drbd_adm_net_opts() 2401 *new_net_conf = *old_net_conf; in drbd_adm_net_opts() 2418 if (rsr && strcmp(new_net_conf->csums_alg, old_net_conf in drbd_adm_net_opts() 2511 struct net_conf *old_net_conf, *new_net_conf = NULL; drbd_adm_connect() local [all...] |
H A D | drbd_receiver.c | 3634 struct net_conf *nc, *old_net_conf, *new_net_conf = NULL; in receive_protocol() local 3740 old_net_conf = connection->net_conf; in receive_protocol() 3741 *new_net_conf = *old_net_conf; in receive_protocol() 3760 if (strcmp(old_net_conf->integrity_alg, integrity_alg)) in receive_protocol() 3764 kvfree_rcu_mightsleep(old_net_conf); in receive_protocol() 3846 struct net_conf *old_net_conf, *new_net_conf = NULL; in receive_SyncParam() local 3893 old_net_conf = peer_device->connection->net_conf; in receive_SyncParam() 3935 if (strcmp(old_net_conf->verify_alg, p->verify_alg)) { in receive_SyncParam() 3938 old_net_conf->verify_alg, p->verify_alg); in receive_SyncParam() 3949 if (apv >= 89 && strcmp(old_net_conf in receive_SyncParam() [all...] |
Completed in 19 milliseconds