Searched refs:slaves (Results 1 – 8 of 8) sorted by relevance
91 std::vector<BlockDevice> slaves; in GetSlaves() local96 slaves.push_back(dev); in GetSlaves()102 return slaves; in GetSlaves()136 std::vector<BlockDevice> slaves = top_device.GetSlaves(); in PopulateLoopInfo() local137 if (slaves.size() != 1 && slaves.size() != 2) { in PopulateLoopInfo()139 << " has unexpected number of slaves : " << slaves.size(); in PopulateLoopInfo()142 backing_files.reserve(slaves.size()); in PopulateLoopInfo()143 for (const auto& dev : slaves) { in PopulateLoopInfo()160 if (slaves.size() == 2) { in PopulateLoopInfo()162 std::swap(slaves[0], slaves[1]); in PopulateLoopInfo()[all …]
548 std::vector<std::string> slaves; in ListSlavesOfDmDevice() local554 slaves.push_back("/dev/block/" + entry.path().filename().string()); in ListSlavesOfDmDevice()562 return slaves; in ListSlavesOfDmDevice()1312 std::vector<std::string> slaves = ListSlavesOfDmDevice(package_id); in TEST_F() local1313 ASSERT_EQ(2u, slaves.size()) in TEST_F()1314 << "Unexpected number of slaves: " << Join(slaves, ","); in TEST_F()1323 ASSERT_THAT(slaves, Contains(mounted_apex->loop_name)); in TEST_F()1324 ASSERT_THAT(slaves, Contains(mounted_apex->hashtree_loop_name)); in TEST_F()1334 std::vector<std::string> slaves = ListSlavesOfDmDevice(package_id); in TEST_F() local1335 ASSERT_EQ(2u, slaves.size()) in TEST_F()[all …]
21 # This requires traversing /sys/block/dm-N/slaves/* and reading the list of
1251 std::string slaves = sys_dir + "/slaves"; in fs_mgr_find_bow_device() local1252 std::unique_ptr<DIR, decltype(&closedir)> directory(opendir(slaves.c_str()), closedir); in fs_mgr_find_bow_device()1254 PLOG(ERROR) << "Can't open slave directory " << slaves; in fs_mgr_find_bow_device()1263 LOG(ERROR) << "Too many slaves in " << slaves; in fs_mgr_find_bow_device()1272 LOG(ERROR) << "No slave in " << slaves; in fs_mgr_find_bow_device()
35 # This requires traversing /sys/block/dm-N/slaves/* and reading the list of
40 # This requires traversing /sys/block/dm-N/slaves/* and reading the list of
205 - ANDROID: mnt: remount should propagate to slaves of slaves