Lines Matching refs:net_conf
267 struct net_conf *nc; in drbd_alloc_pages()
272 nc = rcu_dereference(peer_device->connection->net_conf); in drbd_alloc_pages()
528 t = rcu_dereference(connection->net_conf)->ping_timeo * HZ/10; in drbd_recv()
594 struct net_conf *nc; in drbd_try_connect()
600 nc = rcu_dereference(connection->net_conf); in drbd_try_connect()
700 struct net_conf *nc; in prepare_listen_socket()
704 nc = rcu_dereference(connection->net_conf); in prepare_listen_socket()
770 struct net_conf *nc; in drbd_wait_for_connect()
773 nc = rcu_dereference(connection->net_conf); in drbd_wait_for_connect()
817 struct net_conf *nc; in receive_first_packet()
821 nc = rcu_dereference(connection->net_conf); in receive_first_packet()
868 struct net_conf *nc; in connection_established()
876 nc = rcu_dereference(connection->net_conf); in connection_established()
927 struct net_conf *nc; in conn_connect()
1044 nc = rcu_dereference(connection->net_conf); in conn_connect()
1143 connection->net_conf->discard_my_data = 0; in conn_connect()
2375 tp = rcu_dereference(peer_device->connection->net_conf)->two_primaries; in wait_for_and_update_peer_seq()
2385 timeout = rcu_dereference(peer_device->connection->net_conf)->ping_timeo*HZ/10; in wait_for_and_update_peer_seq()
2558 struct net_conf *nc; in receive_Data()
2632 nc = rcu_dereference(peer_device->connection->net_conf); in receive_Data()
3027 after_sb_0p = rcu_dereference(peer_device->connection->net_conf)->after_sb_0p; in drbd_asb_recover_0p()
3103 after_sb_1p = rcu_dereference(peer_device->connection->net_conf)->after_sb_1p; in drbd_asb_recover_1p()
3160 after_sb_2p = rcu_dereference(peer_device->connection->net_conf)->after_sb_2p; in drbd_asb_recover_2p()
3456 struct net_conf *nc; in drbd_sync_handshake()
3507 nc = rcu_dereference(peer_device->connection->net_conf); in drbd_sync_handshake()
3634 struct net_conf *nc, *old_net_conf, *new_net_conf = NULL; in receive_protocol()
3665 nc = rcu_dereference(connection->net_conf); in receive_protocol()
3734 new_net_conf = kmalloc(sizeof(struct net_conf), GFP_KERNEL); in receive_protocol()
3740 old_net_conf = connection->net_conf; in receive_protocol()
3749 rcu_assign_pointer(connection->net_conf, new_net_conf); in receive_protocol()
3846 struct net_conf *old_net_conf, *new_net_conf = NULL; in receive_SyncParam()
3893 old_net_conf = peer_device->connection->net_conf; in receive_SyncParam()
3981 new_net_conf = kzalloc(sizeof(struct net_conf), GFP_KERNEL); in receive_SyncParam()
4001 rcu_assign_pointer(connection->net_conf, new_net_conf); in receive_SyncParam()
5374 struct net_conf *nc; in drbd_do_auth()
5380 nc = rcu_dereference(connection->net_conf); in drbd_do_auth()
5627 connection->meta.socket->sk->sk_rcvtimeo = connection->net_conf->ping_int*HZ; in got_PingAck()
5917 struct net_conf *nc; in set_rcvtimeo()
5920 nc = rcu_dereference(connection->net_conf); in set_rcvtimeo()
6010 t = rcu_dereference(connection->net_conf)->ping_timeo * HZ/10; in drbd_ack_receiver()
6103 struct net_conf *nc; in drbd_send_acks_wf()
6107 nc = rcu_dereference(connection->net_conf); in drbd_send_acks_wf()