Home
last modified time | relevance | path

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

/test/vts-testcase/kernel/encryption/
Dfile_based_encryption_tests.cpp87 constexpr int kFilesystemBlockSize = 4096; variable
93 constexpr int kTestFileBytes = kFilesystemBlockSize * kTestFileBlocks;
223 int max_extents = expected_data_size / kFilesystemBlockSize; in ReadRawDataOfFile()
225 EXPECT_TRUE(expected_data_size % kFilesystemBlockSize == 0); in ReadRawDataOfFile()
253 aligned_alloc(kFilesystemBlockSize, expected_data_size), free); in ReadRawDataOfFile()
283 if (extent.fe_length % kFilesystemBlockSize != 0) { in ReadRawDataOfFile()
705 for (size_t i = 0; i < plaintext.size(); i += kFilesystemBlockSize) { in VerifyCiphertext()
707 std::min<size_t>(kFilesystemBlockSize, plaintext.size() - i); in VerifyCiphertext()
839 constexpr size_t data_size = block_count * kFilesystemBlockSize; in TestEmmcOptimizedDunWraparound()
845 constexpr off_t max_file_blocks = max_file_size / kFilesystemBlockSize; in TestEmmcOptimizedDunWraparound()
[all …]
Dmetadata_encryption_tests.cpp77 static constexpr int kFilesystemBlockSize = 4096; variable
324 ReadBlockDevice(fs_info.raw_blk_device, kFilesystemBlockSize, &raw_data)); in TEST()