Lines Matching refs:net_conf

266 	struct net_conf *nc;  in drbd_alloc_pages()
271 nc = rcu_dereference(peer_device->connection->net_conf); in drbd_alloc_pages()
527 t = rcu_dereference(connection->net_conf)->ping_timeo * HZ/10; in drbd_recv()
593 struct net_conf *nc; in drbd_try_connect()
599 nc = rcu_dereference(connection->net_conf); in drbd_try_connect()
699 struct net_conf *nc; in prepare_listen_socket()
703 nc = rcu_dereference(connection->net_conf); in prepare_listen_socket()
769 struct net_conf *nc; in drbd_wait_for_connect()
772 nc = rcu_dereference(connection->net_conf); in drbd_wait_for_connect()
816 struct net_conf *nc; in receive_first_packet()
820 nc = rcu_dereference(connection->net_conf); in receive_first_packet()
867 struct net_conf *nc; in connection_established()
875 nc = rcu_dereference(connection->net_conf); in connection_established()
926 struct net_conf *nc; in conn_connect()
1040 nc = rcu_dereference(connection->net_conf); in conn_connect()
1139 connection->net_conf->discard_my_data = 0; in conn_connect()
2405 tp = rcu_dereference(peer_device->connection->net_conf)->two_primaries; in wait_for_and_update_peer_seq()
2415 timeout = rcu_dereference(peer_device->connection->net_conf)->ping_timeo*HZ/10; in wait_for_and_update_peer_seq()
2590 struct net_conf *nc; in receive_Data()
2666 nc = rcu_dereference(peer_device->connection->net_conf); in receive_Data()
3066 after_sb_0p = rcu_dereference(peer_device->connection->net_conf)->after_sb_0p; in drbd_asb_recover_0p()
3142 after_sb_1p = rcu_dereference(peer_device->connection->net_conf)->after_sb_1p; in drbd_asb_recover_1p()
3199 after_sb_2p = rcu_dereference(peer_device->connection->net_conf)->after_sb_2p; in drbd_asb_recover_2p()
3494 struct net_conf *nc; in drbd_sync_handshake()
3545 nc = rcu_dereference(peer_device->connection->net_conf); in drbd_sync_handshake()
3672 struct net_conf *nc, *old_net_conf, *new_net_conf = NULL; in receive_protocol()
3703 nc = rcu_dereference(connection->net_conf); in receive_protocol()
3772 new_net_conf = kmalloc(sizeof(struct net_conf), GFP_KERNEL); in receive_protocol()
3780 old_net_conf = connection->net_conf; in receive_protocol()
3789 rcu_assign_pointer(connection->net_conf, new_net_conf); in receive_protocol()
3887 struct net_conf *old_net_conf, *new_net_conf = NULL; in receive_SyncParam()
3933 old_net_conf = peer_device->connection->net_conf; in receive_SyncParam()
4022 new_net_conf = kzalloc(sizeof(struct net_conf), GFP_KERNEL); in receive_SyncParam()
4044 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()
6059 t = rcu_dereference(connection->net_conf)->ping_timeo * HZ/10; in drbd_ack_receiver()
6152 struct net_conf *nc; in drbd_send_acks_wf()
6156 nc = rcu_dereference(connection->net_conf); in drbd_send_acks_wf()