Home
last modified time | relevance | path

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

/trusty/user/base/lib/storage/rust/src/
Dlib.rs252 complete: bool, in open_file_impl()
271 let ops_flags = if complete { sys::STORAGE_OP_COMPLETE } else { 0 }; in open_file_impl()
413 complete: bool, in write_all_impl()
423 self.write_at_impl(file, 0, buf, complete) in write_all_impl()
452 complete: bool, in write_at_impl()
455 let ops_flags = if complete { sys::STORAGE_OP_COMPLETE } else { 0 }; in write_at_impl()
514 complete: bool, in set_size_impl()
517 let ops_flags = if complete { sys::STORAGE_OP_COMPLETE } else { 0 }; in set_size_impl()
548 fn rename_impl(&mut self, from: &str, to: &str, complete: bool) -> Result<(), Error> { in rename_impl()
554 let ops_flags = if complete { sys::STORAGE_OP_COMPLETE } else { 0 }; in rename_impl()
[all …]
Dtransaction.rs33 fn end_transaction(self, complete: bool) -> Result<(), Error> { in end_transaction()
38 sys::storage_end_transaction(self.session.raw, complete) in end_transaction()
/trusty/user/app/storage/
Dtransaction.h63 bool complete; member
Dtransaction.c278 if (tr->complete) { in transaction_fail()
342 assert(!tr->complete); in transaction_complete_etc()
527 tr->complete = true; in transaction_complete_etc()
632 tr->complete = false; in transaction_activate()
DREADME.md44 - transaction - Transaction init and complete code.
92 complete it uses three block sets (the same storage format as the free set
98 are stored in temporary trees until the transaction is complete.
/trusty/user/base/lib/storage/include/lib/storage/
Dstorage.h248 int storage_end_transaction(storage_session_t session, bool complete);
/trusty/user/app/storage/storage_mock/
Dstorage_mock.c359 int storage_end_transaction(storage_session_t session, bool complete) { in storage_end_transaction() argument
360 if (!complete) { in storage_end_transaction()
/trusty/user/base/lib/storage/
Dstorage.c618 int storage_end_transaction(storage_session_t session, bool complete) { in storage_end_transaction() argument
621 .flags = complete ? STORAGE_MSG_FLAG_TRANSACT_COMPLETE : 0, in storage_end_transaction()
/trusty/user/app/storage/test/storage-unittest/
Dmain.c202 bool complete) { in WritePattern() argument
204 complete ? STORAGE_OP_COMPLETE : 0); in WritePattern()