Lines Matching defs:device
90 // Return true if |disk_name| is an MTD or a UBI device. Note that this test is
91 // simply based on the name of the device.
98 // Return the device name for the corresponding partition on a NAND device.
99 // WARNING: This function returns device names that are not mountable.
113 // Return the device name for the corresponding partition on a NAND device that
470 LOG(ERROR) << "Invalid partition device name: " << partition_name;
477 LOG(ERROR) << "Unable to parse partition device name: " << partition_name;
489 LOG(ERROR) << "Unable to parse partition device name: " << partition_name;
633 bool SetBlockDeviceReadOnly(const string& device, bool read_only) {
634 int fd = HANDLE_EINTR(open(device.c_str(), O_RDONLY | O_CLOEXEC));
636 PLOG(ERROR) << "Opening block device " << device;
650 PLOG(ERROR) << "Marking block device " << device << " as read_only="
657 bool MountFilesystem(const string& device,
669 int rc = mount(device.c_str(), mountpoint.c_str(), fstype, mountflags,
674 PLOG(WARNING) << "Unable to mount destination device " << device
678 LOG(ERROR) << "Unable to mount " << device << " with any supported type";
709 // same device or not. If mountpoint/.. is in a different device it means that