Lines Matching refs:sense_data

672 				fsa_dev_ptr->sense_data.sense_key = NOT_READY;  in _aac_probe_container2()
673 else if (fsa_dev_ptr->sense_data.sense_key == NOT_READY) in _aac_probe_container2()
674 fsa_dev_ptr->sense_data.sense_key = NO_SENSE; in _aac_probe_container2()
1176 static inline void set_sense(struct sense_data *sense_data, u8 sense_key, in set_sense() argument
1179 u8 *sense_buf = (u8 *)sense_data; in set_sense()
1209 set_sense(&dev->fsa_dev[cid].sense_data, in aac_bounds_32()
1212 memcpy(cmd->sense_buffer, &dev->fsa_dev[cid].sense_data, in aac_bounds_32()
1213 min_t(size_t, sizeof(dev->fsa_dev[cid].sense_data), in aac_bounds_32()
2374 dev->fsa_dev[cid].sense_data.sense_key = NO_SENSE; in io_callback()
2378 set_sense(&dev->fsa_dev[cid].sense_data, NOT_READY, in io_callback()
2380 memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data, in io_callback()
2381 min_t(size_t, sizeof(dev->fsa_dev[cid].sense_data), in io_callback()
2386 set_sense(&dev->fsa_dev[cid].sense_data, MEDIUM_ERROR, in io_callback()
2388 memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data, in io_callback()
2389 min_t(size_t, sizeof(dev->fsa_dev[cid].sense_data), in io_callback()
2398 set_sense(&dev->fsa_dev[cid].sense_data, in io_callback()
2401 memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data, in io_callback()
2402 min_t(size_t, sizeof(dev->fsa_dev[cid].sense_data), in io_callback()
2473 set_sense(&dev->fsa_dev[cid].sense_data, in aac_read()
2476 memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data, in aac_read()
2477 min_t(size_t, sizeof(dev->fsa_dev[cid].sense_data), in aac_read()
2564 set_sense(&dev->fsa_dev[cid].sense_data, in aac_write()
2567 memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data, in aac_write()
2568 min_t(size_t, sizeof(dev->fsa_dev[cid].sense_data), in aac_write()
2627 set_sense(&dev->fsa_dev[cid].sense_data, in synchronize_callback()
2630 memcpy(cmd->sense_buffer, &dev->fsa_dev[cid].sense_data, in synchronize_callback()
2631 min_t(size_t, sizeof(dev->fsa_dev[cid].sense_data), in synchronize_callback()
2801 (fsa_dev_ptr[cid].sense_data.sense_key == in aac_scsi_cmd()
2849 set_sense(&dev->fsa_dev[cid].sense_data, in aac_scsi_cmd()
2852 memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data, in aac_scsi_cmd()
2853 min_t(size_t, sizeof(dev->fsa_dev[cid].sense_data), in aac_scsi_cmd()
2930 set_sense(&dev->fsa_dev[cid].sense_data, in aac_scsi_cmd()
2934 &dev->fsa_dev[cid].sense_data, in aac_scsi_cmd()
2936 sizeof(dev->fsa_dev[cid].sense_data), in aac_scsi_cmd()
3191 memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data, in aac_scsi_cmd()
3192 sizeof(struct sense_data)); in aac_scsi_cmd()
3193 memset(&dev->fsa_dev[cid].sense_data, 0, in aac_scsi_cmd()
3194 sizeof(struct sense_data)); in aac_scsi_cmd()
3211 if (fsa_dev_ptr[cid].sense_data.sense_key == NOT_READY) { in aac_scsi_cmd()
3213 set_sense(&dev->fsa_dev[cid].sense_data, in aac_scsi_cmd()
3217 &dev->fsa_dev[cid].sense_data, in aac_scsi_cmd()
3219 sizeof(dev->fsa_dev[cid].sense_data), in aac_scsi_cmd()
3242 set_sense(&dev->fsa_dev[cid].sense_data, in aac_scsi_cmd()
3245 memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data, in aac_scsi_cmd()
3247 sizeof(dev->fsa_dev[cid].sense_data), in aac_scsi_cmd()
3424 srbreply->sense_data, len); in aac_srb_callback()
3553 srbreply->sense_data, len); in aac_srb_callback()