Lines Matching refs:net_conf

256 	struct net_conf *nc;  in drbd_alloc_pages()
261 nc = rcu_dereference(peer_device->connection->net_conf); in drbd_alloc_pages()
507 t = rcu_dereference(connection->net_conf)->ping_timeo * HZ/10; in drbd_recv()
573 struct net_conf *nc; in drbd_try_connect()
579 nc = rcu_dereference(connection->net_conf); in drbd_try_connect()
679 struct net_conf *nc; in prepare_listen_socket()
683 nc = rcu_dereference(connection->net_conf); in prepare_listen_socket()
749 struct net_conf *nc; in drbd_wait_for_connect()
752 nc = rcu_dereference(connection->net_conf); in drbd_wait_for_connect()
796 struct net_conf *nc; in receive_first_packet()
800 nc = rcu_dereference(connection->net_conf); in receive_first_packet()
847 struct net_conf *nc; in connection_established()
855 nc = rcu_dereference(connection->net_conf); in connection_established()
906 struct net_conf *nc; in conn_connect()
1020 nc = rcu_dereference(connection->net_conf); in conn_connect()
1108 connection->net_conf->discard_my_data = 0; in conn_connect()
2100 tp = rcu_dereference(first_peer_device(device)->connection->net_conf)->two_primaries; in wait_for_and_update_peer_seq()
2110 timeout = rcu_dereference(peer_device->connection->net_conf)->ping_timeo*HZ/10; in wait_for_and_update_peer_seq()
2274 struct net_conf *nc; in receive_Data()
2342 nc = rcu_dereference(peer_device->connection->net_conf); in receive_Data()
2733 after_sb_0p = rcu_dereference(peer_device->connection->net_conf)->after_sb_0p; in drbd_asb_recover_0p()
2807 after_sb_1p = rcu_dereference(peer_device->connection->net_conf)->after_sb_1p; in drbd_asb_recover_1p()
2864 after_sb_2p = rcu_dereference(peer_device->connection->net_conf)->after_sb_2p; in drbd_asb_recover_2p()
3127 struct net_conf *nc; in drbd_sync_handshake()
3169 nc = rcu_dereference(peer_device->connection->net_conf); in drbd_sync_handshake()
3295 struct net_conf *nc, *old_net_conf, *new_net_conf = NULL; in receive_protocol()
3326 nc = rcu_dereference(connection->net_conf); in receive_protocol()
3394 new_net_conf = kmalloc(sizeof(struct net_conf), GFP_KERNEL); in receive_protocol()
3402 old_net_conf = connection->net_conf; in receive_protocol()
3411 rcu_assign_pointer(connection->net_conf, new_net_conf); in receive_protocol()
3508 struct net_conf *old_net_conf, *new_net_conf = NULL; in receive_SyncParam()
3554 old_net_conf = peer_device->connection->net_conf; in receive_SyncParam()
3643 new_net_conf = kzalloc(sizeof(struct net_conf), GFP_KERNEL); in receive_SyncParam()
3665 rcu_assign_pointer(connection->net_conf, new_net_conf); in receive_SyncParam()
4906 struct net_conf *nc; in drbd_do_auth()
4912 nc = rcu_dereference(connection->net_conf); in drbd_do_auth()
5153 connection->meta.socket->sk->sk_rcvtimeo = connection->net_conf->ping_int*HZ; in got_PingAck()
5506 struct net_conf *nc; in drbd_asender()
5518 nc = rcu_dereference(connection->net_conf); in drbd_asender()
5572 t = rcu_dereference(connection->net_conf)->ping_timeo * HZ/10; in drbd_asender()