Searched refs:kFilesystemBlockSize (Results 1 – 2 of 2) sorted by relevance
87 constexpr int kFilesystemBlockSize = 4096; variable93 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 …]
77 static constexpr int kFilesystemBlockSize = 4096; variable324 ReadBlockDevice(fs_info.raw_blk_device, kFilesystemBlockSize, &raw_data)); in TEST()