Searched refs:FiemapWriter (Results 1 – 6 of 6) sorted by relevance
/system/core/fs_mgr/libfiemap/include/libfiemap/ |
D | fiemap_writer.h | 35 class FiemapWriter; variable 36 using FiemapUniquePtr = std::unique_ptr<FiemapWriter>; 38 class FiemapWriter final { 82 ~FiemapWriter() = default; 92 FiemapWriter(const FiemapWriter&) = delete; 93 FiemapWriter& operator=(const FiemapWriter&) = delete; 94 FiemapWriter& operator=(FiemapWriter&&) = delete; 95 FiemapWriter(FiemapWriter&&) = delete; 119 FiemapWriter() = default;
|
/system/core/fs_mgr/libfiemap/ |
D | fiemap_writer_test.cpp | 90 FiemapUniquePtr fptr = FiemapWriter::Open(testfile, 1099511627997184); in TEST_F() 99 FiemapUniquePtr fptr = FiemapWriter::Open(testfile, gBlockSize + 1); in TEST_F() 105 FiemapUniquePtr fptr = FiemapWriter::Open(testfile, gBlockSize); in TEST_F() 114 FiemapUniquePtr fptr = FiemapWriter::Open(testfile, 1024 * 1024 * 16); in TEST_F() 137 auto ptr = FiemapWriter::Open(testfile, gBlockSize, true, std::move(callback)); in TEST_F() 143 auto ptr = FiemapWriter::Open(testfile, 4096); in TEST_F() 145 EXPECT_TRUE(FiemapWriter::HasPinnedExtents(testfile)); in TEST_F() 149 FiemapUniquePtr fptr = FiemapWriter::Open(testfile, gBlockSize); in TEST_F() 159 FiemapUniquePtr fptr = FiemapWriter::Open(testfile, 32768); in TEST_F() 166 FiemapUniquePtr fptr = FiemapWriter::Open(testfile, testfile_size); in TEST_F() [all …]
|
D | split_fiemap_writer.cpp | 106 auto status = FiemapWriter::Open(chunk_path, chunk_size, &writer, true, on_progress); in Create() 156 auto writer = FiemapWriter::Open(file, 0, false); in Open() 204 if (!FiemapWriter::HasPinnedExtents(file->file_path())) { in HasPinnedExtents() 223 FiemapWriter* file = files_[cursor_index_].get(); in Write() 254 if (!FiemapWriter::HasPinnedExtents(file->file_path())) { in Write()
|
D | fiemap_writer.cpp | 170 bool FiemapWriter::GetBlockDeviceForFile(const std::string& file_path, std::string* bdev_path, in GetBlockDeviceForFile() 486 bool FiemapWriter::HasPinnedExtents(const std::string& file_path) { in HasPinnedExtents() 673 FiemapUniquePtr FiemapWriter::Open(const std::string& file_path, uint64_t file_size, bool create, in Open() 682 FiemapStatus FiemapWriter::Open(const std::string& file_path, uint64_t file_size, in Open() 774 FiemapUniquePtr fmap(new FiemapWriter()); in Open()
|
D | utility.cpp | 43 auto status = FiemapWriter::Open(file_path, 1, &writer); in DetermineMaximumFileSize()
|
D | image_manager.cpp | 210 if (!FiemapWriter::GetBlockDeviceForFile(data_path, &block_device, &can_use_devicemapper)) { in ZeroFillNewImage() 525 if (!FiemapWriter::GetBlockDeviceForFile(image_header, &block_device, &can_use_devicemapper)) { in MapImageDevice()
|