first_peer_device
struct drbd_connection *connection = first_peer_device(device)->connection;
drbd_advance_rs_marks(first_peer_device(device), still_to_go);
first_peer_device(device)->connection;
nc = rcu_dereference(first_peer_device(device)->connection->net_conf);
if (first_peer_device(device)->connection->agreed_pro_version < 96)
drbd_queue_work(&first_peer_device(device)->
return first_peer_device(device)->connection->agreed_pro_version >= 97 &&
first_peer_device(device)->connection->agreed_pro_version != 100;
use_rle = rcu_dereference(first_peer_device(device)->connection->net_conf)->use_rle;
if (!use_rle || first_peer_device(device)->connection->agreed_pro_version < 90)
&first_peer_device(device)->connection->sender_work,
if (first_peer_device(device)->connection->receiver.t_state != NONE)
first_peer_device(device)->connection->receiver.t_state);
D_ASSERT(device, first_peer_device(device)->connection->net_conf == NULL);
D_ASSERT(device, list_empty(&first_peer_device(device)->connection->sender_work.q));
struct drbd_connection *connection = first_peer_device(device)->connection;
D_ASSERT(device, current != first_peer_device(device)->connection->worker.task);
nc = rcu_dereference(first_peer_device(device)->connection->net_conf);
if (first_peer_device(device)->connection->agreed_pro_version < 94)
if (first_peer_device(device)->connection->agreed_pro_version == 94)
if (first_peer_device(device)->connection->agreed_pro_version < 100)
first_peer_device(device)->connection;
peer_device = first_peer_device(device);
iass = test_bit(RESOLVE_CONFLICTS, &first_peer_device(device)->connection->flags);
if (rs.no_resync && first_peer_device(device)->connection->agreed_pro_version < 93) {
drbd_send_uuids(first_peer_device(device));
drbd_send_sizes(first_peer_device(device), 1, ddsf);
drbd_flush_workqueue(&first_peer_device(device)->connection->sender_work);
drbd_flush_workqueue(&first_peer_device(device)->connection->sender_work);
tl_clear(first_peer_device(device)->connection);
tl_restart(first_peer_device(device)->connection, FAIL_FROZEN_DISK_IO);
struct drbd_connection *connection = first_peer_device(device)->connection;
nc = rcu_dereference(first_peer_device(device)->connection->net_conf);
first_peer_device(device)->connection->agreed_pro_version >= 90 &&
drbd_send_uuids_skip_initial_sync(first_peer_device(device));
struct drbd_peer_device *const peer_device = first_peer_device(device);
nc = rcu_dereference(first_peer_device(device)->connection->net_conf);
first_peer_device(device)->connection->epochs,
struct drbd_peer_device *peer_device = first_peer_device(device);
start_new_tl_epoch(first_peer_device(device)->connection);
struct drbd_peer_device *peer_device = first_peer_device(device);
struct drbd_peer_device *peer_device = first_peer_device(device);
struct drbd_peer_device *peer_device = first_peer_device(device);
req->epoch = atomic_read(&first_peer_device(device)->connection->current_tle_nr);
first_peer_device(device)->connection->current_tle_writes++;
list_add_tail(&req->tl_requests, &first_peer_device(device)->connection->transfer_log);
struct drbd_connection *connection = first_peer_device(device)->connection;
req->epoch == atomic_read(&first_peer_device(device)->connection->current_tle_nr))
start_new_tl_epoch(first_peer_device(device)->connection);
struct drbd_peer_device *peer_device = first_peer_device(device);
drbd_set_out_of_sync(first_peer_device(device),
struct drbd_connection *connection = first_peer_device(device)->connection;
struct drbd_peer_device *peer_device = first_peer_device(device);
D_ASSERT(device, current == first_peer_device(device)->connection->worker.task);
struct drbd_peer_device *peer_device = first_peer_device(device);
rv = is_valid_soft_transition(os, ns, first_peer_device(device)->connection);
rv = is_valid_soft_transition(os, ns, first_peer_device(device)->connection);
if (drbd_send_state_req(first_peer_device(device), mask, val)) {
D_ASSERT(device, current != first_peer_device(device)->connection->worker.task);
nc = rcu_dereference(first_peer_device(device)->connection->net_conf);
else if (conn_highest_peer(first_peer_device(device)->connection) == R_PRIMARY)
first_peer_device(device)->connection->agreed_pro_version < 88)
return pd_send_unplug_remote(first_peer_device(device));
struct drbd_peer_device *const peer_device = first_peer_device(device);
struct drbd_peer_device *const peer_device = first_peer_device(device);
struct drbd_peer_device *const peer_device = first_peer_device(device);
struct drbd_peer_device *peer_device = first_peer_device(device);
struct drbd_peer_device *peer_device = first_peer_device(device);
update_on_disk_bitmap(first_peer_device(device), test_bit(RS_DONE, &todo));
make_ov_request(first_peer_device(device), cancel);
make_resync_request(first_peer_device(device), cancel);
&first_peer_device(device)->connection->sender_work,
if (drbd_send_ov_request(first_peer_device(device), sector, size)) {
ov_out_of_sync_print(first_peer_device(device));
drbd_resync_finished(first_peer_device(device));
drbd_resync_finished(first_peer_device(device));
struct drbd_connection *connection = first_peer_device(device)->connection;