Home
last modified time | relevance | path

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

/drivers/scsi/
Dscsi.c782 int vpd_len = SCSI_VPD_PG_LEN; in scsi_attach_vpd() local
790 vpd_buf = kmalloc(vpd_len, GFP_KERNEL); in scsi_attach_vpd()
795 result = scsi_vpd_inquiry(sdev, vpd_buf, 0, vpd_len); in scsi_attach_vpd()
800 if (result > vpd_len) { in scsi_attach_vpd()
801 vpd_len = result; in scsi_attach_vpd()
813 vpd_len = SCSI_VPD_PG_LEN; in scsi_attach_vpd()
817 vpd_buf = kmalloc(vpd_len, GFP_KERNEL); in scsi_attach_vpd()
821 result = scsi_vpd_inquiry(sdev, vpd_buf, 0x80, vpd_len); in scsi_attach_vpd()
826 if (result > vpd_len) { in scsi_attach_vpd()
827 vpd_len = result; in scsi_attach_vpd()
[all …]
Dsd.c2682 const int vpd_len = 64; in sd_read_block_limits() local
2683 unsigned char *buffer = kmalloc(vpd_len, GFP_KERNEL); in sd_read_block_limits()
2687 scsi_get_vpd_page(sdkp->device, 0xb0, buffer, vpd_len)) in sd_read_block_limits()
2749 const int vpd_len = 64; in sd_read_block_characteristics() local
2751 buffer = kmalloc(vpd_len, GFP_KERNEL); in sd_read_block_characteristics()
2755 scsi_get_vpd_page(sdkp->device, 0xb1, buffer, vpd_len)) in sd_read_block_characteristics()
2776 const int vpd_len = 8; in sd_read_block_provisioning() local
2781 buffer = kmalloc(vpd_len, GFP_KERNEL); in sd_read_block_provisioning()
2783 if (!buffer || scsi_get_vpd_page(sdkp->device, 0xb2, buffer, vpd_len)) in sd_read_block_provisioning()
Dscsi_transport_sas.c380 const int vpd_len = 32; in sas_tlr_supported() local
382 char *buffer = kzalloc(vpd_len, GFP_KERNEL); in sas_tlr_supported()
385 if (scsi_get_vpd_page(sdev, 0x90, buffer, vpd_len)) in sas_tlr_supported()
/drivers/scsi/aic7xxx/
Daic79xx.h909 uint16_t vpd_len; member