Home
last modified time | relevance | path

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

/drivers/block/drbd/
Ddrbd_receiver.c1225 if (tconn->current_epoch != epoch) { in drbd_may_finish_epoch()
1426 tconn->current_epoch->barrier_nr = p->barrier; in receive_Barrier()
1427 tconn->current_epoch->tconn = tconn; in receive_Barrier()
1428 rv = drbd_may_finish_epoch(tconn, tconn->current_epoch, EV_GOT_BARRIER_NR); in receive_Barrier()
1454 if (atomic_read(&tconn->current_epoch->epoch_size)) { in receive_Barrier()
1471 if (atomic_read(&tconn->current_epoch->epoch_size)) { in receive_Barrier()
1472 list_add(&epoch->list, &tconn->current_epoch->list); in receive_Barrier()
1473 tconn->current_epoch = epoch; in receive_Barrier()
2175 atomic_inc(&tconn->current_epoch->epoch_size); in receive_Data()
2208 peer_req->epoch = tconn->current_epoch; in receive_Data()
[all …]
Ddrbd_main.c2527 tconn->current_epoch = kzalloc(sizeof(struct drbd_epoch), GFP_KERNEL); in conn_create()
2528 if (!tconn->current_epoch) in conn_create()
2533 INIT_LIST_HEAD(&tconn->current_epoch->list); in conn_create()
2563 kfree(tconn->current_epoch); in conn_create()
2577 if (atomic_read(&tconn->current_epoch->epoch_size) != 0) in conn_destroy()
2578 conn_err(tconn, "epoch_size:%d\n", atomic_read(&tconn->current_epoch->epoch_size)); in conn_destroy()
2579 kfree(tconn->current_epoch); in conn_destroy()
Ddrbd_int.h866 struct drbd_epoch *current_epoch; member