Lines Matching refs:new_net_conf
3671 struct net_conf *nc, *old_net_conf, *new_net_conf = NULL; in receive_protocol() local
3771 new_net_conf = kmalloc(sizeof(struct net_conf), GFP_KERNEL); in receive_protocol()
3772 if (!new_net_conf) { in receive_protocol()
3780 *new_net_conf = *old_net_conf; in receive_protocol()
3782 new_net_conf->wire_protocol = p_proto; in receive_protocol()
3783 new_net_conf->after_sb_0p = convert_after_sb(p_after_sb_0p); in receive_protocol()
3784 new_net_conf->after_sb_1p = convert_after_sb(p_after_sb_1p); in receive_protocol()
3785 new_net_conf->after_sb_2p = convert_after_sb(p_after_sb_2p); in receive_protocol()
3786 new_net_conf->two_primaries = p_two_primaries; in receive_protocol()
3788 rcu_assign_pointer(connection->net_conf, new_net_conf); in receive_protocol()
3886 struct net_conf *old_net_conf, *new_net_conf = NULL; in receive_SyncParam() local
4021 new_net_conf = kzalloc(sizeof(struct net_conf), GFP_KERNEL); in receive_SyncParam()
4022 if (!new_net_conf) { in receive_SyncParam()
4027 *new_net_conf = *old_net_conf; in receive_SyncParam()
4030 strcpy(new_net_conf->verify_alg, p->verify_alg); in receive_SyncParam()
4031 new_net_conf->verify_alg_len = strlen(p->verify_alg) + 1; in receive_SyncParam()
4037 strcpy(new_net_conf->csums_alg, p->csums_alg); in receive_SyncParam()
4038 new_net_conf->csums_alg_len = strlen(p->csums_alg) + 1; in receive_SyncParam()
4043 rcu_assign_pointer(connection->net_conf, new_net_conf); in receive_SyncParam()
4059 if (new_net_conf) in receive_SyncParam()