Home
last modified time | relevance | path

Searched refs:kSectorSize (Results 1 – 10 of 10) sorted by relevance

/external/pigweed/pw_kvs/
Dentry_cache_test.cc197 constexpr size_t kSectorSize = 64; variable
209 constexpr std::array<byte, kSectorSize - kTheEntry.size() % kSectorSize>
226 constexpr std::array<byte, kSectorSize - kCollisionEntry.size() % kSectorSize>
240 constexpr std::array<byte, kSectorSize - kDeletedEntry.size() % kSectorSize>
293 FakeFlashMemoryBuffer<kSectorSize, kTotalSectors> flash_;
Dflash_partition_stream_test.cc140 static constexpr size_t kSectorSize = 2048; member in pw::kvs::__anon7cc914380111::FlashStreamTest
142 static constexpr size_t kFPDataSize = (kSectorCount * kSectorSize);
144 FakeFlashMemoryBuffer<kSectorSize, kSectorCount> flash_;
/external/pigweed/pw_blob_store/
Dblob_store_deferred_write_test.cc126 static constexpr size_t kSectorSize = 1024; member in pw::blob_store::__anon188601920111::DeferredWriteTest
128 static constexpr size_t kBufferSize = 2 * kSectorSize;
130 kvs::FakeFlashMemoryBuffer<kSectorSize, kSectorCount> flash_;
132 std::array<std::byte, kSectorCount * kSectorSize> buffer_;
Dblob_store_chunk_write_test.cc106 static constexpr size_t kSectorSize = 2048; member in pw::blob_store::__anon82e31d0a0111::BlobStoreChunkTest
108 static constexpr size_t kBlobDataSize = (kSectorCount * kSectorSize);
112 kvs::FakeFlashMemoryBuffer<kSectorSize, kSectorCount> flash_;
Dflat_file_system_entry_test.cc84 static constexpr size_t kSectorSize = 2048; member in pw::blob_store::__anon8b133ed80111::FlatFileSystemBlobStoreEntryTest
86 static constexpr size_t kBlobDataSize = (kSectorCount * kSectorSize);
91 kvs::FakeFlashMemoryBuffer<kSectorSize, kSectorCount> flash_;
Dblob_store_test.cc152 static constexpr size_t kSectorSize = 2048; member in pw::blob_store::__anond38833480111::BlobStoreTest
154 static constexpr size_t kBlobDataSize = (kSectorCount * kSectorSize);
156 kvs::FakeFlashMemoryBuffer<kSectorSize, kSectorCount> flash_;
179 EXPECT_EQ(writer.ConservativeWriteLimit(), kSectorSize * kSectorCount); in TEST_F()
/external/pigweed/pw_kvs/public/pw_kvs/
Dfake_flash_memory.h150 template <size_t kSectorSize, size_t kSectorCount, size_t kInjectedErrors = 8>
157 kSectorSize, in FakeFlashMemory() argument
176 std::array<std::byte, kSectorCount * kSectorSize> buffer_;
/external/stressapptest/src/
Dworker.cc2571 read_block_size_ = kSectorSize; // default 1 sector (512 bytes) in DiskThread()
2572 write_block_size_ = kSectorSize; // this assumes read and write block size in DiskThread()
2626 if (read_block_size % kSectorSize != 0) { in SetParameters()
2628 "(thread %d).\n", kSectorSize, thread_num_); in SetParameters()
2638 if (write_block_size % kSectorSize != 0) { in SetParameters()
2640 "of %d (thread %d).\n", kSectorSize, thread_num_); in SetParameters()
2706 if (segment_size % kSectorSize != 0) { in SetParameters()
2708 " (thread %d).\n", kSectorSize, thread_num_); in SetParameters()
2712 segment_size_ = segment_size / kSectorSize; in SetParameters()
2723 block_table_->SetParameters(kSectorSize, write_block_size_, in SetParameters()
[all …]
Dworker.h697 static const int kSectorSize = 512; // Size of sector on disk.
/external/pigweed/pw_software_update/
Dupdate_bundle_test.cc35 constexpr size_t kSectorSize = 2048; variable
192 kvs::FakeFlashMemoryBuffer<kSectorSize, kSectorCount> blob_flash_;