Home
last modified time | relevance | path

Searched refs:prot_op (Results 1 – 7 of 7) sorted by relevance

/linux/include/scsi/
H A Dscsi_cmnd.h95 unsigned char prot_op; member
265 scmd->prot_op = op; in scsi_set_prot_op()
270 return scmd->prot_op; in scsi_get_prot_op()
H A Dscsi_eh.h40 unsigned char prot_op; member
/linux/drivers/scsi/
H A Dscsi_error.c1112 ses->prot_op = scmd->prot_op; in scsi_eh_prep_cmnd()
1115 scmd->prot_op = SCSI_PROT_NORMAL; in scsi_eh_prep_cmnd()
1192 scmd->prot_op = ses->prot_op; in scsi_eh_restore_cmnd()
/linux/drivers/target/
H A Dtarget_core_transport.c460 enum target_prot_op prot_op, in target_setup_session() argument
477 sess = transport_init_session_tags(tag_num, tag_size, prot_op); in target_setup_session()
479 sess = transport_alloc_session(prot_op); in target_setup_session()
2238 switch (cmd->prot_op) { in target_write_prot_action()
2541 switch (cmd->prot_op) { in target_read_prot_action()
2844 if (cmd->prot_op != TARGET_PROT_NORMAL && in transport_generic_new_cmd()
H A Dtarget_core_file.c439 if (cmd->prot_op) { in fd_execute_write_same()
H A Dtarget_core_iblock.c501 if (cmd->prot_op) { in iblock_execute_write_same()
/linux/drivers/scsi/hisi_sas/
H A Dhisi_sas_v3_hw.c1253 unsigned char prot_op = scsi_get_prot_op(scsi_cmnd); in fill_prot_v3_hw() local
1257 switch (prot_op) { in fill_prot_v3_hw()
1286 WARN(1, "prot_op(0x%x) is not valid\n", prot_op); in fill_prot_v3_hw()
1320 unsigned char prot_op; in prep_ssp_v3_hw() local
1335 prot_op = scsi_get_prot_op(scsi_cmnd); in prep_ssp_v3_hw()
1397 if (has_data && (prot_op != SCSI_PROT_NORMAL)) { in prep_ssp_v3_hw()
1415 if (prot_op == SCSI_PROT_WRITE_INSERT || in prep_ssp_v3_hw()
1416 prot_op == SCSI_PROT_READ_INSERT || in prep_ssp_v3_hw()
1417 prot_op == SCSI_PROT_WRITE_PASS || in prep_ssp_v3_hw()
1418 prot_op == SCSI_PROT_READ_PASS) { in prep_ssp_v3_hw()