Lines Matching refs:net_conf
605 struct net_conf *nc; in drbd_set_role()
673 nc = rcu_dereference(connection->net_conf); in drbd_set_role()
708 nc = connection->net_conf; in drbd_set_role()
1755 struct net_conf *nc; in drbd_adm_attach()
1828 nc = rcu_dereference(connection->net_conf); in drbd_adm_attach()
2239 …k_net_options(struct drbd_connection *connection, struct net_conf *old_net_conf, struct net_conf *… in _check_net_options()
2283 check_net_options(struct drbd_connection *connection, struct net_conf *new_net_conf) in check_net_options()
2290 rv = _check_net_options(connection, rcu_dereference(connection->net_conf), new_net_conf); in check_net_options()
2343 alloc_crypto(struct crypto *crypto, struct net_conf *new_net_conf) in alloc_crypto()
2384 struct net_conf *old_net_conf, *new_net_conf = NULL; in drbd_adm_net_opts()
2399 new_net_conf = kzalloc(sizeof(struct net_conf), GFP_KERNEL); in drbd_adm_net_opts()
2409 old_net_conf = connection->net_conf; in drbd_adm_net_opts()
2450 rcu_assign_pointer(connection->net_conf, new_net_conf); in drbd_adm_net_opts()
2528 struct net_conf *old_net_conf, *new_net_conf = NULL; in drbd_adm_connect()
2607 old_net_conf = connection->net_conf; in drbd_adm_connect()
2613 rcu_assign_pointer(connection->net_conf, new_net_conf); in drbd_adm_connect()
3542 struct net_conf *net_conf; in drbd_adm_dump_connections() local
3547 net_conf = rcu_dereference(connection->net_conf); in drbd_adm_dump_connections()
3548 if (net_conf) { in drbd_adm_dump_connections()
3549 err = net_conf_to_skb(skb, net_conf, !capable(CAP_SYS_ADMIN)); in drbd_adm_dump_connections()
3764 struct net_conf *nc; in nla_put_status_info()
3766 nc = rcu_dereference(first_peer_device(device)->connection->net_conf); in nla_put_status_info()
3955 struct net_conf *nc; in get_one_status()
3957 nc = rcu_dereference(connection->net_conf); in get_one_status()