Lines Matching refs:net_conf
277 struct net_conf *nc; in drbd_alloc_pages()
282 nc = rcu_dereference(peer_device->connection->net_conf); in drbd_alloc_pages()
538 t = rcu_dereference(connection->net_conf)->ping_timeo * HZ/10; in drbd_recv()
604 struct net_conf *nc; in drbd_try_connect()
610 nc = rcu_dereference(connection->net_conf); in drbd_try_connect()
710 struct net_conf *nc; in prepare_listen_socket()
714 nc = rcu_dereference(connection->net_conf); in prepare_listen_socket()
780 struct net_conf *nc; in drbd_wait_for_connect()
783 nc = rcu_dereference(connection->net_conf); in drbd_wait_for_connect()
827 struct net_conf *nc; in receive_first_packet()
831 nc = rcu_dereference(connection->net_conf); in receive_first_packet()
878 struct net_conf *nc; in connection_established()
886 nc = rcu_dereference(connection->net_conf); in connection_established()
937 struct net_conf *nc; in conn_connect()
1051 nc = rcu_dereference(connection->net_conf); in conn_connect()
1150 connection->net_conf->discard_my_data = 0; in conn_connect()
2292 tp = rcu_dereference(peer_device->connection->net_conf)->two_primaries; in wait_for_and_update_peer_seq()
2302 timeout = rcu_dereference(peer_device->connection->net_conf)->ping_timeo*HZ/10; in wait_for_and_update_peer_seq()
2473 struct net_conf *nc; in receive_Data()
2538 nc = rcu_dereference(peer_device->connection->net_conf); in receive_Data()
2938 after_sb_0p = rcu_dereference(peer_device->connection->net_conf)->after_sb_0p; in drbd_asb_recover_0p()
3014 after_sb_1p = rcu_dereference(peer_device->connection->net_conf)->after_sb_1p; in drbd_asb_recover_1p()
3071 after_sb_2p = rcu_dereference(peer_device->connection->net_conf)->after_sb_2p; in drbd_asb_recover_2p()
3366 struct net_conf *nc; in drbd_sync_handshake()
3417 nc = rcu_dereference(peer_device->connection->net_conf); in drbd_sync_handshake()
3543 struct net_conf *nc, *old_net_conf, *new_net_conf = NULL; in receive_protocol()
3574 nc = rcu_dereference(connection->net_conf); in receive_protocol()
3643 new_net_conf = kmalloc(sizeof(struct net_conf), GFP_KERNEL); in receive_protocol()
3651 old_net_conf = connection->net_conf; in receive_protocol()
3660 rcu_assign_pointer(connection->net_conf, new_net_conf); in receive_protocol()
3757 struct net_conf *old_net_conf, *new_net_conf = NULL; in receive_SyncParam()
3803 old_net_conf = peer_device->connection->net_conf; in receive_SyncParam()
3892 new_net_conf = kzalloc(sizeof(struct net_conf), GFP_KERNEL); in receive_SyncParam()
3914 rcu_assign_pointer(connection->net_conf, new_net_conf); in receive_SyncParam()
5244 struct net_conf *nc; in drbd_do_auth()
5250 nc = rcu_dereference(connection->net_conf); in drbd_do_auth()
5491 connection->meta.socket->sk->sk_rcvtimeo = connection->net_conf->ping_int*HZ; in got_PingAck()
5779 struct net_conf *nc; in set_rcvtimeo()
5782 nc = rcu_dereference(connection->net_conf); in set_rcvtimeo()
5875 t = rcu_dereference(connection->net_conf)->ping_timeo * HZ/10; in drbd_ack_receiver()
5968 struct net_conf *nc; in drbd_send_acks_wf()
5972 nc = rcu_dereference(connection->net_conf); in drbd_send_acks_wf()