Home
last modified time | relevance | path

Searched refs:vpd_buf (Results 1 – 1 of 1) sorted by relevance

/drivers/scsi/
Dscsi.c785 unsigned char *vpd_buf; in scsi_attach_vpd() local
790 vpd_buf = kmalloc(vpd_len, GFP_KERNEL); in scsi_attach_vpd()
791 if (!vpd_buf) in scsi_attach_vpd()
795 result = scsi_vpd_inquiry(sdev, vpd_buf, 0, vpd_len); in scsi_attach_vpd()
797 kfree(vpd_buf); in scsi_attach_vpd()
802 kfree(vpd_buf); in scsi_attach_vpd()
807 if (vpd_buf[i] == 0x80) in scsi_attach_vpd()
809 if (vpd_buf[i] == 0x83) in scsi_attach_vpd()
812 kfree(vpd_buf); in scsi_attach_vpd()
817 vpd_buf = kmalloc(vpd_len, GFP_KERNEL); in scsi_attach_vpd()
[all …]