Lines Matching refs:device

55 static void common_set_target(ndmp_connection_t *connection, char *device,
68 * This handler opens the specified SCSI device.
82 common_open(connection, request->device.name);
89 * This handler closes the currently open SCSI device.
106 NDMP_LOG(LOG_ERR, "SCSI device is not open.");
134 * This handler returns state information for the currently open SCSI device.
136 * device, as opposed to a device that can talk to multiple SCSI targets,
138 * implementations that support device files that can target multiple
177 * This handler sets the SCSI target of the SCSI device.
178 * It is only valid to use this request if the opened SCSI device
181 * device, as opposed to a device that can talk to multiple SCSI targets,
183 * implementations that support device files that can target multiple
200 common_set_target(connection, request->device.name,
209 * This handler resets the currently targeted SCSI device.
229 NDMP_LOG(LOG_ERR, "SCSI device is not open.");
279 * This handler sends the CDB to the currently targeted SCSI device.
299 NDMP_LOG(LOG_ERR, "SCSI device is not open.");
319 * This handler opens the specified SCSI device.
333 common_open(connection, request->device);
340 * This handler sets the SCSI target of the SCSI device.
341 * It is only valid to use this request if the opened SCSI device
358 common_set_target(connection, request->device,
406 * devname (input) - device name to open.
425 "Session already has a tape or scsi device open.");
428 NDMP_LOG(LOG_DEBUG, "Adapter device found: %s", devname);
436 NDMP_LOG(LOG_ERR, "Failed to open device %s: %m.",
491 * device (input) - device name.
502 common_set_target(ndmp_connection_t *connection, char *device,
515 NDMP_LOG(LOG_ERR, "No such SCSI device: target %d lun %d.",
523 "Not a tape or robot device: target %d lun %d.",