Lines Matching refs:current_epoch
1398 if (connection->current_epoch != epoch) {
1779 connection->current_epoch->barrier_nr = p->barrier;
1780 connection->current_epoch->connection = connection;
1781 rv = drbd_may_finish_epoch(connection, connection->current_epoch, EV_GOT_BARRIER_NR);
1807 if (atomic_read(&connection->current_epoch->epoch_size)) {
1825 if (atomic_read(&connection->current_epoch->epoch_size)) {
1826 list_add(&epoch->list, &connection->current_epoch->list);
1827 connection->current_epoch = epoch;
1830 /* The current_epoch got recycled while we allocated this one... */
2609 atomic_inc(&connection->current_epoch->epoch_size);
2660 peer_req->epoch = connection->current_epoch;
5188 if (!list_empty(&connection->current_epoch->list))
5189 drbd_err(connection, "ASSERTION FAILED: connection->current_epoch->list not empty\n");
5191 atomic_set(&connection->current_epoch->epoch_size, 0);