Lines Matching refs:bflags

551  * @bflags:	store any bflags found here
558 * are copied to the scsi_device any flags value is stored in *@bflags.
561 int result_len, blist_flags_t *bflags)
569 *bflags = 0;
641 * XXX add a bflags to scsi_device, and replace the
642 * corresponding bit fields in scsi_device, so bflags
645 *bflags = scsi_get_device_flags(sdev, &inq_result[8],
651 if (BLIST_INQUIRY_36 & *bflags)
753 * @bflags: black/white list flag
758 * on values in *@bflags.
765 blist_flags_t *bflags, int async)
809 if (*bflags & BLIST_ISROM) {
835 if ((*bflags & BLIST_REPORTLUN2) == 0)
836 *bflags |= BLIST_NOREPORTLUN;
874 !(*bflags & BLIST_NOTQ)) {
884 if ((*bflags & BLIST_BORKEN) == 0)
887 if (*bflags & BLIST_NO_ULD_ATTACH)
894 if (*bflags & BLIST_SELECT_NO_ATN)
901 if (*bflags & BLIST_MAX_512)
907 else if (*bflags & BLIST_MAX_1024)
914 if (*bflags & BLIST_NOSTARTONADD)
917 if (*bflags & BLIST_SINGLELUN)
925 if (*bflags & BLIST_NO_RSOC)
943 if (*bflags & BLIST_NOT_LOCKABLE)
946 if (*bflags & BLIST_RETRY_HWERROR)
949 if (*bflags & BLIST_NO_DIF)
952 if (*bflags & BLIST_UNMAP_LIMIT_WS)
957 if (*bflags & BLIST_TRY_VPD_PAGES)
959 else if (*bflags & BLIST_SKIP_VPD_PAGES)
983 sdev->sdev_bflags = *bflags;
1026 * @bflagsp: store bflags here if not NULL
1051 blist_flags_t bflags;
1087 if (scsi_probe_lun(sdev, result, result_len, &bflags))
1091 *bflagsp = bflags;
1156 res = scsi_add_lun(sdev, result, &bflags, shost->async_scan);
1158 if (bflags & BLIST_KEY) {
1185 * @bflags: black/white list flag for LUN 0
1192 * attached. Use the bflags to figure out any oddities.
1197 blist_flags_t bflags, int scsi_level,
1213 if (bflags & BLIST_SPARSELUN) {
1232 ((bflags & (BLIST_FORCELUN | BLIST_SPARSELUN | BLIST_MAX5LUN))
1240 if (bflags & BLIST_FORCELUN)
1245 if (bflags & BLIST_MAX5LUN)
1251 if (scsi_level < SCSI_3 && !(bflags & BLIST_LARGELUN))
1271 * @bflags: Zero or a mix of BLIST_NOLUN, BLIST_REPORTLUN2, or BLIST_NOREPORTLUN
1288 static int scsi_report_lun_scan(struct scsi_target *starget, blist_flags_t bflags,
1309 if (bflags & BLIST_NOREPORTLUN)
1315 (!(bflags & BLIST_REPORTLUN2) || shost->max_lun <= 8))
1317 if (bflags & BLIST_NOLUN)
1534 blist_flags_t bflags = 0;
1561 res = scsi_probe_and_add_lun(starget, 0, &bflags, NULL, rescan, NULL);
1563 if (scsi_report_lun_scan(starget, bflags, rescan) != 0)
1568 scsi_sequential_lun_scan(starget, bflags,