Lines Matching refs:net_conf

265 	struct net_conf *nc;  in drbd_alloc_pages()
270 nc = rcu_dereference(peer_device->connection->net_conf); in drbd_alloc_pages()
526 t = rcu_dereference(connection->net_conf)->ping_timeo * HZ/10; in drbd_recv()
592 struct net_conf *nc; in drbd_try_connect()
598 nc = rcu_dereference(connection->net_conf); in drbd_try_connect()
698 struct net_conf *nc; in prepare_listen_socket()
702 nc = rcu_dereference(connection->net_conf); in prepare_listen_socket()
768 struct net_conf *nc; in drbd_wait_for_connect()
771 nc = rcu_dereference(connection->net_conf); in drbd_wait_for_connect()
815 struct net_conf *nc; in receive_first_packet()
819 nc = rcu_dereference(connection->net_conf); in receive_first_packet()
866 struct net_conf *nc; in connection_established()
874 nc = rcu_dereference(connection->net_conf); in connection_established()
925 struct net_conf *nc; in conn_connect()
1039 nc = rcu_dereference(connection->net_conf); in conn_connect()
1138 connection->net_conf->discard_my_data = 0; in conn_connect()
2404 tp = rcu_dereference(peer_device->connection->net_conf)->two_primaries; in wait_for_and_update_peer_seq()
2414 timeout = rcu_dereference(peer_device->connection->net_conf)->ping_timeo*HZ/10; in wait_for_and_update_peer_seq()
2589 struct net_conf *nc; in receive_Data()
2665 nc = rcu_dereference(peer_device->connection->net_conf); in receive_Data()
3065 after_sb_0p = rcu_dereference(peer_device->connection->net_conf)->after_sb_0p; in drbd_asb_recover_0p()
3141 after_sb_1p = rcu_dereference(peer_device->connection->net_conf)->after_sb_1p; in drbd_asb_recover_1p()
3198 after_sb_2p = rcu_dereference(peer_device->connection->net_conf)->after_sb_2p; in drbd_asb_recover_2p()
3493 struct net_conf *nc; in drbd_sync_handshake()
3544 nc = rcu_dereference(peer_device->connection->net_conf); in drbd_sync_handshake()
3671 struct net_conf *nc, *old_net_conf, *new_net_conf = NULL; in receive_protocol()
3702 nc = rcu_dereference(connection->net_conf); in receive_protocol()
3771 new_net_conf = kmalloc(sizeof(struct net_conf), GFP_KERNEL); in receive_protocol()
3779 old_net_conf = connection->net_conf; in receive_protocol()
3788 rcu_assign_pointer(connection->net_conf, new_net_conf); in receive_protocol()
3886 struct net_conf *old_net_conf, *new_net_conf = NULL; in receive_SyncParam()
3932 old_net_conf = peer_device->connection->net_conf; in receive_SyncParam()
4021 new_net_conf = kzalloc(sizeof(struct net_conf), GFP_KERNEL); in receive_SyncParam()
4043 rcu_assign_pointer(connection->net_conf, new_net_conf); in receive_SyncParam()
5422 struct net_conf *nc; in drbd_do_auth()
5428 nc = rcu_dereference(connection->net_conf); in drbd_do_auth()
5678 connection->meta.socket->sk->sk_rcvtimeo = connection->net_conf->ping_int*HZ; in got_PingAck()
5966 struct net_conf *nc; in set_rcvtimeo()
5969 nc = rcu_dereference(connection->net_conf); in set_rcvtimeo()
6062 t = rcu_dereference(connection->net_conf)->ping_timeo * HZ/10; in drbd_ack_receiver()
6155 struct net_conf *nc; in drbd_send_acks_wf()
6159 nc = rcu_dereference(connection->net_conf); in drbd_send_acks_wf()