Searched refs:by_name (Results 1 – 2 of 2) sorted by relevance
48 auto by_name = "/dev/block/by-name/" + path; in GetPartitionAbsolutePath()49 if (access(by_name.c_str(), F_OK) != 0) { in GetPartitionAbsolutePath()61 return by_name; in GetPartitionAbsolutePath()
155 std::unique_ptr<DIR, decltype(&closedir)> by_name(opendir("/dev/block/by-name"), closedir); in ListPartitions() local156 while ((de = readdir(by_name.get())) != nullptr) { in ListPartitions()