Lines Matching refs:current_epoch
1400 if (connection->current_epoch != epoch) { in drbd_may_finish_epoch()
1767 connection->current_epoch->barrier_nr = p->barrier; in receive_Barrier()
1768 connection->current_epoch->connection = connection; in receive_Barrier()
1769 rv = drbd_may_finish_epoch(connection, connection->current_epoch, EV_GOT_BARRIER_NR); in receive_Barrier()
1795 if (atomic_read(&connection->current_epoch->epoch_size)) { in receive_Barrier()
1813 if (atomic_read(&connection->current_epoch->epoch_size)) { in receive_Barrier()
1814 list_add(&epoch->list, &connection->current_epoch->list); in receive_Barrier()
1815 connection->current_epoch = epoch; in receive_Barrier()
2576 atomic_inc(&connection->current_epoch->epoch_size); in receive_Data()
2626 peer_req->epoch = connection->current_epoch; in receive_Data()
5140 if (!list_empty(&connection->current_epoch->list)) in conn_disconnect()
5143 atomic_set(&connection->current_epoch->epoch_size, 0); in conn_disconnect()