Home
last modified time | relevance | path

Searched refs:super_dev (Results 1 – 4 of 4) sorted by relevance

/trusty/user/app/storage/
Dfs.h144 struct block_device* super_dev; member
221 struct block_device* super_dev,
Dsuper.c200 uint32_t block_size = tr->fs->super_dev->block_size; in update_super_block_internal()
945 assert(fs->super_dev->block_size >= sizeof(struct super_block)); in load_super_block()
1152 struct block_device* super_dev, in fs_init() argument
1156 if (super_dev->block_size < sizeof(struct super_block)) { in fs_init()
1158 super_dev->block_size, sizeof(struct super_block)); in fs_init()
1162 if (super_dev->block_count < 2) { in fs_init()
1164 super_dev->block_count); in fs_init()
1177 fs->super_dev = super_dev; in fs_init()
1187 if (dev == super_dev) { in fs_init()
1199 fs->super_dev = NULL; in fs_init()
Dblock_cache.c1021 assert(dev == tr->fs->dev || dev == tr->fs->super_dev); in block_cache_clean_transaction()
1090 assert(dev == tr->fs->dev || dev == tr->fs->super_dev); in block_cache_discard_transaction()
1159 assert(fs->super_dev); in block_get_super()
1160 assert((fs->allow_tampering && !fs->super_dev->tamper_detecting) || in block_get_super()
1161 (!fs->allow_tampering && fs->super_dev->tamper_detecting)); in block_get_super()
1163 return block_cache_get_data(fs, fs->super_dev, block, true, NULL, 0, ref, in block_get_super()
1520 const void* data_ro = block_cache_get_data(tr->fs, tr->fs->super_dev, block, in block_get_cleared_super()
1541 assert(tr->fs->super_dev->block_size <= MAX_BLOCK_SIZE); in block_get_cleared_super()
1542 memset(data_rw, 0, tr->fs->super_dev->block_size); in block_get_cleared_super()
/trusty/user/app/storage/test/block_host_test/
Dblock_test.c137 struct block_device* super_dev = tr->fs->super_dev; in block_test_clear_reinit_etc() local
158 ret = fs_init(fs, FILE_SYSTEM_TEST, key, dev, super_dev, flags); in block_test_clear_reinit_etc()
2158 struct block_device* super_dev = fs->super_dev; in future_fs_version_test() local
2187 ret = fs_init(fs, FILE_SYSTEM_TEST, key, dev, super_dev, in future_fs_version_test()
2202 ret = fs_init(fs, FILE_SYSTEM_TEST, key, dev, super_dev, in future_fs_version_test()
2222 fs->super_dev = super_dev; in future_fs_version_test()
2236 ret = fs_init(fs, FILE_SYSTEM_TEST, key, dev, super_dev, in future_fs_version_test()
2293 struct block_device* super_dev = fs->super_dev; in unknown_required_flags_test() local
2313 ret = fs_init(fs, FILE_SYSTEM_TEST, key, dev, super_dev, in unknown_required_flags_test()
2328 ret = fs_init(fs, FILE_SYSTEM_TEST, key, dev, super_dev, in unknown_required_flags_test()
[all …]