• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/scsi/

Lines Matching refs:bflags

530  * @bflags:	store any bflags found here
537 * are copied to the scsi_device any flags value is stored in *@bflags.
540 int result_len, int *bflags)
548 *bflags = 0;
606 *bflags = scsi_get_device_flags(sdev, &inq_result[8],
612 if (BLIST_INQUIRY_36 & *bflags)
614 else if (BLIST_INQUIRY_58 & *bflags)
675 * @bflags: black/white list flag
679 * set fields based on values in *@bflags. If @sdevnew is not
688 int *bflags, int async)
710 if (*bflags & BLIST_ISROM) {
718 } else if (*bflags & BLIST_NO_ULD_ATTACH)
727 if ((*bflags & BLIST_REPORTLUN2) == 0)
728 *bflags |= BLIST_NOREPORTLUN;
747 if ((*bflags & BLIST_REPORTLUN2) == 0)
748 *bflags |= BLIST_NOREPORTLUN;
797 !(*bflags & BLIST_NOTQ))
804 if ((*bflags & BLIST_BORKEN) == 0)
811 if (*bflags & BLIST_SELECT_NO_ATN)
818 if (*bflags & BLIST_MAX_512)
825 if (*bflags & BLIST_NOSTARTONADD)
828 if (*bflags & BLIST_SINGLELUN)
834 if (*bflags & BLIST_MS_SKIP_PAGE_08)
837 if (*bflags & BLIST_MS_SKIP_PAGE_3F)
840 if (*bflags & BLIST_USE_10_BYTE_MS)
847 if (*bflags & BLIST_MS_192_BYTES_FOR_3F)
850 if (*bflags & BLIST_NOT_LOCKABLE)
853 if (*bflags & BLIST_RETRY_HWERROR)
926 * @bflagsp: store bflags here if not NULL
945 int bflags, res = SCSI_SCAN_NO_RESPONSE, result_len = 256;
980 if (scsi_probe_lun(sdev, result, result_len, &bflags))
984 *bflagsp = bflags;
988 if (((result[0] >> 5) == 3) && !(bflags & BLIST_ATTACH_PQ3)) {
1047 res = scsi_add_lun(sdev, result, &bflags, shost->async_scan);
1049 if (bflags & BLIST_KEY) {
1076 * @bflags: black/white list flag for LUN 0
1081 * attached. Use the bflags to figure out any oddities.
1086 int bflags, int scsi_level, int rescan)
1100 if (bflags & BLIST_SPARSELUN) {
1119 ((bflags & (BLIST_FORCELUN | BLIST_SPARSELUN | BLIST_MAX5LUN))
1127 if (bflags & BLIST_FORCELUN)
1132 if (bflags & BLIST_MAX5LUN)
1138 if (scsi_level < SCSI_3 && !(bflags & BLIST_LARGELUN))
1231 static int scsi_report_lun_scan(struct scsi_target *starget, int bflags,
1253 if (bflags & BLIST_NOREPORTLUN)
1259 (!(bflags & BLIST_REPORTLUN2) || shost->max_lun <= 8))
1261 if (bflags & BLIST_NOLUN)
1487 int bflags = 0;
1513 res = scsi_probe_and_add_lun(starget, 0, &bflags, NULL, rescan, NULL);
1515 if (scsi_report_lun_scan(starget, bflags, rescan) != 0)
1520 scsi_sequential_lun_scan(starget, bflags,