Home
last modified time | relevance | path

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

/trusty/user/app/storage/
Dsuper.c194 struct super_block* super_rw; in update_super_block_internal() local
261 super_rw = block_get_cleared_super(tr, tr->fs->super_block[index], in update_super_block_internal()
264 block_put_dirty_discard(super_rw, &super_ref); in update_super_block_internal()
267 super_rw->magic = SUPER_BLOCK_MAGIC; in update_super_block_internal()
268 super_rw->flags = flags; in update_super_block_internal()
270 super_rw->fs_version = SUPER_BLOCK_FS_VERSION; in update_super_block_internal()
271 super_rw->required_flags = required_flags; in update_super_block_internal()
272 super_rw->block_size = tr->fs->dev->block_size; in update_super_block_internal()
273 super_rw->block_num_size = tr->fs->block_num_size; in update_super_block_internal()
274 super_rw->mac_size = tr->fs->mac_size; in update_super_block_internal()
[all …]
/trusty/user/app/storage/test/block_host_test/
Dblock_test.c1019 uint32_t* super_rw; in block_put_dirty_discard_test() local
1025 super_rw = block_dirty(tr, super_ro, false); in block_put_dirty_discard_test()
1026 assert(super_rw); in block_put_dirty_discard_test()
1033 block_put_dirty_discard(super_rw, &super_ref); in block_put_dirty_discard_test()
2160 uint16_t* super_rw; in future_fs_version_test() local
2177 super_rw = block_dirty(tr, super_ro, false); in future_fs_version_test()
2178 assert(super_rw); in future_fs_version_test()
2179 super_rw[fs_version_offset]++; in future_fs_version_test()
2180 block_put_dirty_no_mac(super_rw, &super_ref, false); in future_fs_version_test()
2229 super_rw = block_dirty(tr, super_ro, false); in future_fs_version_test()
[all …]