Home
last modified time | relevance | path

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

/openbmc/linux/drivers/block/drbd/
H A Ddrbd_nl.c2254 if (!new_net_conf->two_primaries && in _check_net_options()
2259 if (new_net_conf->two_primaries && in _check_net_options()
2275 if (new_net_conf->on_congestion != OC_BLOCK && new_net_conf->wire_protocol != DRBD_PROT_A) in _check_net_options()
2346 new_net_conf->cram_hmac_alg); in alloc_crypto()
2384 if (!new_net_conf) { in drbd_adm_net_opts()
2401 *new_net_conf = *old_net_conf; in drbd_adm_net_opts()
2474 kfree(new_net_conf); in drbd_adm_net_opts()
2563 new_net_conf = kzalloc(sizeof(*new_net_conf), GFP_KERNEL); in drbd_adm_connect()
2564 if (!new_net_conf) { in drbd_adm_connect()
2569 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 …]