| /linux/include/trace/events/ |
| A D | scsi.h | 174 __field( unsigned char, prot_op ) 189 __entry->prot_op = scsi_get_prot_op(cmd); 197 show_prot_op_name(__entry->prot_op), __entry->driver_tag, 221 __field( unsigned char, prot_op ) 237 __entry->prot_op = scsi_get_prot_op(cmd); 246 show_prot_op_name(__entry->prot_op), __entry->driver_tag, 271 __field( unsigned char, prot_op ) 292 __entry->prot_op = scsi_get_prot_op(cmd); 312 show_prot_op_name(__entry->prot_op), __entry->driver_tag,
|
| /linux/include/scsi/ |
| A D | scsi_cmnd.h | 95 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()
|
| A D | scsi_eh.h | 40 unsigned char prot_op; member
|
| /linux/include/target/ |
| A D | target_core_fabric.h | 139 unsigned int, unsigned int, enum target_prot_op prot_op,
|
| A D | target_core_base.h | 551 enum target_prot_op prot_op; member
|
| /linux/drivers/scsi/qla2xxx/ |
| A D | qla_target.c | 139 static const char *prot_op_str(u32 prot_op) in prot_op_str() argument 141 switch (prot_op) { in prot_op_str() 2917 switch (se_cmd->prot_op) { in qlt_hba_err_chk_enabled() 2940 switch (se_cmd->prot_op) { in qla_tgt_ref_mask_check() 3083 switch (se_cmd->prot_op) { in qlt_build_ctio_crc2_pkt() 3112 switch (se_cmd->prot_op) { in qlt_build_ctio_crc2_pkt() 3453 if (cmd->se_cmd.prot_op) in qlt_rdy_to_xfer() 3467 if (cmd->se_cmd.prot_op == TARGET_PROT_NORMAL) in qlt_rdy_to_xfer() 3879 if (cmd->se_cmd.prot_op) in qlt_term_ctio_exchange() 3886 cmd->se_cmd.prot_op, in qlt_term_ctio_exchange() [all …]
|
| /linux/drivers/scsi/ |
| A D | scsi_error.c | 1057 ses->prot_op = scmd->prot_op; in scsi_eh_prep_cmnd() 1060 scmd->prot_op = SCSI_PROT_NORMAL; in scsi_eh_prep_cmnd() 1121 scmd->prot_op = ses->prot_op; in scsi_eh_restore_cmnd()
|
| A D | sd.c | 768 static unsigned int sd_prot_flag_mask(unsigned int prot_op) in sd_prot_flag_mask() argument 802 return flag_mask[prot_op]; in sd_prot_flag_mask() 810 unsigned int prot_op = sd_prot_op(rq_data_dir(rq), dix, dif); in sd_setup_protect_cmnd() local 837 scsi_set_prot_op(scmd, prot_op); in sd_setup_protect_cmnd() 839 scmd->prot_flags &= sd_prot_flag_mask(prot_op); in sd_setup_protect_cmnd()
|
| A D | scsi_lib.c | 1658 cmd->prot_op = SCSI_PROT_NORMAL; in scsi_prepare_cmd()
|
| /linux/drivers/target/ |
| A D | target_core_sbc.c | 610 cmd->prot_op = fabric_prot ? TARGET_PROT_DOUT_STRIP : in sbc_set_prot_op_checks() 636 cmd->prot_op = fabric_prot ? TARGET_PROT_DIN_INSERT : in sbc_set_prot_op_checks() 739 cmd->prot_op, cmd->prot_checks); in sbc_check_prot()
|
| A D | target_core_transport.c | 460 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() 2186 switch (cmd->prot_op) { in target_write_prot_action() 2486 switch (cmd->prot_op) { in target_read_prot_action() 2786 if (cmd->prot_op != TARGET_PROT_NORMAL && in transport_generic_new_cmd()
|
| A D | target_core_file.c | 439 if (cmd->prot_op) { in fd_execute_write_same()
|
| A D | target_core_iblock.c | 507 if (cmd->prot_op) { in iblock_execute_write_same()
|
| /linux/drivers/scsi/hisi_sas/ |
| A D | hisi_sas_v3_hw.c | 1202 unsigned char prot_op = scsi_get_prot_op(scsi_cmnd); in fill_prot_v3_hw() local 1206 switch (prot_op) { in fill_prot_v3_hw() 1235 WARN(1, "prot_op(0x%x) is not valid\n", prot_op); in fill_prot_v3_hw() 1269 unsigned char prot_op; in prep_ssp_v3_hw() local 1284 prot_op = scsi_get_prot_op(scsi_cmnd); in prep_ssp_v3_hw() 1345 if (has_data && (prot_op != SCSI_PROT_NORMAL)) { in prep_ssp_v3_hw() 1363 if (prot_op == SCSI_PROT_WRITE_INSERT || in prep_ssp_v3_hw() 1364 prot_op == SCSI_PROT_READ_INSERT || in prep_ssp_v3_hw() 1365 prot_op == SCSI_PROT_WRITE_PASS || in prep_ssp_v3_hw() 1366 prot_op == SCSI_PROT_READ_PASS) { in prep_ssp_v3_hw()
|
| /linux/drivers/scsi/isci/ |
| A D | request.c | 421 u8 prot_op = scsi_get_prot_op(scmd); in scu_ssp_io_request_construct_task_context() local 446 if (prot_op == SCSI_PROT_READ_STRIP) in scu_ssp_io_request_construct_task_context() 447 scu_ssp_ireq_dif_strip(ireq, prot_type, prot_op); in scu_ssp_io_request_construct_task_context() 448 else if (prot_op == SCSI_PROT_WRITE_INSERT) in scu_ssp_io_request_construct_task_context() 449 scu_ssp_ireq_dif_insert(ireq, prot_type, prot_op); in scu_ssp_io_request_construct_task_context()
|
| /linux/drivers/infiniband/ulp/isert/ |
| A D | ib_isert.c | 79 cmd->prot_op != TARGET_PROT_NORMAL); in isert_prot_cmd() 2004 switch (se_cmd->prot_op) { in isert_set_sig_attrs() 2021 isert_err("Unsupported PI operation %d\n", se_cmd->prot_op); in isert_set_sig_attrs()
|
| /linux/drivers/scsi/mpi3mr/ |
| A D | mpi3mr_os.c | 3076 unsigned char prot_op = scsi_get_prot_op(scmd); in mpi3mr_setup_eedp() local 3078 switch (prot_op) { in mpi3mr_setup_eedp()
|