Home
last modified time | relevance | path

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

/linux-4.4.14/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.c2647 const int vpd_len = 64; in sd_read_block_limits() local
2648 unsigned char *buffer = kmalloc(vpd_len, GFP_KERNEL); in sd_read_block_limits()
2652 scsi_get_vpd_page(sdkp->device, 0xb0, buffer, vpd_len)) in sd_read_block_limits()
2714 const int vpd_len = 64; in sd_read_block_characteristics() local
2716 buffer = kmalloc(vpd_len, GFP_KERNEL); in sd_read_block_characteristics()
2720 scsi_get_vpd_page(sdkp->device, 0xb1, buffer, vpd_len)) in sd_read_block_characteristics()
2741 const int vpd_len = 8; in sd_read_block_provisioning() local
2746 buffer = kmalloc(vpd_len, GFP_KERNEL); in sd_read_block_provisioning()
2748 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()
/linux-4.4.14/drivers/scsi/aic7xxx/
Daic79xx.h909 uint16_t vpd_len; member