Lines Matching refs:stgt_priv_data
589 struct mpi3mr_stgt_priv_data *stgt_priv_data = starget->hostdata; in mpi3mr_count_tgt_pending() local
598 stgt_priv_data->pend_count++; in mpi3mr_count_tgt_pending()
3258 struct mpi3mr_stgt_priv_data *stgt_priv_data = NULL; in mpi3mr_process_op_reply_desc() local
3330 stgt_priv_data = sdev_priv_data->tgt_priv_data; in mpi3mr_process_op_reply_desc()
3331 if (stgt_priv_data) { in mpi3mr_process_op_reply_desc()
3332 tg = stgt_priv_data->throttle_group; in mpi3mr_process_op_reply_desc()
3334 stgt_priv_data->io_throttle_enabled; in mpi3mr_process_op_reply_desc()
3335 dev_handle = stgt_priv_data->dev_handle; in mpi3mr_process_op_reply_desc()
3354 stgt_priv_data->io_divert = 0; in mpi3mr_process_op_reply_desc()
3356 } else if (unlikely((stgt_priv_data && stgt_priv_data->io_divert))) { in mpi3mr_process_op_reply_desc()
3360 stgt_priv_data->io_divert = 0; in mpi3mr_process_op_reply_desc()
4209 struct mpi3mr_stgt_priv_data *stgt_priv_data; in mpi3mr_eh_bus_reset() local
4217 stgt_priv_data = sdev_priv_data->tgt_priv_data; in mpi3mr_eh_bus_reset()
4218 dev_type = stgt_priv_data->dev_type; in mpi3mr_eh_bus_reset()
4261 struct mpi3mr_stgt_priv_data *stgt_priv_data; in mpi3mr_eh_target_reset() local
4279 stgt_priv_data = sdev_priv_data->tgt_priv_data; in mpi3mr_eh_target_reset()
4280 dev_handle = stgt_priv_data->dev_handle; in mpi3mr_eh_target_reset()
4281 if (stgt_priv_data->dev_removed) { in mpi3mr_eh_target_reset()
4304 if (stgt_priv_data->pend_count) { in mpi3mr_eh_target_reset()
4307 mrioc->name, stgt_priv_data->pend_count); in mpi3mr_eh_target_reset()
4333 struct mpi3mr_stgt_priv_data *stgt_priv_data; in mpi3mr_eh_dev_reset() local
4351 stgt_priv_data = sdev_priv_data->tgt_priv_data; in mpi3mr_eh_dev_reset()
4352 dev_handle = stgt_priv_data->dev_handle; in mpi3mr_eh_dev_reset()
4353 if (stgt_priv_data->dev_removed) { in mpi3mr_eh_dev_reset()
4875 struct mpi3mr_stgt_priv_data *stgt_priv_data; in mpi3mr_qcmd() local
4911 stgt_priv_data = sdev_priv_data->tgt_priv_data; in mpi3mr_qcmd()
4912 dev_handle = stgt_priv_data->dev_handle; in mpi3mr_qcmd()
4918 (stgt_priv_data->dev_removed || (dev_handle == MPI3MR_INVALID_DEV_HANDLE))) { in mpi3mr_qcmd()
4930 if (atomic_read(&stgt_priv_data->block_io)) { in mpi3mr_qcmd()
4945 if (stgt_priv_data->dev_removed) { in mpi3mr_qcmd()
4951 if (stgt_priv_data->dev_type == MPI3_DEVICE_DEVFORM_PCIE) in mpi3mr_qcmd()
4991 if (stgt_priv_data->wslen) in mpi3mr_qcmd()
4993 stgt_priv_data->wslen); in mpi3mr_qcmd()
5010 stgt_priv_data->io_throttle_enabled) { in mpi3mr_qcmd()
5012 tg = stgt_priv_data->throttle_group; in mpi3mr_qcmd()
5031 stgt_priv_data->io_divert = 1; in mpi3mr_qcmd()
5035 if (stgt_priv_data->io_divert) { in mpi3mr_qcmd()