Searched refs:slaves_dir (Results 1 – 2 of 2) sorted by relevance
610 auto slaves_dir = "/sys/block/" + name + "/slaves"; in GetParentBlockDeviceByPath() local611 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()
550 std::string slaves_dir = "/sys/" + dm_path + "/slaves"; in ListSlavesOfDmDevice() local551 auto st = WalkDir(slaves_dir, [&](const auto& entry) { in ListSlavesOfDmDevice()557 ADD_FAILURE() << "Failed to scan " << slaves_dir << " : " << ec; in ListSlavesOfDmDevice()