Lines Matching refs:rescan

1139  * @rescan:     if not equal to SCSI_SCAN_INITIAL skip some code only
1157 enum scsi_scan_mode rescan,
1167 * The rescan flag is used as an optimization, the first scan of a
1168 * host adapter calls into here with rescan == 0.
1172 if (rescan != SCSI_SCAN_INITIAL || !scsi_device_created(sdev)) {
1297 * @rescan: passed to scsi_probe_add_lun()
1308 enum scsi_scan_mode rescan)
1372 if ((scsi_probe_and_add_lun(starget, lun, NULL, NULL, rescan,
1382 * @rescan: nonzero if we can skip code only needed on first scan
1399 enum scsi_scan_mode rescan)
1546 lun, NULL, NULL, rescan, NULL);
1631 * the rescan may block waiting for commands to be executed, with us
1644 if (sdev->handler && sdev->handler->rescan)
1645 sdev->handler->rescan(sdev);
1650 if (drv->rescan)
1651 drv->rescan(dev);
1663 unsigned int id, u64 lun, enum scsi_scan_mode rescan)
1685 scsi_probe_and_add_lun(starget, lun, NULL, NULL, rescan, NULL);
1693 res = scsi_probe_and_add_lun(starget, 0, &bflags, NULL, rescan, NULL);
1695 if (scsi_report_lun_scan(starget, bflags, rescan) != 0)
1701 starget->scsi_level, rescan);
1721 * @rescan: passed to LUN scanning routines; SCSI_SCAN_INITIAL for
1722 * no rescan, SCSI_SCAN_RESCAN to rescan existing LUNs,
1734 unsigned int id, u64 lun, enum scsi_scan_mode rescan)
1741 if (rescan != SCSI_SCAN_MANUAL &&
1750 __scsi_scan_target(parent, channel, id, lun, rescan);
1759 enum scsi_scan_mode rescan)
1782 order_id, lun, rescan);
1786 id, lun, rescan);
1791 enum scsi_scan_mode rescan)
1811 rescan);
1813 scsi_scan_channel(shost, channel, id, lun, rescan);