Home
last modified time | relevance | path

Searched refs:LoopDevice (Results 1 – 8 of 8) sorted by relevance

/aosp14/system/core/fs_mgr/libdm/include/libdm/
H A Dloop_control.h66 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 Dloop_control.cpp146 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 Ddm_test.cpp91 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 Dloop_control_test.cpp56 LoopDevice loop(fd, 10s); in TEST()
/aosp14/system/core/fs_mgr/libfiemap/
H A Dfiemap_writer_test.cpp55 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 Dimage_test.cpp271 std::optional<LoopDevice> loop_device_;
/aosp14/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/
H A Dsnapuserd_test.cpp52 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 Dcow_snapuserd_test.cpp47 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()