Searched refs:misc_device (Results 1 – 2 of 2) sorted by relevance
81 string misc_device; in OpenMisc() local85 misc_device = base::FilePath(root_prefix).Append("misc").value(); in OpenMisc()90 misc_device = get_bootloader_message_blk_device(&err); in OpenMisc()91 if (misc_device.empty()) { in OpenMisc()97 int fd = HANDLE_EINTR(open(misc_device.c_str(), flags, 0600)); in OpenMisc()
384 std::string err, misc_device = get_bootloader_message_blk_device(&err); in GetDeviceDir() local385 if (misc_device.empty()) { in GetDeviceDir()390 if (!utils::IsSymlink(misc_device.c_str())) { in GetDeviceDir()391 LOG(ERROR) << "Device file " << misc_device << " for /misc " in GetDeviceDir()395 *out = base::FilePath(misc_device).DirName().value(); in GetDeviceDir()