Home
last modified time | relevance | path

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

/trusty/user/app/avb/
Davb_manager.cpp92 uint64_t rollback_counter; in ReadRollbackIndex() local
97 rollback_counter = 0; in ReadRollbackIndex()
100 rc = storage_->read(sizeof(rollback_counter) * slot, &rollback_counter, in ReadRollbackIndex()
101 sizeof(rollback_counter)); in ReadRollbackIndex()
110 if (static_cast<size_t>(rc) < sizeof(rollback_counter)) { in ReadRollbackIndex()
116 response->set_value(rollback_counter); in ReadRollbackIndex()
151 uint64_t rollback_counter; in WriteRollbackIndex() local
153 rc = storage_->read(sizeof(rollback_counter) * slot, &rollback_counter, in WriteRollbackIndex()
154 sizeof(rollback_counter)); in WriteRollbackIndex()
157 if (request_value < rollback_counter) { in WriteRollbackIndex()
[all …]