inq_result 560 drivers/scsi/scsi_scan.c static int scsi_probe_lun(struct scsi_device *sdev, unsigned char *inq_result, inq_result 591 drivers/scsi/scsi_scan.c memset(inq_result, 0, try_inquiry_len); inq_result 594 drivers/scsi/scsi_scan.c inq_result, try_inquiry_len, &sshdr, inq_result 630 drivers/scsi/scsi_scan.c scsi_sanitize_inquiry_string(&inq_result[8], 8); inq_result 631 drivers/scsi/scsi_scan.c scsi_sanitize_inquiry_string(&inq_result[16], 16); inq_result 632 drivers/scsi/scsi_scan.c scsi_sanitize_inquiry_string(&inq_result[32], 4); inq_result 634 drivers/scsi/scsi_scan.c response_len = inq_result[4] + 5; inq_result 645 drivers/scsi/scsi_scan.c *bflags = scsi_get_device_flags(sdev, &inq_result[8], inq_result 646 drivers/scsi/scsi_scan.c &inq_result[16]); inq_result 730 drivers/scsi/scsi_scan.c sdev->scsi_level = inq_result[2] & 0x07; inq_result 732 drivers/scsi/scsi_scan.c (sdev->scsi_level == 1 && (inq_result[3] & 0x0f) == 1)) inq_result 764 drivers/scsi/scsi_scan.c static int scsi_add_lun(struct scsi_device *sdev, unsigned char *inq_result, inq_result 789 drivers/scsi/scsi_scan.c sdev->inquiry = kmemdup(inq_result, inq_result 813 drivers/scsi/scsi_scan.c sdev->type = (inq_result[0] & 0x1f); inq_result 814 drivers/scsi/scsi_scan.c sdev->removable = (inq_result[1] & 0x80) >> 7; inq_result 855 drivers/scsi/scsi_scan.c sdev->inq_periph_qual = (inq_result[0] >> 5) & 7; inq_result 857 drivers/scsi/scsi_scan.c sdev->soft_reset = (inq_result[7] & 1) && ((inq_result[3] & 7) == 2); inq_result 860 drivers/scsi/scsi_scan.c (sdev->inquiry_len > 56 && inq_result[56] & 0x04)) inq_result 862 drivers/scsi/scsi_scan.c if (inq_result[7] & 0x60) inq_result 864 drivers/scsi/scsi_scan.c if (inq_result[7] & 0x10) inq_result 870 drivers/scsi/scsi_scan.c sdev->inq_periph_qual, inq_result[2] & 0x07, inq_result 871 drivers/scsi/scsi_scan.c (inq_result[3] & 0x0f) == 1 ? " CCS" : ""); inq_result 873 drivers/scsi/scsi_scan.c if ((sdev->scsi_level >= SCSI_2) && (inq_result[7] & 2) && inq_result 335 drivers/scsi/virtio_scsi.c char *inq_result = kmalloc(inq_result_len, GFP_KERNEL); inq_result 344 drivers/scsi/virtio_scsi.c memset(inq_result, 0, inq_result_len); inq_result 347 drivers/scsi/virtio_scsi.c inq_result, inquiry_len, NULL, inq_result 350 drivers/scsi/virtio_scsi.c if (result == 0 && inq_result[0] >> 5) { inq_result 356 drivers/scsi/virtio_scsi.c kfree(inq_result);