Lines Matching refs:net_conf

621 	struct net_conf *nc;  in drbd_set_role()
691 nc = rcu_dereference(connection->net_conf); in drbd_set_role()
725 nc = connection->net_conf; in drbd_set_role()
1801 struct net_conf *nc; in drbd_adm_attach()
1874 nc = rcu_dereference(connection->net_conf); in drbd_adm_attach()
2294 …k_net_options(struct drbd_connection *connection, struct net_conf *old_net_conf, struct net_conf *… in _check_net_options()
2338 check_net_options(struct drbd_connection *connection, struct net_conf *new_net_conf) in check_net_options()
2345 rv = _check_net_options(connection, rcu_dereference(connection->net_conf), new_net_conf); in check_net_options()
2383 alloc_crypto(struct crypto *crypto, struct net_conf *new_net_conf) in alloc_crypto()
2424 struct net_conf *old_net_conf, *new_net_conf = NULL; in drbd_adm_net_opts()
2439 new_net_conf = kzalloc(sizeof(struct net_conf), GFP_KERNEL); in drbd_adm_net_opts()
2449 old_net_conf = connection->net_conf; in drbd_adm_net_opts()
2490 rcu_assign_pointer(connection->net_conf, new_net_conf); in drbd_adm_net_opts()
2568 struct net_conf *old_net_conf, *new_net_conf = NULL; in drbd_adm_connect()
2647 old_net_conf = connection->net_conf; in drbd_adm_connect()
2653 rcu_assign_pointer(connection->net_conf, new_net_conf); in drbd_adm_connect()
3584 struct net_conf *net_conf; in drbd_adm_dump_connections() local
3589 net_conf = rcu_dereference(connection->net_conf); in drbd_adm_dump_connections()
3590 if (net_conf) { in drbd_adm_dump_connections()
3591 err = net_conf_to_skb(skb, net_conf, !capable(CAP_SYS_ADMIN)); in drbd_adm_dump_connections()
3806 struct net_conf *nc; in nla_put_status_info()
3808 nc = rcu_dereference(first_peer_device(device)->connection->net_conf); in nla_put_status_info()
3996 struct net_conf *nc; in get_one_status()
3998 nc = rcu_dereference(connection->net_conf); in get_one_status()