Home
last modified time | relevance | path

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

/trusty/user/app/storage/
Dtransaction.c333 struct transaction* other_tr; in transaction_complete_etc() local
534 list_for_every_entry_safe(&tr->fs->transactions, other_tr, tmp_tr, in transaction_complete_etc()
539 if (!transaction_is_active(other_tr)) { in transaction_complete_etc()
551 transaction_fail(other_tr); in transaction_complete_etc()
552 } else if (block_set_overlap(tr, &tr->freed, &other_tr->freed)) { in transaction_complete_etc()
554 transaction_fail(other_tr); in transaction_complete_etc()
560 list_for_every_entry_safe(&tr->fs->transactions, other_tr, tmp_tr, in transaction_complete_etc()
562 if (!transaction_is_active(other_tr)) { in transaction_complete_etc()
566 transaction_fail(other_tr); in transaction_complete_etc()
Dfile.c1241 struct transaction* other_tr; in file_for_each_open() local
1244 list_for_every_entry_safe(&tr->fs->transactions, other_tr, tmp_tr, in file_for_each_open()
1246 list_for_every_entry(&other_tr->open_files, file, in file_for_each_open()
1248 func(tr, other_tr, file); in file_for_each_open()
1353 struct transaction* other_tr, in file_update_block_mac_tr() argument
1360 assert(block_mac_valid(tr, old_block_mac) || other_tr == tr); in file_update_block_mac_tr()
1361 list_for_every_entry(&other_tr->open_files, file, in file_update_block_mac_tr()
1404 struct transaction* other_tr; in file_update_block_mac_all() local
1406 list_for_every_entry_safe(&tr->fs->transactions, other_tr, tmp_tr, in file_update_block_mac_all()
1408 file_update_block_mac_tr(tr, other_tr, old_block_mac, old_block_no_mac, in file_update_block_mac_all()
/trusty/user/app/storage/test/block_host_test/
Dblock_test.c2004 struct transaction other_tr; in fs_rebuild_with_pending_transaction() local
2005 transaction_init(&other_tr, tr->fs, true); in fs_rebuild_with_pending_transaction()
2007 assert(other_tr.failed); in fs_rebuild_with_pending_transaction()
2008 transaction_free(&other_tr); in fs_rebuild_with_pending_transaction()