Home
last modified time | relevance | path

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

/linux/drivers/block/drbd/
H A Ddrbd_receiver.c117 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()
[all …]
H A Ddrbd_nl.c621 struct net_conf *nc; in drbd_set_role()
691 nc = rcu_dereference(connection->net_conf); in drbd_set_role()
725 nc = connection->net_conf; in drbd_set_role()
1752 struct net_conf *nc; in drbd_adm_attach()
1825 nc = rcu_dereference(connection->net_conf); in drbd_adm_attach()
2248 …k_net_options(struct drbd_connection *connection, struct net_conf *old_net_conf, struct net_conf *… in _check_net_options()
2292 check_net_options(struct drbd_connection *connection, struct net_conf *new_net_conf) in check_net_options()
2299 rv = _check_net_options(connection, rcu_dereference(connection->net_conf), new_net_conf); in check_net_options()
2337 alloc_crypto(struct crypto *crypto, struct net_conf *new_net_conf) in alloc_crypto()
2378 struct net_conf *old_net_conf, *new_net_conf = NULL; in drbd_adm_net_opts()
[all …]
H A Ddrbd_proc.c220 struct net_conf *nc; in drbd_seq_show()
269 nc = rcu_dereference(first_peer_device(device)->connection->net_conf); in drbd_seq_show()
H A Ddrbd_req.c566 struct net_conf *nc; in __req_mod()
588 nc = rcu_dereference(connection->net_conf); in __req_mod()
702 nc = rcu_dereference(connection->net_conf); in __req_mod()
988 struct net_conf *nc; in maybe_pull_ahead()
993 nc = rcu_dereference(connection->net_conf); in maybe_pull_ahead()
1707 struct net_conf *nc; in request_timer_fn()
1714 nc = rcu_dereference(connection->net_conf); in request_timer_fn()
H A Ddrbd_int.h634 struct net_conf *net_conf; /* content protected by rcu */ member
712 has_net_conf = rcu_dereference(connection->net_conf); in has_net_conf()
2032 struct net_conf *nc; in drbd_get_max_buffers()
2036 nc = rcu_dereference(first_peer_device(device)->connection->net_conf); in drbd_get_max_buffers()
H A Ddrbd_worker.c1704 csums_after_crash_only = rcu_dereference(connection->net_conf)->csums_after_crash_only; in use_checksum_based_resync()
1873 struct net_conf *nc; in drbd_start_resync()
1877 nc = rcu_dereference(connection->net_conf); in drbd_start_resync()
2070 struct net_conf *nc; in wait_for_work()
2084 nc = rcu_dereference(connection->net_conf); in wait_for_work()
2139 nc = rcu_dereference(connection->net_conf); in wait_for_work()
H A Ddrbd_main.c696 struct net_conf *nc; in drbd_send_sync_param()
705 nc = rcu_dereference(peer_device->connection->net_conf); in drbd_send_sync_param()
748 struct net_conf *nc; in __drbd_send_protocol()
758 nc = rcu_dereference(connection->net_conf); in __drbd_send_protocol()
826 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()
1820 connection->ko_count = rcu_dereference(connection->net_conf)->ko_count; in drbd_send()
2027 D_ASSERT(device, first_peer_device(device)->connection->net_conf == NULL); in drbd_device_cleanup()
3653 struct net_conf *nc; in drbd_wait_misc()
3658 nc = rcu_dereference(first_peer_device(device)->connection->net_conf); in drbd_wait_misc()
H A Ddrbd_state.c829 struct net_conf *nc; in is_valid_state()
838 nc = rcu_dereference(first_peer_device(device)->connection->net_conf); in is_valid_state()
2066 struct net_conf *old_conf; in w_after_conn_state_ch()
2076 old_conf = connection->net_conf; in w_after_conn_state_ch()
2079 RCU_INIT_POINTER(connection->net_conf, NULL); in w_after_conn_state_ch()
/linux/include/linux/
H A Ddrbd_genl.h145 GENL_struct(DRBD_NLA_NET_CONF, 5, net_conf,