Lines Matching refs:rescan
308 * Mark all attached devices for rescan.
806 * Schedule all possible devices for a rescan.
822 * Mark all devices as requiring a rescan, and let the next
836 * If we suffer resource starvation, we can abandon the rescan as we'll be
886 * Dispatch the command. If we successfully send the command, clear the rescan
897 * Handle the completion of a rescan operation
907 int bus, target, rescan;
928 /* if the rescan completed OK, we have possibly-new BTL data */
934 mly_printf(sc, "WARNING: BTL rescan for %d:%d returned data for %d:%d instead\n",
942 debug(1, "BTL rescan for %d returns %s, %s", ldi->logical_device_number,
948 mly_printf(sc, "WARNING: BTL rescan for %d:%d returned data for %d:%d instead\n",
959 debug(1, "BTL rescan for %d:%d returns %s", bus, target,
962 mly_printf(sc, "BTL rescan result invalid\n");
970 * Decide whether we need to rescan the device.
972 rescan = 0;
978 rescan = 1;
989 * Perform CAM rescan if required.
991 if (rescan)
1417 /* perform device rescan? */
2039 mly_printf(sc, "rescan failed (can't allocate CCB)\n");
2044 mly_printf(sc, "rescan failed (can't create path)\n");
2048 debug(1, "rescan target %d:%d", bus, target);