Home
last modified time | relevance | path

Searched refs:link_path (Results 1 – 1 of 1) sorted by relevance

/system/core/init/
Ddevices.cpp407 auto link_path = "/dev/block/" + type + "/" + device; in GetBlockDeviceSymlinks() local
417 links.emplace_back(link_path + "/by-name/" + partition_name_sanitized); in GetBlockDeviceSymlinks()
439 links.emplace_back(link_path + "/" + uevent.path.substr(last_slash + 1)); in GetBlockDeviceSymlinks()
459 std::string link_path; in RemoveDeviceMapperLinks() local
464 if (Readlink(path, &link_path) && link_path == devpath) { in RemoveDeviceMapperLinks()
491 } else if (std::string link_path; in HandleDevice() local
492 Readlink(link, &link_path) && link_path != devpath) { in HandleDevice()
494 << ", which already links to: " << link_path; in HandleDevice()
505 std::string link_path; in HandleDevice() local
506 if (Readlink(link, &link_path) && link_path == devpath) { in HandleDevice()