Lines Matching refs:net_conf
117 struct net_conf *nc; in drbd_alloc_pages()
121 nc = rcu_dereference(peer_device->connection->net_conf); in drbd_alloc_pages()
340 t = rcu_dereference(connection->net_conf)->ping_timeo * HZ/10; in drbd_recv()
406 struct net_conf *nc; in drbd_try_connect()
412 nc = rcu_dereference(connection->net_conf); in drbd_try_connect()
512 struct net_conf *nc; in prepare_listen_socket()
516 nc = rcu_dereference(connection->net_conf); in prepare_listen_socket()
582 struct net_conf *nc; in drbd_wait_for_connect()
585 nc = rcu_dereference(connection->net_conf); in drbd_wait_for_connect()
629 struct net_conf *nc; in receive_first_packet()
633 nc = rcu_dereference(connection->net_conf); in receive_first_packet()
680 struct net_conf *nc; in connection_established()
688 nc = rcu_dereference(connection->net_conf); in connection_established()
739 struct net_conf *nc; in conn_connect()
856 nc = rcu_dereference(connection->net_conf); in conn_connect()
955 connection->net_conf->discard_my_data = 0; in conn_connect()
2187 tp = rcu_dereference(peer_device->connection->net_conf)->two_primaries; in wait_for_and_update_peer_seq()
2197 timeout = rcu_dereference(peer_device->connection->net_conf)->ping_timeo*HZ/10; in wait_for_and_update_peer_seq()
2374 struct net_conf *nc; in receive_Data()
2448 nc = rcu_dereference(peer_device->connection->net_conf); in receive_Data()
2843 after_sb_0p = rcu_dereference(peer_device->connection->net_conf)->after_sb_0p; in drbd_asb_recover_0p()
2919 after_sb_1p = rcu_dereference(peer_device->connection->net_conf)->after_sb_1p; in drbd_asb_recover_1p()
2976 after_sb_2p = rcu_dereference(peer_device->connection->net_conf)->after_sb_2p; in drbd_asb_recover_2p()
3272 struct net_conf *nc; in drbd_sync_handshake()
3323 nc = rcu_dereference(peer_device->connection->net_conf); in drbd_sync_handshake()
3450 struct net_conf *nc, *old_net_conf, *new_net_conf = NULL; in receive_protocol()
3481 nc = rcu_dereference(connection->net_conf); in receive_protocol()
3550 new_net_conf = kmalloc(sizeof(struct net_conf), GFP_KERNEL); in receive_protocol()
3556 old_net_conf = connection->net_conf; in receive_protocol()
3565 rcu_assign_pointer(connection->net_conf, new_net_conf); in receive_protocol()
3662 struct net_conf *old_net_conf, *new_net_conf = NULL; in receive_SyncParam()
3709 old_net_conf = peer_device->connection->net_conf; in receive_SyncParam()
3797 new_net_conf = kzalloc(sizeof(struct net_conf), GFP_KERNEL); in receive_SyncParam()
3817 rcu_assign_pointer(connection->net_conf, new_net_conf); in receive_SyncParam()
5180 struct net_conf *nc; in drbd_do_auth()
5186 nc = rcu_dereference(connection->net_conf); in drbd_do_auth()
5433 connection->meta.socket->sk->sk_rcvtimeo = connection->net_conf->ping_int*HZ; in got_PingAck()
5723 struct net_conf *nc; in set_rcvtimeo()
5726 nc = rcu_dereference(connection->net_conf); in set_rcvtimeo()
5814 t = rcu_dereference(connection->net_conf)->ping_timeo * HZ/10; in drbd_ack_receiver()
5907 struct net_conf *nc; in drbd_send_acks_wf()
5911 nc = rcu_dereference(connection->net_conf); in drbd_send_acks_wf()