Home
last modified time | relevance | path

Searched refs:slaves_dir (Results 1 – 2 of 2) sorted by relevance

/system/core/fs_mgr/libdm/
Ddm.cpp571 auto slaves_dir = "/sys/block/" + name + "/slaves"; in GetParentBlockDeviceByPath() local
572 auto dir = std::unique_ptr<DIR, decltype(&closedir)>(opendir(slaves_dir.c_str()), closedir); in GetParentBlockDeviceByPath()
574 PLOG(ERROR) << "Failed to open: " << slaves_dir; in GetParentBlockDeviceByPath()
581 LOG(ERROR) << "Too many slaves in " << slaves_dir; in GetParentBlockDeviceByPath()
587 LOG(ERROR) << "No slaves in " << slaves_dir; in GetParentBlockDeviceByPath()
/system/apex/apexd/
Dapexservice_test.cpp558 std::string slaves_dir = "/sys/" + dm_path + "/slaves"; in ListSlavesOfDmDevice() local
559 auto st = WalkDir(slaves_dir, [&](const auto& entry) { in ListSlavesOfDmDevice()
565 ADD_FAILURE() << "Failed to scan " << slaves_dir << " : " << ec; in ListSlavesOfDmDevice()