Home
last modified time | relevance | path

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

/system/core/fs_mgr/libdm/
Ddm.cpp610 auto slaves_dir = "/sys/block/" + name + "/slaves"; in GetParentBlockDeviceByPath() local
611 auto dir = std::unique_ptr<DIR, decltype(&closedir)>(opendir(slaves_dir.c_str()), closedir); in GetParentBlockDeviceByPath()
613 PLOG(ERROR) << "Failed to open: " << slaves_dir; in GetParentBlockDeviceByPath()
620 LOG(ERROR) << "Too many slaves in " << slaves_dir; in GetParentBlockDeviceByPath()
626 LOG(ERROR) << "No slaves in " << slaves_dir; in GetParentBlockDeviceByPath()
/system/apex/apexd/
Dapexservice_test.cpp550 std::string slaves_dir = "/sys/" + dm_path + "/slaves"; in ListSlavesOfDmDevice() local
551 auto st = WalkDir(slaves_dir, [&](const auto& entry) { in ListSlavesOfDmDevice()
557 ADD_FAILURE() << "Failed to scan " << slaves_dir << " : " << ec; in ListSlavesOfDmDevice()