Home
last modified time | relevance | path

Searched refs:net_conf (Results 1 – 9 of 9) sorted by relevance

/linux-4.1.27/drivers/block/drbd/
Ddrbd_receiver.c256 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()
[all …]
Ddrbd_nl.c569 struct net_conf *nc; in drbd_set_role()
637 nc = rcu_dereference(connection->net_conf); in drbd_set_role()
672 nc = connection->net_conf; in drbd_set_role()
1470 struct net_conf *nc; in drbd_adm_attach()
1549 nc = rcu_dereference(connection->net_conf); in drbd_adm_attach()
2001 …k_net_options(struct drbd_connection *connection, struct net_conf *old_net_conf, struct net_conf *… in _check_net_options()
2045 check_net_options(struct drbd_connection *connection, struct net_conf *new_net_conf) in check_net_options()
2052 rv = _check_net_options(connection, rcu_dereference(connection->net_conf), new_net_conf); in check_net_options()
2090 alloc_crypto(struct crypto *crypto, struct net_conf *new_net_conf) in alloc_crypto()
2131 struct net_conf *old_net_conf, *new_net_conf = NULL; in drbd_adm_net_opts()
[all …]
Ddrbd_proc.c243 struct net_conf *nc; in drbd_seq_show()
293 nc = rcu_dereference(first_peer_device(device)->connection->net_conf); in drbd_seq_show()
Ddrbd_req.c583 struct net_conf *nc; in __req_mod()
605 nc = rcu_dereference(connection->net_conf); in __req_mod()
718 nc = rcu_dereference(connection->net_conf); in __req_mod()
1001 struct net_conf *nc; in maybe_pull_ahead()
1006 nc = rcu_dereference(connection->net_conf); in maybe_pull_ahead()
1551 struct net_conf *nc; in request_timer_fn()
1557 nc = rcu_dereference(connection->net_conf); in request_timer_fn()
Ddrbd_worker.c1639 csums_after_crash_only = rcu_dereference(connection->net_conf)->csums_after_crash_only; in use_checksum_based_resync()
1809 struct net_conf *nc; in drbd_start_resync()
1813 nc = rcu_dereference(connection->net_conf); in drbd_start_resync()
2003 struct net_conf *nc; in wait_for_work()
2017 nc = rcu_dereference(connection->net_conf); in wait_for_work()
2072 nc = rcu_dereference(connection->net_conf); in wait_for_work()
Ddrbd_main.c731 struct net_conf *nc; in drbd_send_sync_param()
740 nc = rcu_dereference(peer_device->connection->net_conf); in drbd_send_sync_param()
782 struct net_conf *nc; in __drbd_send_protocol()
791 nc = rcu_dereference(connection->net_conf); in __drbd_send_protocol()
858 uuid_flags |= rcu_dereference(peer_device->connection->net_conf)->discard_my_data ? 1 : 0; in _drbd_send_uuids()
1096 use_rle = rcu_dereference(first_peer_device(device)->connection->net_conf)->use_rle; in fill_bitmap_rle_bits()
1791 connection->ko_count = rcu_dereference(connection->net_conf)->ko_count; in drbd_send()
1994 D_ASSERT(device, first_peer_device(device)->connection->net_conf == NULL); in drbd_device_cleanup()
3723 struct net_conf *nc; in drbd_wait_misc()
3728 nc = rcu_dereference(first_peer_device(device)->connection->net_conf); in drbd_wait_misc()
Ddrbd_int.h722 struct net_conf *net_conf; /* content protected by rcu */ member
2138 struct net_conf *nc; in drbd_get_max_buffers()
2142 nc = rcu_dereference(first_peer_device(device)->connection->net_conf); in drbd_get_max_buffers()
Ddrbd_state.c555 struct net_conf *nc; in is_valid_state()
564 nc = rcu_dereference(first_peer_device(device)->connection->net_conf); in is_valid_state()
1594 struct net_conf *old_conf; in w_after_conn_state_ch()
1597 old_conf = connection->net_conf; in w_after_conn_state_ch()
1600 RCU_INIT_POINTER(connection->net_conf, NULL); in w_after_conn_state_ch()
/linux-4.1.27/include/linux/
Ddrbd_genl.h142 GENL_struct(DRBD_NLA_NET_CONF, 5, net_conf,