Home
last modified time | relevance | path

Searched refs:current_epoch (Results 1 – 3 of 3) sorted by relevance

/drivers/block/drbd/
Ddrbd_receiver.c1400 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()
[all …]
Ddrbd_main.c2593 connection->current_epoch = kzalloc(sizeof(struct drbd_epoch), GFP_KERNEL); in conn_create()
2594 if (!connection->current_epoch) in conn_create()
2599 INIT_LIST_HEAD(&connection->current_epoch->list); in conn_create()
2643 kfree(connection->current_epoch); in conn_create()
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()
2657 kfree(connection->current_epoch); in drbd_destroy_connection()
Ddrbd_int.h658 struct drbd_epoch *current_epoch; member