Searched refs:LoopDevice (Results 1 – 8 of 8) sorted by relevance
/aosp14/system/core/fs_mgr/libdm/include/libdm/ |
H A D | loop_control.h | 66 class LoopDevice { 70 LoopDevice(android::base::borrowed_fd fd, const std::chrono::milliseconds& timeout_ms, 74 LoopDevice(const std::string& path, const std::chrono::milliseconds& timeout_ms); 75 ~LoopDevice(); 80 LoopDevice(const LoopDevice&) = delete; 81 LoopDevice& operator=(const LoopDevice&) = delete; 82 LoopDevice& operator=(LoopDevice&&) = default; 83 LoopDevice(LoopDevice&&) = default;
|
/aosp14/system/core/fs_mgr/libdm/ |
H A D | loop_control.cpp | 146 LoopDevice::LoopDevice(android::base::borrowed_fd fd, const std::chrono::milliseconds& timeout_ms, in LoopDevice() function in android::dm::LoopDevice 155 LoopDevice::LoopDevice(const std::string& path, const std::chrono::milliseconds& timeout_ms) in LoopDevice() function in android::dm::LoopDevice 166 LoopDevice::~LoopDevice() { in ~LoopDevice() 172 void LoopDevice::Init(const std::chrono::milliseconds& timeout_ms) { in Init()
|
H A D | dm_test.cpp | 91 LoopDevice loop_a(tmp1, 10s); in TEST_F() 93 LoopDevice loop_b(tmp2, 10s); in TEST_F() 159 LoopDevice loop_a(tmp1, 10s); in TEST_F() 254 unique_ptr<LoopDevice> base_loop_; 255 unique_ptr<LoopDevice> cow_loop_; 568 LoopDevice loop(tmp, 10s); in TEST_F() 592 LoopDevice loop(tmp, 10s); in TEST_F() 611 LoopDevice loop(tmp, 10s); in TEST_F() 632 LoopDevice loop(tmp, 10s); in TEST_F() 652 LoopDevice loop(tmp, 10s); in TEST_F() [all …]
|
H A D | loop_control_test.cpp | 56 LoopDevice loop(fd, 10s); in TEST()
|
/aosp14/system/core/fs_mgr/libfiemap/ |
H A D | fiemap_writer_test.cpp | 55 using LoopDevice = android::dm::LoopDevice; typedef 490 LoopDevice loop_dev(fs_path_, 10s); in SetUpExt4() 514 LoopDevice loop_dev(fs_path_, 10s); in SetUpF2fs()
|
H A D | image_test.cpp | 271 std::optional<LoopDevice> loop_device_;
|
/aosp14/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/ |
H A D | snapuserd_test.cpp | 52 using LoopDevice = android::dm::LoopDevice; typedef 143 unique_ptr<LoopDevice> base_loop_; 264 base_loop_ = std::make_unique<LoopDevice>(base_fd_, 10s); in CreateBaseDevice()
|
/aosp14/system/core/fs_mgr/libsnapshot/snapuserd/dm-snapshot-merge/ |
H A D | cow_snapuserd_test.cpp | 47 using LoopDevice = android::dm::LoopDevice; typedef 139 unique_ptr<LoopDevice> base_loop_; 280 base_loop_ = std::make_unique<LoopDevice>(base_fd_, 10s); in ReadLastBlock() 347 base_loop_ = std::make_unique<LoopDevice>(base_fd_, 10s); in CreateBaseDevice()
|