Searched refs:slaves (Results 1 – 7 of 7) sorted by relevance
88 std::vector<BlockDevice> slaves; in GetSlaves() local93 slaves.push_back(dev); in GetSlaves()99 return slaves; in GetSlaves()130 std::vector<BlockDevice> slaves = top_device.GetSlaves(); in PopulateLoopInfo() local131 if (slaves.size() != 1 && slaves.size() != 2) { in PopulateLoopInfo()133 << " has unexpected number of slaves : " << slaves.size(); in PopulateLoopInfo()136 backing_files.reserve(slaves.size()); in PopulateLoopInfo()137 for (const auto& dev : slaves) { in PopulateLoopInfo()150 if (slaves.size() == 2) { in PopulateLoopInfo()152 std::swap(slaves[0], slaves[1]); in PopulateLoopInfo()[all …]
556 std::vector<std::string> slaves; in ListSlavesOfDmDevice() local562 slaves.push_back("/dev/block/" + entry.path().filename().string()); in ListSlavesOfDmDevice()570 return slaves; in ListSlavesOfDmDevice()1276 std::vector<std::string> slaves = ListSlavesOfDmDevice(package_id); in TEST_F() local1277 ASSERT_EQ(2u, slaves.size()) in TEST_F()1278 << "Unexpected number of slaves: " << Join(slaves, ","); in TEST_F()1287 ASSERT_THAT(slaves, Contains(mounted_apex->loop_name)); in TEST_F()1288 ASSERT_THAT(slaves, Contains(mounted_apex->hashtree_loop_name)); in TEST_F()1298 std::vector<std::string> slaves = ListSlavesOfDmDevice(package_id); in TEST_F() local1299 ASSERT_EQ(2u, slaves.size()) in TEST_F()[all …]
1196 std::string slaves = sys_dir + "/slaves"; in fs_mgr_find_bow_device() local1197 std::unique_ptr<DIR, decltype(&closedir)> directory(opendir(slaves.c_str()), closedir); in fs_mgr_find_bow_device()1199 PLOG(ERROR) << "Can't open slave directory " << slaves; in fs_mgr_find_bow_device()1208 LOG(ERROR) << "Too many slaves in " << slaves; in fs_mgr_find_bow_device()1217 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
35 # This requires traversing /sys/block/dm-N/slaves/* and reading the list of
203 - ANDROID: mnt: remount should propagate to slaves of slaves