Searched refs:net_conf (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/drivers/block/drbd/ |
D | drbd_receiver.c | 265 struct net_conf *nc; in drbd_alloc_pages() 270 nc = rcu_dereference(peer_device->connection->net_conf); in drbd_alloc_pages() 526 t = rcu_dereference(connection->net_conf)->ping_timeo * HZ/10; in drbd_recv() 592 struct net_conf *nc; in drbd_try_connect() 598 nc = rcu_dereference(connection->net_conf); in drbd_try_connect() 698 struct net_conf *nc; in prepare_listen_socket() 702 nc = rcu_dereference(connection->net_conf); in prepare_listen_socket() 768 struct net_conf *nc; in drbd_wait_for_connect() 771 nc = rcu_dereference(connection->net_conf); in drbd_wait_for_connect() 815 struct net_conf *nc; in receive_first_packet() [all …]
|
D | drbd_nl.c | 622 struct net_conf *nc; in drbd_set_role() 692 nc = rcu_dereference(connection->net_conf); in drbd_set_role() 726 nc = connection->net_conf; in drbd_set_role() 1807 struct net_conf *nc; in drbd_adm_attach() 1880 nc = rcu_dereference(connection->net_conf); in drbd_adm_attach() 2301 …k_net_options(struct drbd_connection *connection, struct net_conf *old_net_conf, struct net_conf *… in _check_net_options() 2345 check_net_options(struct drbd_connection *connection, struct net_conf *new_net_conf) in check_net_options() 2352 rv = _check_net_options(connection, rcu_dereference(connection->net_conf), new_net_conf); in check_net_options() 2390 alloc_crypto(struct crypto *crypto, struct net_conf *new_net_conf) in alloc_crypto() 2431 struct net_conf *old_net_conf, *new_net_conf = NULL; in drbd_adm_net_opts() [all …]
|
D | drbd_proc.c | 220 struct net_conf *nc; in drbd_seq_show() 270 nc = rcu_dereference(first_peer_device(device)->connection->net_conf); in drbd_seq_show()
|
D | drbd_req.c | 571 struct net_conf *nc; in __req_mod() 593 nc = rcu_dereference(connection->net_conf); in __req_mod() 706 nc = rcu_dereference(connection->net_conf); in __req_mod() 993 struct net_conf *nc; in maybe_pull_ahead() 998 nc = rcu_dereference(connection->net_conf); in maybe_pull_ahead() 1711 struct net_conf *nc; in request_timer_fn() 1718 nc = rcu_dereference(connection->net_conf); in request_timer_fn()
|
D | drbd_worker.c | 1716 csums_after_crash_only = rcu_dereference(connection->net_conf)->csums_after_crash_only; in use_checksum_based_resync() 1885 struct net_conf *nc; in drbd_start_resync() 1889 nc = rcu_dereference(connection->net_conf); in drbd_start_resync() 2080 struct net_conf *nc; in wait_for_work() 2094 nc = rcu_dereference(connection->net_conf); in wait_for_work() 2149 nc = rcu_dereference(connection->net_conf); in wait_for_work()
|
D | drbd_main.c | 725 struct net_conf *nc; in drbd_send_sync_param() 734 nc = rcu_dereference(peer_device->connection->net_conf); in drbd_send_sync_param() 776 struct net_conf *nc; in __drbd_send_protocol() 785 nc = rcu_dereference(connection->net_conf); in __drbd_send_protocol() 851 uuid_flags |= rcu_dereference(peer_device->connection->net_conf)->discard_my_data ? 1 : 0; in _drbd_send_uuids() 1123 use_rle = rcu_dereference(first_peer_device(device)->connection->net_conf)->use_rle; in fill_bitmap_rle_bits() 1857 connection->ko_count = rcu_dereference(connection->net_conf)->ko_count; in drbd_send() 2069 D_ASSERT(device, first_peer_device(device)->connection->net_conf == NULL); in drbd_device_cleanup() 3785 struct net_conf *nc; in drbd_wait_misc() 3790 nc = rcu_dereference(first_peer_device(device)->connection->net_conf); in drbd_wait_misc()
|
D | drbd_int.h | 702 struct net_conf *net_conf; /* content protected by rcu */ member 780 has_net_conf = rcu_dereference(connection->net_conf); in has_net_conf() 2168 struct net_conf *nc; in drbd_get_max_buffers() 2172 nc = rcu_dereference(first_peer_device(device)->connection->net_conf); in drbd_get_max_buffers()
|
D | drbd_state.c | 829 struct net_conf *nc; in is_valid_state() 838 nc = rcu_dereference(first_peer_device(device)->connection->net_conf); in is_valid_state() 2056 struct net_conf *old_conf; in w_after_conn_state_ch() 2066 old_conf = connection->net_conf; in w_after_conn_state_ch() 2069 RCU_INIT_POINTER(connection->net_conf, NULL); in w_after_conn_state_ch()
|
/Linux-v5.4/include/linux/ |
D | drbd_genl.h | 145 GENL_struct(DRBD_NLA_NET_CONF, 5, net_conf,
|