Searched refs:vpd_len (Results 1 – 4 of 4) sorted by relevance
/drivers/scsi/ |
D | scsi.c | 397 int vpd_len = SCSI_VPD_PG_LEN, result; in scsi_get_vpd_buf() local 400 vpd_buf = kmalloc(sizeof(*vpd_buf) + vpd_len, GFP_KERNEL); in scsi_get_vpd_buf() 404 result = scsi_vpd_inquiry(sdev, vpd_buf->data, page, vpd_len); in scsi_get_vpd_buf() 409 if (result > vpd_len) { in scsi_get_vpd_buf() 410 vpd_len = result; in scsi_get_vpd_buf()
|
D | sd.c | 2946 const int vpd_len = 64; in sd_read_block_limits() local 2947 unsigned char *buffer = kmalloc(vpd_len, GFP_KERNEL); in sd_read_block_limits() 2951 scsi_get_vpd_page(sdkp->device, 0xb0, buffer, vpd_len)) in sd_read_block_limits() 3012 const int vpd_len = 64; in sd_read_block_characteristics() local 3014 buffer = kmalloc(vpd_len, GFP_KERNEL); in sd_read_block_characteristics() 3018 scsi_get_vpd_page(sdkp->device, 0xb1, buffer, vpd_len)) in sd_read_block_characteristics() 3068 const int vpd_len = 8; in sd_read_block_provisioning() local 3073 buffer = kmalloc(vpd_len, GFP_KERNEL); in sd_read_block_provisioning() 3075 if (!buffer || scsi_get_vpd_page(sdkp->device, 0xb2, buffer, vpd_len)) in sd_read_block_provisioning()
|
D | scsi_transport_sas.c | 341 const int vpd_len = 32; in sas_tlr_supported() local 343 char *buffer = kzalloc(vpd_len, GFP_KERNEL); in sas_tlr_supported() 349 if (scsi_get_vpd_page(sdev, 0x90, buffer, vpd_len)) in sas_tlr_supported()
|
/drivers/scsi/aic7xxx/ |
D | aic79xx.h | 906 uint16_t vpd_len; member
|