Lines Matching refs:bflags

634  * @bflags:	store any bflags found here
641 * are copied to the scsi_device any flags value is stored in *@bflags.
644 int result_len, blist_flags_t *bflags)
656 *bflags = 0;
726 * XXX add a bflags to scsi_device, and replace the
727 * corresponding bit fields in scsi_device, so bflags
730 *bflags = scsi_get_device_flags(sdev, &inq_result[8],
736 if (BLIST_INQUIRY_36 & *bflags)
848 * @bflags: black/white list flag
853 * on values in *@bflags.
860 blist_flags_t *bflags, int async)
904 if (*bflags & BLIST_ISROM) {
930 if ((*bflags & BLIST_REPORTLUN2) == 0)
931 *bflags |= BLIST_NOREPORTLUN;
969 !(*bflags & BLIST_NOTQ)) {
979 if ((*bflags & BLIST_BORKEN) == 0)
982 if (*bflags & BLIST_NO_ULD_ATTACH)
989 if (*bflags & BLIST_SELECT_NO_ATN)
996 if (*bflags & BLIST_MAX_512)
1002 else if (*bflags & BLIST_MAX_1024)
1009 if (*bflags & BLIST_NOSTARTONADD)
1012 if (*bflags & BLIST_SINGLELUN)
1020 if (*bflags & BLIST_NO_RSOC)
1038 if (*bflags & BLIST_NOT_LOCKABLE)
1041 if (*bflags & BLIST_RETRY_HWERROR)
1044 if (*bflags & BLIST_NO_DIF)
1047 if (*bflags & BLIST_UNMAP_LIMIT_WS)
1050 if (*bflags & BLIST_IGN_MEDIA_CHANGE)
1055 if (*bflags & BLIST_TRY_VPD_PAGES)
1057 else if (*bflags & BLIST_SKIP_VPD_PAGES)
1060 if (*bflags & BLIST_NO_VPD_SIZE)
1094 sdev->sdev_bflags = *bflags;
1137 * @bflagsp: store bflags here if not NULL
1162 blist_flags_t bflags;
1197 if (scsi_probe_lun(sdev, result, result_len, &bflags))
1201 *bflagsp = bflags;
1266 res = scsi_add_lun(sdev, result, &bflags, shost->async_scan);
1268 if (bflags & BLIST_KEY) {
1295 * @bflags: black/white list flag for LUN 0
1302 * attached. Use the bflags to figure out any oddities.
1307 blist_flags_t bflags, int scsi_level,
1323 if (bflags & BLIST_SPARSELUN) {
1342 ((bflags & (BLIST_FORCELUN | BLIST_SPARSELUN | BLIST_MAX5LUN))
1350 if (bflags & BLIST_FORCELUN)
1355 if (bflags & BLIST_MAX5LUN)
1361 if (scsi_level < SCSI_3 && !(bflags & BLIST_LARGELUN))
1381 * @bflags: Zero or a mix of BLIST_NOLUN, BLIST_REPORTLUN2, or BLIST_NOREPORTLUN
1398 static int scsi_report_lun_scan(struct scsi_target *starget, blist_flags_t bflags,
1422 if (bflags & BLIST_NOREPORTLUN)
1428 (!(bflags & BLIST_REPORTLUN2) || shost->max_lun <= 8))
1430 if (bflags & BLIST_NOLUN)
1666 blist_flags_t bflags = 0;
1693 res = scsi_probe_and_add_lun(starget, 0, &bflags, NULL, rescan, NULL);
1695 if (scsi_report_lun_scan(starget, bflags, rescan) != 0)
1700 scsi_sequential_lun_scan(starget, bflags,