Home
last modified time | relevance | path

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

/trusty/user/app/storage/test/storage_host_test/
Dstorage_host_test.c98 size_t file_block_size = tr->fs->dev->block_size - sizeof(struct iv); in file_test_open() local
122 if (file->size < i * file_block_size) { in file_test_open()
123 file_set_size(tr, file, i * file_block_size); in file_test_open()
125 ASSERT_GE(file->size, i * file_block_size); in file_test_open()
150 ASSERT_GE(file->size, i * file_block_size); in file_test_open()
/trusty/user/app/storage/
Dfile.c176 data_block_t file_block_size = get_file_block_size(tr->fs); in file_check() local
180 DIV_ROUND_UP(file->size, file_block_size)); in file_check()
612 size_t file_block_size = get_file_block_size(tr->fs); in file_set_size() local
628 file_block = DIV_ROUND_UP(size, file_block_size); in file_set_size()
/trusty/user/app/storage/test/block_host_test/
Dblock_test.c1073 size_t file_block_size = master_tr->fs->dev->block_size - sizeof(struct iv); in file_allocate_all_test() local
1107 file_set_size(&tr[i], &file[i], written_count[i] * file_block_size); in file_allocate_all_test()
1113 assert(file[i].size == written_count[i] * file_block_size); in file_allocate_all_test()
1176 size_t file_block_size = tr->fs->dev->block_size - sizeof(struct iv); in file_test_open() local
1197 if (file->size < i * file_block_size) { in file_test_open()
1198 file_set_size(tr, file, i * file_block_size); in file_test_open()
1200 assert(file->size >= i * file_block_size); in file_test_open()
1225 assert(file->size >= i * file_block_size); in file_test_open()
2665 size_t file_block_size = tr->fs->dev->block_size - sizeof(struct iv); in fs_check_sparse_file_test() local
2676 file_set_size(tr, &file, i * file_block_size); in fs_check_sparse_file_test()