Home | History | Annotate | Download | only in init

Lines Matching refs:links

211     const std::string& path, const std::vector<std::string>& links) const {
214 if (it->Match(path) || std::any_of(links.cbegin(), links.cend(),
224 const std::vector<std::string>& links) const {
225 auto[mode, uid, gid] = GetDevicePermissions(path, links);
229 if (!SelabelLookupFileContextBestMatch(path, links, mode, &secontext)) {
318 std::vector<std::string> links;
331 links.emplace_back(link_path + "/by-name/" + partition_name_sanitized);
334 links.emplace_back("/dev/block/by-name/" + partition_name_sanitized);
339 links.emplace_back(link_path + "/" + uevent.path.substr(last_slash + 1));
341 return links;
345 int major, int minor, const std::vector<std::string>& links) const {
347 MakeDevice(devpath, block, major, minor, links);
348 for (const auto& link : links) {
359 << ", which already links to: " << link_path;
366 for (const auto& link : links) {
385 std::vector<std::string> links;
393 links = GetBlockDeviceSymlinks(uevent);
419 HandleDevice(uevent.action, devpath, block, uevent.major, uevent.minor, links);