Searched refs:link_path (Results 1 – 1 of 1) sorted by relevance
404 auto link_path = "/dev/block/" + type + "/" + device; in GetBlockDeviceSymlinks() local414 links.emplace_back(link_path + "/by-name/" + partition_name_sanitized); in GetBlockDeviceSymlinks()430 links.emplace_back(link_path + "/" + uevent.path.substr(last_slash + 1)); in GetBlockDeviceSymlinks()450 std::string link_path; in RemoveDeviceMapperLinks() local455 if (Readlink(path, &link_path) && link_path == devpath) { in RemoveDeviceMapperLinks()478 } else if (std::string link_path; in HandleDevice() local479 Readlink(link, &link_path) && link_path != devpath) { in HandleDevice()481 << ", which already links to: " << link_path; in HandleDevice()492 std::string link_path; in HandleDevice() local493 if (Readlink(link, &link_path) && link_path == devpath) { in HandleDevice()