Lines Matching refs:inq_buff
3605 unsigned char *inq_buff; in hpsa_update_device_info() local
3609 inq_buff = kzalloc(OBDR_TAPE_INQ_SIZE, GFP_KERNEL); in hpsa_update_device_info()
3610 if (!inq_buff) { in hpsa_update_device_info()
3616 if (hpsa_scsi_do_inquiry(h, scsi3addr, 0, inq_buff, in hpsa_update_device_info()
3625 sanitize_inquiry_string(&inq_buff[8], 8); in hpsa_update_device_info()
3626 sanitize_inquiry_string(&inq_buff[16], 16); in hpsa_update_device_info()
3628 this_device->devtype = (inq_buff[0] & 0x1f); in hpsa_update_device_info()
3630 memcpy(this_device->vendor, &inq_buff[8], in hpsa_update_device_info()
3632 memcpy(this_device->model, &inq_buff[16], in hpsa_update_device_info()
3664 obdr_sig = &inq_buff[OBDR_SIG_OFFSET]; in hpsa_update_device_info()
3669 kfree(inq_buff); in hpsa_update_device_info()
3673 kfree(inq_buff); in hpsa_update_device_info()