Home
last modified time | relevance | path

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

/linux-6.15/drivers/block/drbd/
H A Ddrbd_nl.c2245 if (!new_net_conf->two_primaries && in _check_net_options()
2250 if (new_net_conf->two_primaries && in _check_net_options()
2266 if (new_net_conf->on_congestion != OC_BLOCK && new_net_conf->wire_protocol != DRBD_PROT_A) in _check_net_options()
2337 new_net_conf->cram_hmac_alg); in alloc_crypto()
2375 if (!new_net_conf) { in drbd_adm_net_opts()
2392 *new_net_conf = *old_net_conf; in drbd_adm_net_opts()
2465 kfree(new_net_conf); in drbd_adm_net_opts()
2554 new_net_conf = kzalloc(sizeof(*new_net_conf), GFP_KERNEL); in drbd_adm_connect()
2555 if (!new_net_conf) { in drbd_adm_connect()
2560 set_net_conf_defaults(new_net_conf); in drbd_adm_connect()
[all …]
H A Ddrbd_receiver.c3735 if (!new_net_conf) in receive_protocol()
3741 *new_net_conf = *old_net_conf; in receive_protocol()
3743 new_net_conf->wire_protocol = p_proto; in receive_protocol()
3747 new_net_conf->two_primaries = p_two_primaries; in receive_protocol()
3749 rcu_assign_pointer(connection->net_conf, new_net_conf); in receive_protocol()
3846 struct net_conf *old_net_conf, *new_net_conf = NULL; in receive_SyncParam() local
3982 if (!new_net_conf) in receive_SyncParam()
3985 *new_net_conf = *old_net_conf; in receive_SyncParam()
3988 strcpy(new_net_conf->verify_alg, p->verify_alg); in receive_SyncParam()
3995 strcpy(new_net_conf->csums_alg, p->csums_alg); in receive_SyncParam()
[all …]