Lines Matching refs:new_net_conf
3634 struct net_conf *nc, *old_net_conf, *new_net_conf = NULL; in receive_protocol() local
3734 new_net_conf = kmalloc(sizeof(struct net_conf), GFP_KERNEL); in receive_protocol()
3735 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()
3744 new_net_conf->after_sb_0p = convert_after_sb(p_after_sb_0p); in receive_protocol()
3745 new_net_conf->after_sb_1p = convert_after_sb(p_after_sb_1p); in receive_protocol()
3746 new_net_conf->after_sb_2p = convert_after_sb(p_after_sb_2p); 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
3981 new_net_conf = kzalloc(sizeof(struct net_conf), GFP_KERNEL); in receive_SyncParam()
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()
3989 new_net_conf->verify_alg_len = strlen(p->verify_alg) + 1; in receive_SyncParam()
3995 strcpy(new_net_conf->csums_alg, p->csums_alg); in receive_SyncParam()
3996 new_net_conf->csums_alg_len = strlen(p->csums_alg) + 1; in receive_SyncParam()
4001 rcu_assign_pointer(connection->net_conf, new_net_conf); in receive_SyncParam()
4017 if (new_net_conf) in receive_SyncParam()