Home
last modified time | relevance | path

Searched refs:ses (Results 1 – 15 of 15) sorted by relevance

/drivers/scsi/
Dscsi_error.c920 void scsi_eh_prep_cmnd(struct scsi_cmnd *scmd, struct scsi_eh_save *ses, in scsi_eh_prep_cmnd() argument
932 ses->cmd_len = scmd->cmd_len; in scsi_eh_prep_cmnd()
933 ses->cmnd = scmd->cmnd; in scsi_eh_prep_cmnd()
934 ses->data_direction = scmd->sc_data_direction; in scsi_eh_prep_cmnd()
935 ses->sdb = scmd->sdb; in scsi_eh_prep_cmnd()
936 ses->next_rq = scmd->request->next_rq; in scsi_eh_prep_cmnd()
937 ses->result = scmd->result; in scsi_eh_prep_cmnd()
938 ses->resid_len = scmd->req.resid_len; in scsi_eh_prep_cmnd()
939 ses->underflow = scmd->underflow; in scsi_eh_prep_cmnd()
940 ses->prot_op = scmd->prot_op; in scsi_eh_prep_cmnd()
[all …]
Daha1740.h110 :2, ses:1, /* Suppress Underrun error */
DNCR5380.h220 struct scsi_eh_save ses; /* Cmnd state saved for EH */ member
DNCR5380.c521 scsi_eh_restore_cmnd(cmd, &hostdata->ses); in complete_cmd()
523 scsi_eh_restore_cmnd(cmd, &hostdata->ses); in complete_cmd()
641 scsi_eh_prep_cmnd(cmd, &hostdata->ses, NULL, 0, ~0); in dequeue_next_cmd()
654 scsi_eh_restore_cmnd(cmd, &hostdata->ses); in requeue_cmd()
DMakefile154 obj-$(CONFIG_SCSI_ENCLOSURE) += ses.o
Daha1740.c421 host->ecb[ecbno].ses = 1; /* Suppress underrun errors */ in aha1740_queuecommand_lck()
Daha152x.c515 struct scsi_eh_save ses; member
1425 scsi_eh_restore_cmnd(cmd, &sc->ses); in busfree_run()
1445 scsi_eh_prep_cmnd(ptr, &sc->ses, NULL, 0, ~0); in busfree_run()
/drivers/staging/lustre/lustre/llite/
Dvvp_internal.h173 struct vvp_session *ses; in vvp_env_session() local
175 ses = lu_context_key_get(env->le_ses, &vvp_session_key); in vvp_env_session()
176 LASSERT(ses); in vvp_env_session()
178 return ses; in vvp_env_session()
/drivers/usb/storage/
Dcypress_atacb.c177 struct scsi_eh_save ses; in cypress_atacb_passthrough() local
184 scsi_eh_prep_cmnd(srb, &ses, NULL, 0, sizeof(regs)); in cypress_atacb_passthrough()
192 srb->cmnd = ses.cmnd; in cypress_atacb_passthrough()
198 scsi_eh_restore_cmnd(srb, &ses); in cypress_atacb_passthrough()
Dtransport.c711 struct scsi_eh_save ses; in usb_stor_invoke_transport() local
723 scsi_eh_prep_cmnd(srb, &ses, NULL, 0, sense_size); in usb_stor_invoke_transport()
737 scsi_eh_restore_cmnd(srb, &ses); in usb_stor_invoke_transport()
/drivers/staging/lustre/lustre/lov/
Dlov_cl_internal.h468 struct lov_session *ses; in lov_env_session() local
470 ses = lu_context_key_get(env->le_ses, &lov_session_key); in lov_env_session()
471 LASSERT(ses); in lov_env_session()
472 return ses; in lov_env_session()
/drivers/staging/lustre/lustre/osc/
Dosc_cl_internal.h442 struct osc_session *ses; in osc_env_session() local
444 ses = lu_context_key_get(env->le_ses, &osc_session_key); in osc_env_session()
445 LASSERT(ses); in osc_env_session()
446 return ses; in osc_env_session()
/drivers/scsi/arm/
Dfas216.h312 struct scsi_eh_save ses; /* holds request sense restore info */ member
Dfas216.c2023 scsi_eh_restore_cmnd(SCpnt, &info->ses); in fas216_rq_sns_done()
2107 scsi_eh_prep_cmnd(SCpnt, &info->ses, NULL, 0, ~0); in fas216_std_done()
/drivers/staging/lustre/lustre/ptlrpc/
Dptlrpcd.c387 struct lu_context ses = { 0 }; in ptlrpcd() local
388 struct lu_env env = { .le_ses = &ses }; in ptlrpcd()