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

/linux-4.4.14/drivers/scsi/
H A Dscsi.c782 int vpd_len = SCSI_VPD_PG_LEN; scsi_attach_vpd() local
790 vpd_buf = kmalloc(vpd_len, GFP_KERNEL); scsi_attach_vpd()
795 result = scsi_vpd_inquiry(sdev, vpd_buf, 0, vpd_len); scsi_attach_vpd()
800 if (result > vpd_len) { scsi_attach_vpd()
801 vpd_len = result; scsi_attach_vpd()
813 vpd_len = SCSI_VPD_PG_LEN; scsi_attach_vpd()
817 vpd_buf = kmalloc(vpd_len, GFP_KERNEL); scsi_attach_vpd()
821 result = scsi_vpd_inquiry(sdev, vpd_buf, 0x80, vpd_len); scsi_attach_vpd()
826 if (result > vpd_len) { scsi_attach_vpd()
827 vpd_len = result; scsi_attach_vpd()
833 vpd_len = SCSI_VPD_PG_LEN; scsi_attach_vpd()
838 vpd_buf = kmalloc(vpd_len, GFP_KERNEL); scsi_attach_vpd()
842 result = scsi_vpd_inquiry(sdev, vpd_buf, 0x83, vpd_len); scsi_attach_vpd()
847 if (result > vpd_len) { scsi_attach_vpd()
848 vpd_len = result; scsi_attach_vpd()
H A Dsd.c2647 const int vpd_len = 64; sd_read_block_limits() local
2648 unsigned char *buffer = kmalloc(vpd_len, GFP_KERNEL); sd_read_block_limits()
2652 scsi_get_vpd_page(sdkp->device, 0xb0, buffer, vpd_len)) sd_read_block_limits()
2714 const int vpd_len = 64; sd_read_block_characteristics() local
2716 buffer = kmalloc(vpd_len, GFP_KERNEL); sd_read_block_characteristics()
2720 scsi_get_vpd_page(sdkp->device, 0xb1, buffer, vpd_len)) sd_read_block_characteristics()
2741 const int vpd_len = 8; sd_read_block_provisioning() local
2746 buffer = kmalloc(vpd_len, GFP_KERNEL); sd_read_block_provisioning()
2748 if (!buffer || scsi_get_vpd_page(sdkp->device, 0xb2, buffer, vpd_len)) sd_read_block_provisioning()
H A Dscsi_transport_sas.c380 const int vpd_len = 32; sas_tlr_supported() local
382 char *buffer = kzalloc(vpd_len, GFP_KERNEL); sas_tlr_supported()
385 if (scsi_get_vpd_page(sdev, 0x90, buffer, vpd_len)) sas_tlr_supported()
/linux-4.4.14/drivers/scsi/aic7xxx/
H A Daic79xx.h909 uint16_t vpd_len; member in struct:vpd_config

Completed in 642 milliseconds