Searched refs:slaves (Results 1 – 4 of 4) sorted by relevance
102 std::vector<BlockDevice> slaves; in GetSlaves() local107 slaves.push_back(dev); in GetSlaves()113 return slaves; in GetSlaves()207 auto slaves = block.GetSlaves(); in resolveMountInfo() local208 if (slaves.empty() || slaves[0].GetType() != LoopDevice) { in resolveMountInfo()213 auto slave = slaves[0]; in resolveMountInfo()
1046 std::string slaves = sys_dir + "/slaves"; in fs_mgr_find_bow_device() local1047 std::unique_ptr<DIR, decltype(&closedir)> directory(opendir(slaves.c_str()), closedir); in fs_mgr_find_bow_device()1049 PLOG(ERROR) << "Can't open slave directory " << slaves; in fs_mgr_find_bow_device()1058 LOG(ERROR) << "Too many slaves in " << slaves; in fs_mgr_find_bow_device()1067 LOG(ERROR) << "No slave in " << slaves; in fs_mgr_find_bow_device()
21 # This requires traversing /sys/block/dm-N/slaves/* and reading the list of