Lines Matching refs:sdev_priv_data
522 struct mpi3mr_sdev_priv_data *sdev_priv_data = sdev->hostdata; in mpi3mr_count_dev_pending() local
531 sdev_priv_data->pend_count++; in mpi3mr_count_dev_pending()
3128 struct mpi3mr_sdev_priv_data *sdev_priv_data = NULL; in mpi3mr_process_op_reply_desc() local
3190 sdev_priv_data = scmd->device->hostdata; in mpi3mr_process_op_reply_desc()
3191 if (sdev_priv_data) { in mpi3mr_process_op_reply_desc()
3192 stgt_priv_data = sdev_priv_data->tgt_priv_data; in mpi3mr_process_op_reply_desc()
3646 struct mpi3mr_sdev_priv_data *sdev_priv_data = NULL; in mpi3mr_issue_tm() local
3686 sdev_priv_data = sdev->hostdata; in mpi3mr_issue_tm()
3687 scsi_tgt_priv_data = ((sdev_priv_data) ? in mpi3mr_issue_tm()
3688 sdev_priv_data->tgt_priv_data : NULL); in mpi3mr_issue_tm()
3788 if (!sdev_priv_data) in mpi3mr_issue_tm()
3790 sdev_priv_data->pend_count = 0; in mpi3mr_issue_tm()
4026 struct mpi3mr_sdev_priv_data *sdev_priv_data; in mpi3mr_eh_host_reset() local
4030 sdev_priv_data = scmd->device->hostdata; in mpi3mr_eh_host_reset()
4031 if (sdev_priv_data && sdev_priv_data->tgt_priv_data) { in mpi3mr_eh_host_reset()
4032 stgt_priv_data = sdev_priv_data->tgt_priv_data; in mpi3mr_eh_host_reset()
4074 struct mpi3mr_sdev_priv_data *sdev_priv_data; in mpi3mr_eh_target_reset() local
4083 sdev_priv_data = scmd->device->hostdata; in mpi3mr_eh_target_reset()
4084 if (!sdev_priv_data || !sdev_priv_data->tgt_priv_data) { in mpi3mr_eh_target_reset()
4091 stgt_priv_data = sdev_priv_data->tgt_priv_data; in mpi3mr_eh_target_reset()
4110 sdev_priv_data->lun_id, MPI3MR_HOSTTAG_BLK_TMS, in mpi3mr_eh_target_reset()
4146 struct mpi3mr_sdev_priv_data *sdev_priv_data; in mpi3mr_eh_dev_reset() local
4155 sdev_priv_data = scmd->device->hostdata; in mpi3mr_eh_dev_reset()
4156 if (!sdev_priv_data || !sdev_priv_data->tgt_priv_data) { in mpi3mr_eh_dev_reset()
4163 stgt_priv_data = sdev_priv_data->tgt_priv_data; in mpi3mr_eh_dev_reset()
4181 sdev_priv_data->lun_id, MPI3MR_HOSTTAG_BLK_TMS, in mpi3mr_eh_dev_reset()
4187 if (sdev_priv_data->pend_count) { in mpi3mr_eh_dev_reset()
4190 mrioc->name, sdev_priv_data->pend_count); in mpi3mr_eh_dev_reset()
4706 struct mpi3mr_sdev_priv_data *sdev_priv_data; in mpi3mr_qcmd() local
4727 sdev_priv_data = scmd->device->hostdata; in mpi3mr_qcmd()
4728 if (!sdev_priv_data || !sdev_priv_data->tgt_priv_data) { in mpi3mr_qcmd()
4741 stgt_priv_data = sdev_priv_data->tgt_priv_data; in mpi3mr_qcmd()
4803 if (sdev_priv_data->ncq_prio_enable) { in mpi3mr_qcmd()
4828 int_to_scsilun(sdev_priv_data->lun_id, in mpi3mr_qcmd()