Home
last modified time | relevance | path

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

/system/core/fs_mgr/libdm/
Ddm.cpp590 std::string dm_name_file = "/sys/block/" + name + "/dm/name"; in GetDmDeviceNameByPath() local
592 if (!android::base::ReadFileToString(dm_name_file, &dm_name)) { in GetDmDeviceNameByPath()
593 PLOG(ERROR) << "Failed to read file " << dm_name_file; in GetDmDeviceNameByPath()
/system/core/fs_mgr/libfiemap/
Dfiemap_writer.cpp100 auto dm_name_file = "/sys/block/" + bdev + "/dm/name"; in DeviceMapperStackPop() local
102 if (!android::base::ReadFileToString(dm_name_file, &dm_name)) { in DeviceMapperStackPop()
103 PLOG(ERROR) << "Could not read file: " << dm_name_file; in DeviceMapperStackPop()