Lines Matching refs:sense_data_length

3165 	size_t sense_data_length;  in pqi_process_raid_io_error()  local
3217 sense_data_length = get_unaligned_le16(&error_info->sense_data_length); in pqi_process_raid_io_error()
3218 if (sense_data_length == 0) in pqi_process_raid_io_error()
3219 sense_data_length = in pqi_process_raid_io_error()
3221 if (sense_data_length) { in pqi_process_raid_io_error()
3222 if (sense_data_length > sizeof(error_info->data)) in pqi_process_raid_io_error()
3223 sense_data_length = sizeof(error_info->data); in pqi_process_raid_io_error()
3227 sense_data_length, &sshdr) && in pqi_process_raid_io_error()
3250 if (sense_data_length > SCSI_SENSE_BUFFERSIZE) in pqi_process_raid_io_error()
3251 sense_data_length = SCSI_SENSE_BUFFERSIZE; in pqi_process_raid_io_error()
3253 sense_data_length); in pqi_process_raid_io_error()
3260 sense_data_length && in pqi_process_raid_io_error()
3261 scsi_normalize_sense(error_info->data, sense_data_length, &sshdr) && in pqi_process_raid_io_error()
3280 size_t sense_data_length; in pqi_process_aio_io_error() local
3288 sense_data_length = 0; in pqi_process_aio_io_error()
3344 sense_data_length = in pqi_process_aio_io_error()
3346 if (sense_data_length) { in pqi_process_aio_io_error()
3347 if (sense_data_length > sizeof(error_info->data)) in pqi_process_aio_io_error()
3348 sense_data_length = sizeof(error_info->data); in pqi_process_aio_io_error()
3349 if (sense_data_length > SCSI_SENSE_BUFFERSIZE) in pqi_process_aio_io_error()
3350 sense_data_length = SCSI_SENSE_BUFFERSIZE; in pqi_process_aio_io_error()
3352 sense_data_length); in pqi_process_aio_io_error()
3356 if (device_offline && sense_data_length == 0) in pqi_process_aio_io_error()
6656 size_t sense_data_length; member
6663 size_t sense_data_length; in pqi_error_info_to_ciss() local
6708 sense_data_length = in pqi_error_info_to_ciss()
6709 get_unaligned_le16(&pqi_error_info->sense_data_length); in pqi_error_info_to_ciss()
6710 if (sense_data_length == 0) in pqi_error_info_to_ciss()
6711 sense_data_length = in pqi_error_info_to_ciss()
6713 if (sense_data_length) in pqi_error_info_to_ciss()
6714 if (sense_data_length > sizeof(pqi_error_info->data)) in pqi_error_info_to_ciss()
6715 sense_data_length = sizeof(pqi_error_info->data); in pqi_error_info_to_ciss()
6719 ciss_error_info->sense_data_length = sense_data_length; in pqi_error_info_to_ciss()
6727 size_t sense_data_length; in pqi_passthru_ioctl() local
6834 sense_data_length = ciss_error_info.sense_data_length; in pqi_passthru_ioctl()
6835 if (sense_data_length) { in pqi_passthru_ioctl()
6836 if (sense_data_length > in pqi_passthru_ioctl()
6838 sense_data_length = in pqi_passthru_ioctl()
6841 pqi_error_info.data, sense_data_length); in pqi_passthru_ioctl()
6842 iocommand.error_info.SenseLen = sense_data_length; in pqi_passthru_ioctl()
10617 sense_data_length) != 0x8); in pqi_verify_structures()