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()
1733 struct net_conf *nc; in drbd_adm_attach()
1806 nc = rcu_dereference(connection->net_conf); in drbd_adm_attach()
2229 …k_net_options(struct drbd_connection *connection, struct net_conf *old_net_conf, struct net_conf *… in _check_net_options()
2273 check_net_options(struct drbd_connection *connection, struct net_conf *new_net_conf) in check_net_options()
2280 rv = _check_net_options(connection, rcu_dereference(connection->net_conf), new_net_conf); in check_net_options()
2318 alloc_crypto(struct crypto *crypto, struct net_conf *new_net_conf) in alloc_crypto()
2359 struct net_conf *old_net_conf, *new_net_conf = NULL; in drbd_adm_net_opts()
2374 new_net_conf = kzalloc(sizeof(struct net_conf), GFP_KERNEL); in drbd_adm_net_opts()
2384 old_net_conf = connection->net_conf; in drbd_adm_net_opts()
2425 rcu_assign_pointer(connection->net_conf, new_net_conf); in drbd_adm_net_opts()
2502 struct net_conf *old_net_conf, *new_net_conf = NULL; in drbd_adm_connect()
2582 old_net_conf = connection->net_conf; in drbd_adm_connect()
2588 rcu_assign_pointer(connection->net_conf, new_net_conf); in drbd_adm_connect()
3519 struct net_conf *net_conf; in drbd_adm_dump_connections() local
3524 net_conf = rcu_dereference(connection->net_conf); in drbd_adm_dump_connections()
3525 if (net_conf) { in drbd_adm_dump_connections()
3526 err = net_conf_to_skb(skb, net_conf, !capable(CAP_SYS_ADMIN)); in drbd_adm_dump_connections()
3741 struct net_conf *nc; in nla_put_status_info()
3743 nc = rcu_dereference(first_peer_device(device)->connection->net_conf); in nla_put_status_info()
3931 struct net_conf *nc; in get_one_status()
3933 nc = rcu_dereference(connection->net_conf); in get_one_status()