Lines Matching refs:first_peer_device
364 struct drbd_connection *connection = first_peer_device(device)->connection; in drbd_khelper()
617 struct drbd_peer_device *const peer_device = first_peer_device(device); in drbd_set_role()
1211 first_peer_device(device)->connection; in decide_on_discard_support()
1250 struct drbd_connection *connection = first_peer_device(device)->connection; in fixup_write_zeroes()
1324 if (first_peer_device(device)->connection->agreed_pro_version < 94) in drbd_reconsider_queue_parameters()
1327 else if (first_peer_device(device)->connection->agreed_pro_version == 94) in drbd_reconsider_queue_parameters()
1329 else if (first_peer_device(device)->connection->agreed_pro_version < 100) in drbd_reconsider_queue_parameters()
1750 peer_device = first_peer_device(device); in drbd_adm_attach()
2767 iass = test_bit(RESOLVE_CONFLICTS, &first_peer_device(device)->connection->flags); in resync_after_online_grow()
2824 if (rs.no_resync && first_peer_device(device)->connection->agreed_pro_version < 93) { in drbd_adm_resize()
2895 drbd_send_uuids(first_peer_device(device)); in drbd_adm_resize()
2896 drbd_send_sizes(first_peer_device(device), 1, ddsf); in drbd_adm_resize()
2974 drbd_flush_workqueue(&first_peer_device(device)->connection->sender_work); in drbd_adm_invalidate()
3052 drbd_flush_workqueue(&first_peer_device(device)->connection->sender_work); in drbd_adm_invalidate_peer()
3176 tl_clear(first_peer_device(device)->connection); in drbd_adm_resume_io()
3178 tl_restart(first_peer_device(device)->connection, FAIL_FROZEN_DISK_IO); in drbd_adm_resume_io()
3752 nc = rcu_dereference(first_peer_device(device)->connection->net_conf); in nla_put_status_info()
4147 first_peer_device(device)->connection->agreed_pro_version >= 90 && in drbd_adm_new_c_uuid()
4167 drbd_send_uuids_skip_initial_sync(first_peer_device(device)); in drbd_adm_new_c_uuid()