Searched refs:dm_name_file (Results 1 – 2 of 2) sorted by relevance
551 std::string dm_name_file = "/sys/block/" + name + "/dm/name"; in GetDmDeviceNameByPath() local553 if (!android::base::ReadFileToString(dm_name_file, &dm_name)) { in GetDmDeviceNameByPath()554 PLOG(ERROR) << "Failed to read file " << dm_name_file; in GetDmDeviceNameByPath()
100 auto dm_name_file = "/sys/block/" + bdev + "/dm/name"; in DeviceMapperStackPop() local102 if (!android::base::ReadFileToString(dm_name_file, &dm_name)) { in DeviceMapperStackPop()103 PLOG(ERROR) << "Could not read file: " << dm_name_file; in DeviceMapperStackPop()