Lines Matching refs:net_conf

256 	struct net_conf *nc;  in drbd_alloc_pages()
261 nc = rcu_dereference(peer_device->connection->net_conf); in drbd_alloc_pages()
508 t = rcu_dereference(connection->net_conf)->ping_timeo * HZ/10; in drbd_recv()
574 struct net_conf *nc; in drbd_try_connect()
580 nc = rcu_dereference(connection->net_conf); in drbd_try_connect()
680 struct net_conf *nc; in prepare_listen_socket()
684 nc = rcu_dereference(connection->net_conf); in prepare_listen_socket()
750 struct net_conf *nc; in drbd_wait_for_connect()
753 nc = rcu_dereference(connection->net_conf); in drbd_wait_for_connect()
797 struct net_conf *nc; in receive_first_packet()
801 nc = rcu_dereference(connection->net_conf); in receive_first_packet()
848 struct net_conf *nc; in connection_established()
856 nc = rcu_dereference(connection->net_conf); in connection_established()
907 struct net_conf *nc; in conn_connect()
1021 nc = rcu_dereference(connection->net_conf); in conn_connect()
1109 connection->net_conf->discard_my_data = 0; in conn_connect()
2101 tp = rcu_dereference(first_peer_device(device)->connection->net_conf)->two_primaries; in wait_for_and_update_peer_seq()
2111 timeout = rcu_dereference(peer_device->connection->net_conf)->ping_timeo*HZ/10; in wait_for_and_update_peer_seq()
2275 struct net_conf *nc; in receive_Data()
2343 nc = rcu_dereference(peer_device->connection->net_conf); in receive_Data()
2734 after_sb_0p = rcu_dereference(peer_device->connection->net_conf)->after_sb_0p; in drbd_asb_recover_0p()
2808 after_sb_1p = rcu_dereference(peer_device->connection->net_conf)->after_sb_1p; in drbd_asb_recover_1p()
2865 after_sb_2p = rcu_dereference(peer_device->connection->net_conf)->after_sb_2p; in drbd_asb_recover_2p()
3128 struct net_conf *nc; in drbd_sync_handshake()
3170 nc = rcu_dereference(peer_device->connection->net_conf); in drbd_sync_handshake()
3296 struct net_conf *nc, *old_net_conf, *new_net_conf = NULL; in receive_protocol()
3327 nc = rcu_dereference(connection->net_conf); in receive_protocol()
3395 new_net_conf = kmalloc(sizeof(struct net_conf), GFP_KERNEL); in receive_protocol()
3403 old_net_conf = connection->net_conf; in receive_protocol()
3412 rcu_assign_pointer(connection->net_conf, new_net_conf); in receive_protocol()
3509 struct net_conf *old_net_conf, *new_net_conf = NULL; in receive_SyncParam()
3555 old_net_conf = peer_device->connection->net_conf; in receive_SyncParam()
3644 new_net_conf = kzalloc(sizeof(struct net_conf), GFP_KERNEL); in receive_SyncParam()
3666 rcu_assign_pointer(connection->net_conf, new_net_conf); in receive_SyncParam()
4907 struct net_conf *nc; in drbd_do_auth()
4913 nc = rcu_dereference(connection->net_conf); in drbd_do_auth()
5154 connection->meta.socket->sk->sk_rcvtimeo = connection->net_conf->ping_int*HZ; in got_PingAck()
5507 struct net_conf *nc; in drbd_asender()
5519 nc = rcu_dereference(connection->net_conf); in drbd_asender()
5573 t = rcu_dereference(connection->net_conf)->ping_timeo * HZ/10; in drbd_asender()