Lines Matching refs:net_conf
268 struct net_conf *nc; in drbd_alloc_pages()
273 nc = rcu_dereference(peer_device->connection->net_conf); in drbd_alloc_pages()
529 t = rcu_dereference(connection->net_conf)->ping_timeo * HZ/10; in drbd_recv()
595 struct net_conf *nc; in drbd_try_connect()
601 nc = rcu_dereference(connection->net_conf); in drbd_try_connect()
701 struct net_conf *nc; in prepare_listen_socket()
705 nc = rcu_dereference(connection->net_conf); in prepare_listen_socket()
771 struct net_conf *nc; in drbd_wait_for_connect()
774 nc = rcu_dereference(connection->net_conf); in drbd_wait_for_connect()
818 struct net_conf *nc; in receive_first_packet()
822 nc = rcu_dereference(connection->net_conf); in receive_first_packet()
869 struct net_conf *nc; in connection_established()
877 nc = rcu_dereference(connection->net_conf); in connection_established()
928 struct net_conf *nc; in conn_connect()
1042 nc = rcu_dereference(connection->net_conf); in conn_connect()
1141 connection->net_conf->discard_my_data = 0; in conn_connect()
2353 tp = rcu_dereference(peer_device->connection->net_conf)->two_primaries; in wait_for_and_update_peer_seq()
2363 timeout = rcu_dereference(peer_device->connection->net_conf)->ping_timeo*HZ/10; in wait_for_and_update_peer_seq()
2536 struct net_conf *nc; in receive_Data()
2613 nc = rcu_dereference(peer_device->connection->net_conf); in receive_Data()
3013 after_sb_0p = rcu_dereference(peer_device->connection->net_conf)->after_sb_0p; in drbd_asb_recover_0p()
3089 after_sb_1p = rcu_dereference(peer_device->connection->net_conf)->after_sb_1p; in drbd_asb_recover_1p()
3146 after_sb_2p = rcu_dereference(peer_device->connection->net_conf)->after_sb_2p; in drbd_asb_recover_2p()
3441 struct net_conf *nc; in drbd_sync_handshake()
3492 nc = rcu_dereference(peer_device->connection->net_conf); in drbd_sync_handshake()
3619 struct net_conf *nc, *old_net_conf, *new_net_conf = NULL; in receive_protocol()
3650 nc = rcu_dereference(connection->net_conf); in receive_protocol()
3719 new_net_conf = kmalloc(sizeof(struct net_conf), GFP_KERNEL); in receive_protocol()
3725 old_net_conf = connection->net_conf; in receive_protocol()
3734 rcu_assign_pointer(connection->net_conf, new_net_conf); in receive_protocol()
3831 struct net_conf *old_net_conf, *new_net_conf = NULL; in receive_SyncParam()
3878 old_net_conf = peer_device->connection->net_conf; in receive_SyncParam()
3966 new_net_conf = kzalloc(sizeof(struct net_conf), GFP_KERNEL); in receive_SyncParam()
3986 rcu_assign_pointer(connection->net_conf, new_net_conf); in receive_SyncParam()
5360 struct net_conf *nc; in drbd_do_auth()
5366 nc = rcu_dereference(connection->net_conf); in drbd_do_auth()
5613 connection->meta.socket->sk->sk_rcvtimeo = connection->net_conf->ping_int*HZ; in got_PingAck()
5902 struct net_conf *nc; in set_rcvtimeo()
5905 nc = rcu_dereference(connection->net_conf); in set_rcvtimeo()
5995 t = rcu_dereference(connection->net_conf)->ping_timeo * HZ/10; in drbd_ack_receiver()
6088 struct net_conf *nc; in drbd_send_acks_wf()
6092 nc = rcu_dereference(connection->net_conf); in drbd_send_acks_wf()