Lines Matching full:scan
17 * Scan LUN 0; if the target responds to LUN 0 (even if there is no
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 in scsi_target_reap_ref_release()
694 "scsi scan: INQUIRY pass %d length %d\n", in scsi_probe_lun()
713 "scsi scan: INQUIRY %s with code 0x%x\n", in scsi_probe_lun()
777 "scsi scan: %d byte inquiry failed. " in scsi_probe_lun()
814 "scsi scan: INQUIRY result too short (%d)," in scsi_probe_lun()
888 * that can correctly scan. in scsi_add_lun()
1036 "in wrong state %s to complete scan\n", in scsi_add_lun()
1161 * needed on first scan
1188 * The rescan flag is used as an optimization, the first scan of a in scsi_probe_and_add_lun()
1195 "scsi scan: device exists on %s\n", in scsi_probe_and_add_lun()
1237 SCSI_LOG_SCAN_BUS(2, sdev_printk(KERN_INFO, sdev, "scsi scan:" in scsi_probe_and_add_lun()
1246 "scsi scan: consider passing scsi_mod." in scsi_probe_and_add_lun()
1281 "scsi scan: peripheral device type" in scsi_probe_and_add_lun()
1314 * scsi_sequential_lun_scan - sequentially scan a SCSI target
1315 * @starget: pointer to target structure to scan
1321 * Generally, scan from LUN 1 (LUN 0 is assumed to already have been
1336 "scsi scan: Sequential scan\n")); in scsi_sequential_lun_scan()
1341 * override the other settings, and scan all of them. Normally, in scsi_sequential_lun_scan()
1358 * scan any SCSI_1 device for non-0 luns, but that check would best in scsi_sequential_lun_scan()
1369 * the other settings, and scan all of them. in scsi_sequential_lun_scan()
1379 * Do not scan SCSI-2 or lower device past LUN 7, unless in scsi_sequential_lun_scan()
1400 * scsi_report_lun_scan - Scan using SCSI REPORT LUN results
1403 * @rescan: nonzero if we can skip code only needed on first scan
1407 * Scan the resulting list of LUNs by calling scsi_probe_and_add_lun.
1409 * If BLINK_REPORTLUN2 is set, scan a target that supports more than 8
1416 * 0: scan completed (or no memory, so further scanning is futile)
1417 * 1: could not scan with REPORT LUN
1527 "scsi scan: Sending REPORT LUNS\n")); in scsi_report_lun_scan()
1534 "scsi scan: REPORT LUNS %s result 0x%x\n", in scsi_report_lun_scan()
1559 "scsi scan: REPORT LUN scan\n")); in scsi_report_lun_scan()
1562 * Scan the luns in lun_data. The entry at offset 0 is really in scsi_report_lun_scan()
1583 " from lun %llu while scanning, scan" in scsi_report_lun_scan()
1595 * the sdev we used didn't appear in the report luns scan in scsi_report_lun_scan()
1736 * Don't scan the host adapter in __scsi_scan_target()
1747 * Scan for a specific host/chan/id/lun. in __scsi_scan_target()
1754 * Scan LUN 0, if there is some response, scan further. Ideally, we in __scsi_scan_target()
1761 * The REPORT LUN did not scan the target, in __scsi_scan_target()
1762 * do a sequential scan. in __scsi_scan_target()
1780 * scsi_scan_target - scan a target id, possibly including all LUNs on the target.
1781 * @parent: host to scan
1782 * @channel: channel to scan
1783 * @id: target id to scan
1784 * @lun: Specific LUN to scan or SCAN_WILD_CARD
1788 * 'scan=manual' is set.
1791 * Scan the target id on @parent, @channel, and @id. Scan at least LUN 0,
1794 * First try a REPORT LUN scan, if that does not scan the target, do a
1795 * sequential scan of LUNs on the target id.
1840 * Scan from high to low id. in scsi_scan_channel()
1902 * scsi_prep_async_scan - prepare for an async scan
1906 * Tells the midlayer this host is going to do an asynchronous scan.
1953 * scsi_finish_async_scan - asynchronous scan has finished
2028 * scsi_scan_host - scan the given adapter
2029 * @shost: adapter to scan