Searched refs:epoch_size (Results 1 – 3 of 3) sorted by relevance
1363 int epoch_size; in drbd_may_finish_epoch() local1371 epoch_size = atomic_read(&epoch->epoch_size); in drbd_may_finish_epoch()1385 if (epoch_size != 0 && in drbd_may_finish_epoch()1390 drbd_send_b_ack(epoch->connection, epoch->barrier_nr, epoch_size); in drbd_may_finish_epoch()1411 atomic_set(&epoch->epoch_size, 0); in drbd_may_finish_epoch()1795 if (atomic_read(&connection->current_epoch->epoch_size)) { in receive_Barrier()1809 atomic_set(&epoch->epoch_size, 0); in receive_Barrier()1813 if (atomic_read(&connection->current_epoch->epoch_size)) { in receive_Barrier()2576 atomic_inc(&connection->current_epoch->epoch_size); in receive_Data()2627 atomic_inc(&peer_req->epoch->epoch_size); in receive_Data()[all …]
295 atomic_t epoch_size; /* increased on every request added. */ member
2655 if (atomic_read(&connection->current_epoch->epoch_size) != 0) in drbd_destroy_connection()2656 drbd_err(connection, "epoch_size:%d\n", atomic_read(&connection->current_epoch->epoch_size)); in drbd_destroy_connection()