Searched refs:new_net_conf (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/block/drbd/ |
| H A D | drbd_nl.c | 2312 _check_net_options(struct drbd_connection *connection, struct net_conf *old_net_conf, struct net_conf *new_net_conf) in check_net_options() 2318 if (new_net_conf->wire_protocol != old_net_conf->wire_protocol) 2321 if (new_net_conf->two_primaries != old_net_conf->two_primaries) 2324 if (strcmp(new_net_conf->integrity_alg, old_net_conf->integrity_alg)) in alloc_shash() 2328 if (!new_net_conf->two_primaries && in alloc_shash() 2333 if (new_net_conf->two_primaries && in alloc_shash() 2334 (new_net_conf->wire_protocol != DRBD_PROT_C)) in alloc_shash() 2342 if (new_net_conf->wire_protocol == DRBD_PROT_A && fp == FP_STONITH) in alloc_crypto() 2345 if (device->state.role == R_PRIMARY && new_net_conf->discard_my_data) in alloc_crypto() 2349 if (new_net_conf in alloc_crypto() 2248 _check_net_options(struct drbd_connection * connection,struct net_conf * old_net_conf,struct net_conf * new_net_conf) _check_net_options() argument 2292 check_net_options(struct drbd_connection * connection,struct net_conf * new_net_conf) check_net_options() argument 2337 alloc_crypto(struct crypto * crypto,struct net_conf * new_net_conf) alloc_crypto() argument 2378 struct net_conf *old_net_conf, *new_net_conf = NULL; drbd_adm_net_opts() local 2521 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 3550 new_net_conf = kmalloc_obj(struct net_conf); in receive_protocol() 3551 if (!new_net_conf) in receive_protocol() 3557 *new_net_conf = *old_net_conf; in receive_protocol() 3559 new_net_conf->wire_protocol = p_proto; in receive_protocol() 3560 new_net_conf->after_sb_0p = convert_after_sb(p_after_sb_0p); in receive_protocol() 3561 new_net_conf->after_sb_1p = convert_after_sb(p_after_sb_1p); in receive_protocol() 3562 new_net_conf->after_sb_2p = convert_after_sb(p_after_sb_2p); in receive_protocol() 3563 new_net_conf->two_primaries = p_two_primaries; in receive_protocol() 3565 rcu_assign_pointer(connection->net_conf, new_net_conf); in receive_protocol() [all …]
|