Home
last modified time | relevance | path

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

/aosp_15_r20/trusty/user/app/storage/
Dblock_allocator.c466 assert(!block_set_block_in_set(tr, &tr->allocated, block)); in block_allocator_add_free()
467 assert(!block_set_block_in_set(tr, &tr->freed, block)); in block_allocator_add_free()
476 assert(!block_set_block_in_set(tr, &tr->tmp_allocated, block)); in block_allocator_add_free()
477 if (block_set_block_in_set(tr, &tr->allocated, block)) { in block_allocator_add_free()
Dtransaction.c248 assert(!block_set_block_in_set(tr, &tr->tmp_allocated, block)); in transaction_block_need_copy()
251 return !block_set_block_in_set(tr, &tr->allocated, block) && in transaction_block_need_copy()
316 assert(!block_set_block_in_set( in check_free_tree()
Dblock_set.h73 bool block_set_block_in_set(struct transaction* tr,
Dblock_set.c324 bool block_set_block_in_set(struct transaction* tr, in block_set_block_in_set() function
/aosp_15_r20/trusty/user/app/storage/test/block_host_test/
Dblock_test.c691 assert(!block_set_block_in_set(tr, &tr->fs->free, blocks1[i])); in allocate_2_transactions_test_etc()
694 assert(block_set_block_in_set(tr, &tr->fs->free, blocks2[i])); in allocate_2_transactions_test_etc()
700 assert(!block_set_block_in_set(tr, &tr->fs->free, blocks1[i])); in allocate_2_transactions_test_etc()
703 assert(!block_set_block_in_set(tr, &tr->fs->free, blocks2[i])); in allocate_2_transactions_test_etc()
759 assert(block_set_block_in_set(tr, &tr->fs->free, blocks1[i])); in free_test_etc()
771 assert(block_set_block_in_set(tr, &tr->fs->free, blocks2[i])); in free_test_etc()
914 assert(!block_set_block_in_set(tr, &tr->fs->free, allocated[i])); in allocate_free_other_test()
917 assert(block_set_block_in_set(tr, &tr->fs->free, i)); in allocate_free_other_test()
942 assert(block_set_block_in_set(tr, &tr->fs->free, i)); in free_frag_rem_test()