Lines Matching defs:bflags

635  * @bflags:	store any bflags found here
642 * are copied to the scsi_device any flags value is stored in *@bflags.
645 int result_len, blist_flags_t *bflags)
683 *bflags = 0;
740 * XXX add a bflags to scsi_device, and replace the
741 * corresponding bit fields in scsi_device, so bflags
744 *bflags = scsi_get_device_flags(sdev, &inq_result[8],
750 if (BLIST_INQUIRY_36 & *bflags)
862 * @bflags: black/white list flag
867 * on values in *@bflags.
874 blist_flags_t *bflags, int async)
918 if (*bflags & BLIST_ISROM) {
944 if ((*bflags & BLIST_REPORTLUN2) == 0)
945 *bflags |= BLIST_NOREPORTLUN;
983 !(*bflags & BLIST_NOTQ)) {
993 if ((*bflags & BLIST_BORKEN) == 0)
996 if (*bflags & BLIST_NO_ULD_ATTACH)
1003 if (*bflags & BLIST_SELECT_NO_ATN)
1010 if (*bflags & BLIST_MAX_512)
1016 else if (*bflags & BLIST_MAX_1024)
1023 if (*bflags & BLIST_NOSTARTONADD)
1026 if (*bflags & BLIST_SINGLELUN)
1034 if (*bflags & BLIST_NO_RSOC)
1052 if (*bflags & BLIST_NOT_LOCKABLE)
1055 if (*bflags & BLIST_RETRY_HWERROR)
1058 if (*bflags & BLIST_NO_DIF)
1061 if (*bflags & BLIST_UNMAP_LIMIT_WS)
1064 if (*bflags & BLIST_IGN_MEDIA_CHANGE)
1069 if (*bflags & BLIST_TRY_VPD_PAGES)
1071 else if (*bflags & BLIST_SKIP_VPD_PAGES)
1074 if (*bflags & BLIST_NO_VPD_SIZE)
1108 sdev->sdev_bflags = *bflags;
1151 * @bflagsp: store bflags here if not NULL
1176 blist_flags_t bflags;
1211 if (scsi_probe_lun(sdev, result, result_len, &bflags))
1215 *bflagsp = bflags;
1280 res = scsi_add_lun(sdev, result, &bflags, shost->async_scan);
1282 if (bflags & BLIST_KEY) {
1309 * @bflags: black/white list flag for LUN 0
1316 * attached. Use the bflags to figure out any oddities.
1321 blist_flags_t bflags, int scsi_level,
1337 if (bflags & BLIST_SPARSELUN) {
1356 ((bflags & (BLIST_FORCELUN | BLIST_SPARSELUN | BLIST_MAX5LUN))
1364 if (bflags & BLIST_FORCELUN)
1369 if (bflags & BLIST_MAX5LUN)
1375 if (scsi_level < SCSI_3 && !(bflags & BLIST_LARGELUN))
1395 * @bflags: Zero or a mix of BLIST_NOLUN, BLIST_REPORTLUN2, or BLIST_NOREPORTLUN
1412 static int scsi_report_lun_scan(struct scsi_target *starget, blist_flags_t bflags,
1456 if (bflags & BLIST_NOREPORTLUN)
1462 (!(bflags & BLIST_REPORTLUN2) || shost->max_lun <= 8))
1464 if (bflags & BLIST_NOLUN)
1723 blist_flags_t bflags = 0;
1750 res = scsi_probe_and_add_lun(starget, 0, &bflags, NULL, rescan, NULL);
1752 if (scsi_report_lun_scan(starget, bflags, rescan) != 0)
1757 scsi_sequential_lun_scan(starget, bflags,