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 …]
564 std::vector<std::string> slaves; in ListSlavesOfDmDevice() local570 slaves.push_back("/dev/block/" + entry.path().filename().string()); in ListSlavesOfDmDevice()578 return slaves; in ListSlavesOfDmDevice()1285 std::vector<std::string> slaves = ListSlavesOfDmDevice(package_id); in TEST_F() local1286 ASSERT_EQ(2u, slaves.size()) in TEST_F()1287 << "Unexpected number of slaves: " << Join(slaves, ","); in TEST_F()1296 ASSERT_THAT(slaves, Contains(mounted_apex->loop_name)); in TEST_F()1297 ASSERT_THAT(slaves, Contains(mounted_apex->hashtree_loop_name)); in TEST_F()1307 std::vector<std::string> slaves = ListSlavesOfDmDevice(package_id); in TEST_F() local1308 ASSERT_EQ(2u, slaves.size()) in TEST_F()[all …]
1192 std::string slaves = sys_dir + "/slaves"; in fs_mgr_find_bow_device() local1193 std::unique_ptr<DIR, decltype(&closedir)> directory(opendir(slaves.c_str()), closedir); in fs_mgr_find_bow_device()1195 PLOG(ERROR) << "Can't open slave directory " << slaves; in fs_mgr_find_bow_device()1204 LOG(ERROR) << "Too many slaves in " << slaves; in fs_mgr_find_bow_device()1213 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