Lines Matching refs:net_conf
622 struct net_conf *nc; in drbd_set_role()
692 nc = rcu_dereference(connection->net_conf); in drbd_set_role()
726 nc = connection->net_conf; in drbd_set_role()
1807 struct net_conf *nc; in drbd_adm_attach()
1880 nc = rcu_dereference(connection->net_conf); in drbd_adm_attach()
2301 …k_net_options(struct drbd_connection *connection, struct net_conf *old_net_conf, struct net_conf *… in _check_net_options()
2345 check_net_options(struct drbd_connection *connection, struct net_conf *new_net_conf) in check_net_options()
2352 rv = _check_net_options(connection, rcu_dereference(connection->net_conf), new_net_conf); in check_net_options()
2390 alloc_crypto(struct crypto *crypto, struct net_conf *new_net_conf) in alloc_crypto()
2431 struct net_conf *old_net_conf, *new_net_conf = NULL; in drbd_adm_net_opts()
2446 new_net_conf = kzalloc(sizeof(struct net_conf), GFP_KERNEL); in drbd_adm_net_opts()
2456 old_net_conf = connection->net_conf; in drbd_adm_net_opts()
2497 rcu_assign_pointer(connection->net_conf, new_net_conf); in drbd_adm_net_opts()
2575 struct net_conf *old_net_conf, *new_net_conf = NULL; in drbd_adm_connect()
2654 old_net_conf = connection->net_conf; in drbd_adm_connect()
2660 rcu_assign_pointer(connection->net_conf, new_net_conf); in drbd_adm_connect()
3596 struct net_conf *net_conf; in drbd_adm_dump_connections() local
3601 net_conf = rcu_dereference(connection->net_conf); in drbd_adm_dump_connections()
3602 if (net_conf) { in drbd_adm_dump_connections()
3603 err = net_conf_to_skb(skb, net_conf, !capable(CAP_SYS_ADMIN)); in drbd_adm_dump_connections()
3818 struct net_conf *nc; in nla_put_status_info()
3820 nc = rcu_dereference(first_peer_device(device)->connection->net_conf); in nla_put_status_info()
4009 struct net_conf *nc; in get_one_status()
4011 nc = rcu_dereference(connection->net_conf); in get_one_status()