Lines Matching refs:storage_
77 int rc = storage_->open(filename); in ReadRollbackIndex()
84 rc = storage_->get_file_size(&size); in ReadRollbackIndex()
96 rc = storage_->write(0, write_buf, sizeof(write_buf)); in ReadRollbackIndex()
100 rc = storage_->read(sizeof(rollback_counter) * slot, &rollback_counter, in ReadRollbackIndex()
129 int rc = storage_->open(filename); in WriteRollbackIndex()
136 rc = storage_->get_file_size(&size); in WriteRollbackIndex()
149 rc = storage_->write(0, write_buf, sizeof(write_buf)); in WriteRollbackIndex()
153 rc = storage_->read(sizeof(rollback_counter) * slot, &rollback_counter, in WriteRollbackIndex()
166 rc = storage_->write(sizeof(request_value) * slot, &request_value, in WriteRollbackIndex()
193 int rc = storage_->open(kPermanentAttributesFilename); in ReadPermanentAttributes()
202 rc = storage_->read(0, attributes.get(), kPermanentAttributesLengthMax); in ReadPermanentAttributes()
216 int rc = storage_->open(kPermanentAttributesFilename); in WritePermanentAttributes()
223 rc = storage_->get_file_size(&size); in WritePermanentAttributes()
238 rc = storage_->write(0, attributes, attributes_size); in WritePermanentAttributes()
249 int rc = storage_->open(kLockStateFile); in ReadLockState()
256 rc = storage_->get_file_size(&size); in ReadLockState()
266 rc = storage_->write(0, &lock_state, sizeof(lock_state)); in ReadLockState()
268 rc = storage_->read(0, &lock_state, sizeof(lock_state)); in ReadLockState()
288 int rc = storage_->open(kLockStateFile); in WriteLockState()
297 storage_->read(0, &stored_lock_state, sizeof(stored_lock_state)); in WriteLockState()
310 rc = storage_->write(0, &request_lock_state, sizeof(request_lock_state)); in WriteLockState()
329 int storage_rc = storage_->delete_file(filename); in DeleteRollbackIndexFiles()