Lines Matching refs:link
249 [it](const auto& link) { return it->Match(link); })) { in GetDevicePermissions() argument
390 for (const auto& link : links) { in HandleDevice() local
391 if (!mkdir_recursive(Dirname(link), 0755)) { in HandleDevice()
392 PLOG(ERROR) << "Failed to create directory " << Dirname(link); in HandleDevice()
395 if (symlink(devpath.c_str(), link.c_str())) { in HandleDevice()
397 PLOG(ERROR) << "Failed to symlink " << devpath << " to " << link; in HandleDevice()
399 Readlink(link, &link_path) && link_path != devpath) { in HandleDevice()
400 PLOG(ERROR) << "Failed to symlink " << devpath << " to " << link in HandleDevice()
408 for (const auto& link : links) { in HandleDevice() local
410 if (Readlink(link, &link_path) && link_path == devpath) { in HandleDevice()
411 unlink(link.c_str()); in HandleDevice()