Lines Matching refs:scan
23 * If target is SCSI-3 or up, issue a REPORT LUN, and scan
25 * sequentially scan LUNs up until some maximum is reached,
102 module_param_string(scan, scsi_scan_type, sizeof(scsi_scan_type),
104 MODULE_PARM_DESC(scan, "sync, async, manual, or none. "
106 "for manual device scan via the 'scan' sysfs attribute.");
145 * this function was called will have finished its scan. Hosts which
463 * means it was allocated but never made visible (because a scan
667 "scsi scan: INQUIRY pass %d length %d\n",
684 "scsi scan: INQUIRY %s with code 0x%x\n",
763 "scsi scan: %d byte inquiry failed. "
800 "scsi scan: INQUIRY result too short (%d),"
872 * that can correctly scan.
1033 "in wrong state %s to complete scan\n",
1140 * needed on first scan
1167 * The rescan flag is used as an optimization, the first scan of a
1174 "scsi scan: device exists on %s\n",
1216 SCSI_LOG_SCAN_BUS(2, sdev_printk(KERN_INFO, sdev, "scsi scan:"
1225 "scsi scan: consider passing scsi_mod."
1260 "scsi scan: peripheral device type"
1293 * scsi_sequential_lun_scan - sequentially scan a SCSI target
1294 * @starget: pointer to target structure to scan
1300 * Generally, scan from LUN 1 (LUN 0 is assumed to already have been
1315 "scsi scan: Sequential scan\n"));
1320 * override the other settings, and scan all of them. Normally,
1337 * scan any SCSI_1 device for non-0 luns, but that check would best
1348 * the other settings, and scan all of them.
1358 * Do not scan SCSI-2 or lower device past LUN 7, unless
1382 * @rescan: nonzero if we can skip code only needed on first scan
1388 * If BLINK_REPORTLUN2 is set, scan a target that supports more than 8
1395 * 0: scan completed (or no memory, so further scanning is futile)
1396 * 1: could not scan with REPORT LUN
1485 "scsi scan: Sending REPORT LUNS to (try %d)\n",
1494 "scsi scan: REPORT LUNS"
1529 "scsi scan: REPORT LUN scan\n"));
1553 " from lun %llu while scanning, scan"
1565 * the sdev we used didn't appear in the report luns scan
1672 * Don't scan the host adapter
1690 * Scan LUN 0, if there is some response, scan further. Ideally, we
1697 * The REPORT LUN did not scan the target,
1698 * do a sequential scan.
1716 * scsi_scan_target - scan a target id, possibly including all LUNs on the target.
1717 * @parent: host to scan
1718 * @channel: channel to scan
1719 * @id: target id to scan
1720 * @lun: Specific LUN to scan or SCAN_WILD_CARD
1724 * 'scan=manual' is set.
1730 * First try a REPORT LUN scan, if that does not scan the target, do a
1731 * sequential scan of LUNs on the target id.
1838 * scsi_prep_async_scan - prepare for an async scan
1842 * Tells the midlayer this host is going to do an asynchronous scan.
1889 * scsi_finish_async_scan - asynchronous scan has finished
1964 * scsi_scan_host - scan the given adapter
1965 * @shost: adapter to scan