Lines Matching refs:current_epoch
1400 if (connection->current_epoch != epoch) {
1767 connection->current_epoch->barrier_nr = p->barrier;
1768 connection->current_epoch->connection = connection;
1769 rv = drbd_may_finish_epoch(connection, connection->current_epoch, EV_GOT_BARRIER_NR);
1795 if (atomic_read(&connection->current_epoch->epoch_size)) {
1813 if (atomic_read(&connection->current_epoch->epoch_size)) {
1814 list_add(&epoch->list, &connection->current_epoch->list);
1815 connection->current_epoch = epoch;
1818 /* The current_epoch got recycled while we allocated this one... */
2576 atomic_inc(&connection->current_epoch->epoch_size);
2626 peer_req->epoch = connection->current_epoch;
5140 if (!list_empty(&connection->current_epoch->list))
5141 drbd_err(connection, "ASSERTION FAILED: connection->current_epoch->list not empty\n");
5143 atomic_set(&connection->current_epoch->epoch_size, 0);