sqcp             2664 drivers/scsi/scsi_debug.c 	struct sdebug_queued_cmd *sqcp;
sqcp             2724 drivers/scsi/scsi_debug.c 		sqcp = (struct sdebug_queued_cmd *)scp->host_scribble;
sqcp             2726 drivers/scsi/scsi_debug.c 		if (sqcp) {
sqcp             2727 drivers/scsi/scsi_debug.c 			if (sqcp->inj_short)
sqcp             2731 drivers/scsi/scsi_debug.c 		sqcp = NULL;
sqcp             2772 drivers/scsi/scsi_debug.c 	if (unlikely(sqcp)) {
sqcp             2773 drivers/scsi/scsi_debug.c 		if (sqcp->inj_recovered) {
sqcp             2777 drivers/scsi/scsi_debug.c 		} else if (sqcp->inj_transport) {
sqcp             2781 drivers/scsi/scsi_debug.c 		} else if (sqcp->inj_dif) {
sqcp             2785 drivers/scsi/scsi_debug.c 		} else if (sqcp->inj_dix) {
sqcp             3056 drivers/scsi/scsi_debug.c 		struct sdebug_queued_cmd *sqcp =
sqcp             3059 drivers/scsi/scsi_debug.c 		if (sqcp) {
sqcp             3060 drivers/scsi/scsi_debug.c 			if (sqcp->inj_recovered) {
sqcp             3064 drivers/scsi/scsi_debug.c 			} else if (sqcp->inj_dif) {
sqcp             3068 drivers/scsi/scsi_debug.c 			} else if (sqcp->inj_dix) {
sqcp             3210 drivers/scsi/scsi_debug.c 			struct sdebug_queued_cmd *sqcp =
sqcp             3213 drivers/scsi/scsi_debug.c 			if (sqcp) {
sqcp             3214 drivers/scsi/scsi_debug.c 				if (sqcp->inj_recovered) {
sqcp             3219 drivers/scsi/scsi_debug.c 				} else if (sqcp->inj_dif) {
sqcp             3225 drivers/scsi/scsi_debug.c 				} else if (sqcp->inj_dix) {
sqcp             3715 drivers/scsi/scsi_debug.c 	struct sdebug_queued_cmd *sqcp;
sqcp             3734 drivers/scsi/scsi_debug.c 	sqcp = &sqp->qc_arr[qc_idx];
sqcp             3735 drivers/scsi/scsi_debug.c 	scp = sqcp->a_cmnd;
sqcp             3750 drivers/scsi/scsi_debug.c 	sqcp->a_cmnd = NULL;
sqcp             3928 drivers/scsi/scsi_debug.c 	struct sdebug_queued_cmd *sqcp;
sqcp             3940 drivers/scsi/scsi_debug.c 				sqcp = &sqp->qc_arr[k];
sqcp             3941 drivers/scsi/scsi_debug.c 				if (cmnd != sqcp->a_cmnd)
sqcp             3948 drivers/scsi/scsi_debug.c 				sqcp->a_cmnd = NULL;
sqcp             3949 drivers/scsi/scsi_debug.c 				sd_dp = sqcp->sd_dp;
sqcp             3973 drivers/scsi/scsi_debug.c 	struct sdebug_queued_cmd *sqcp;
sqcp             3981 drivers/scsi/scsi_debug.c 				sqcp = &sqp->qc_arr[k];
sqcp             3982 drivers/scsi/scsi_debug.c 				if (sqcp->a_cmnd == NULL)
sqcp             3985 drivers/scsi/scsi_debug.c 					sqcp->a_cmnd->device->hostdata;
sqcp             3988 drivers/scsi/scsi_debug.c 				sqcp->a_cmnd = NULL;
sqcp             3989 drivers/scsi/scsi_debug.c 				sd_dp = sqcp->sd_dp;
sqcp             4010 drivers/scsi/scsi_debug.c 	struct sdebug_queued_cmd *sqcp;
sqcp             4014 drivers/scsi/scsi_debug.c 			sqcp = &sqp->qc_arr[k];
sqcp             4015 drivers/scsi/scsi_debug.c 			kfree(sqcp->sd_dp);
sqcp             4016 drivers/scsi/scsi_debug.c 			sqcp->sd_dp = NULL;
sqcp             4230 drivers/scsi/scsi_debug.c 			 struct sdebug_queued_cmd *sqcp)
sqcp             4234 drivers/scsi/scsi_debug.c 			sqcp->inj_recovered = sqcp->inj_transport
sqcp             4235 drivers/scsi/scsi_debug.c 				= sqcp->inj_dif
sqcp             4236 drivers/scsi/scsi_debug.c 				= sqcp->inj_dix = sqcp->inj_short
sqcp             4237 drivers/scsi/scsi_debug.c 				= sqcp->inj_host_busy = sqcp->inj_cmd_abort = 0;
sqcp             4240 drivers/scsi/scsi_debug.c 	sqcp->inj_recovered = !!(SDEBUG_OPT_RECOVERED_ERR & sdebug_opts);
sqcp             4241 drivers/scsi/scsi_debug.c 	sqcp->inj_transport = !!(SDEBUG_OPT_TRANSPORT_ERR & sdebug_opts);
sqcp             4242 drivers/scsi/scsi_debug.c 	sqcp->inj_dif = !!(SDEBUG_OPT_DIF_ERR & sdebug_opts);
sqcp             4243 drivers/scsi/scsi_debug.c 	sqcp->inj_dix = !!(SDEBUG_OPT_DIX_ERR & sdebug_opts);
sqcp             4244 drivers/scsi/scsi_debug.c 	sqcp->inj_short = !!(SDEBUG_OPT_SHORT_TRANSFER & sdebug_opts);
sqcp             4245 drivers/scsi/scsi_debug.c 	sqcp->inj_host_busy = !!(SDEBUG_OPT_HOST_BUSY & sdebug_opts);
sqcp             4246 drivers/scsi/scsi_debug.c 	sqcp->inj_cmd_abort = !!(SDEBUG_OPT_CMD_ABORT & sdebug_opts);
sqcp             4263 drivers/scsi/scsi_debug.c 	struct sdebug_queued_cmd *sqcp;
sqcp             4325 drivers/scsi/scsi_debug.c 	sqcp = &sqp->qc_arr[k];
sqcp             4326 drivers/scsi/scsi_debug.c 	sqcp->a_cmnd = cmnd;
sqcp             4327 drivers/scsi/scsi_debug.c 	cmnd->host_scribble = (unsigned char *)sqcp;
sqcp             4328 drivers/scsi/scsi_debug.c 	sd_dp = sqcp->sd_dp;
sqcp             4331 drivers/scsi/scsi_debug.c 		setup_inject(sqp, sqcp);
sqcp             4362 drivers/scsi/scsi_debug.c 			sqcp->sd_dp = sd_dp;
sqcp             4376 drivers/scsi/scsi_debug.c 			sqcp->sd_dp = sd_dp;
sqcp             4384 drivers/scsi/scsi_debug.c 		if (unlikely(sqcp->inj_cmd_abort))
sqcp             4387 drivers/scsi/scsi_debug.c 		if (unlikely(sqcp->inj_cmd_abort)) {