Searched refs:LoopControl (Results 1 – 8 of 8) sorted by relevance
/system/core/fs_mgr/libdm/include/libdm/ |
D | loop_control.h | 28 class LoopControl final { 30 LoopControl(); 49 LoopControl(const LoopControl&) = delete; 50 LoopControl& operator=(const LoopControl&) = delete; 51 LoopControl& operator=(LoopControl&&) = default; 52 LoopControl(LoopControl&&) = default; 88 LoopControl control_;
|
/system/core/fs_mgr/libdm/ |
D | loop_control.cpp | 35 LoopControl::LoopControl() : control_fd_(-1) { in LoopControl() function in android::dm::LoopControl 42 bool LoopControl::Attach(int file_fd, const std::chrono::milliseconds& timeout_ms, in Attach() 81 bool LoopControl::Detach(const std::string& loopdev) const { in Detach() 101 bool LoopControl::FindFreeLoopDevice(std::string* loopdev) const { in FindFreeLoopDevice() 115 bool LoopControl::EnableDirectIo(int fd) { in EnableDirectIo()
|
D | loop_control_test.cpp | 52 TEST(libdm, LoopControl) { in TEST() argument
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot_fuzz_utils.cpp | 57 using android::dm::LoopControl; 230 LoopControl loop_control; 345 loop_control_ = std::make_unique<LoopControl>(); in SnapshotFuzzEnv() 393 static void CheckCreateLoopDevice(LoopControl* control, const std::string& file, in CheckCreateLoopDevice() 404 AutoDetachLoopDevice(LoopControl* control, const std::string& device) in AutoDetachLoopDevice() 409 LoopControl* control_; 413 uint64_t size, LoopControl* control, in CheckMapImage()
|
D | snapshot_fuzz_utils.h | 75 std::unique_ptr<android::dm::LoopControl> loop_control_; 86 android::dm::LoopControl* control,
|
/system/core/fs_mgr/libfiemap/ |
D | image_manager.cpp | 46 using android::dm::LoopControl; 333 static bool CreateLoopDevice(LoopControl& control, const std::string& file, in CreateLoopDevice() 351 AutoDetachLoopDevices(LoopControl& control, const std::vector<std::string>& devices) in AutoDetachLoopDevices() 364 LoopControl& control_; 450 if (!LoopControl::EnableDirectIo(fd)) { in OptimizeLoopDevices() 470 LoopControl control; in MapWithLoopDevice() 594 std::optional<LoopControl> loop; in UnmapImageDevice()
|
/system/update_engine/common/ |
D | test_utils.cc | 187 android::dm::LoopControl loop_control; in BindToUnusedLoopDevice()
|
/system/core/fs_mgr/ |
D | fs_mgr.cpp | 109 using android::dm::LoopControl; 2067 LoopControl loop_control; in PrepareZramBackingDevice() 2079 if (!LoopControl::EnableDirectIo(device_fd.get())) { in PrepareZramBackingDevice()
|