/linux-5.19.10/include/trace/events/ |
D | scsi.h | 171 __field( unsigned char, prot_op ) 184 __entry->prot_op = scsi_get_prot_op(cmd); 192 show_prot_op_name(__entry->prot_op), 214 __field( unsigned char, prot_op ) 228 __entry->prot_op = scsi_get_prot_op(cmd); 236 show_prot_op_name(__entry->prot_op), 259 __field( unsigned char, prot_op ) 273 __entry->prot_op = scsi_get_prot_op(cmd); 282 show_prot_op_name(__entry->prot_op),
|
/linux-5.19.10/include/scsi/ |
D | scsi_cmnd.h | 89 unsigned char prot_op; member 259 scmd->prot_op = op; in scsi_set_prot_op() 264 return scmd->prot_op; in scsi_get_prot_op()
|
D | scsi_eh.h | 40 unsigned char prot_op; member
|
/linux-5.19.10/include/target/ |
D | target_core_fabric.h | 130 unsigned int, unsigned int, enum target_prot_op prot_op,
|
D | target_core_base.h | 539 enum target_prot_op prot_op; member
|
/linux-5.19.10/drivers/scsi/ |
D | scsi_error.c | 1015 ses->prot_op = scmd->prot_op; in scsi_eh_prep_cmnd() 1018 scmd->prot_op = SCSI_PROT_NORMAL; in scsi_eh_prep_cmnd() 1079 scmd->prot_op = ses->prot_op; in scsi_eh_restore_cmnd()
|
D | sd.c | 706 static unsigned int sd_prot_flag_mask(unsigned int prot_op) in sd_prot_flag_mask() argument 740 return flag_mask[prot_op]; in sd_prot_flag_mask() 748 unsigned int prot_op = sd_prot_op(rq_data_dir(rq), dix, dif); in sd_setup_protect_cmnd() local 775 scsi_set_prot_op(scmd, prot_op); in sd_setup_protect_cmnd() 777 scmd->prot_flags &= sd_prot_flag_mask(prot_op); in sd_setup_protect_cmnd()
|
D | scsi_lib.c | 1578 cmd->prot_op = SCSI_PROT_NORMAL; in scsi_prepare_cmd()
|
/linux-5.19.10/drivers/scsi/qla2xxx/ |
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() 2449 if (cmd->se_cmd.prot_op == TARGET_PROT_NORMAL) { in qlt_pci_map_calc_cnt() 2460 if ((cmd->se_cmd.prot_op == TARGET_PROT_DIN_INSERT) || in qlt_pci_map_calc_cnt() 2461 (cmd->se_cmd.prot_op == TARGET_PROT_DOUT_STRIP)) { in qlt_pci_map_calc_cnt() 2475 if ((cmd->se_cmd.prot_op == TARGET_PROT_DIN_INSERT) || in qlt_pci_map_calc_cnt() 2476 (cmd->se_cmd.prot_op == TARGET_PROT_DOUT_STRIP)) { in qlt_pci_map_calc_cnt() 2922 switch (se_cmd->prot_op) { in qlt_hba_err_chk_enabled() 2945 switch (se_cmd->prot_op) { in qla_tgt_ref_mask_check() 3077 cmd->vp_idx, __func__, se_cmd, se_cmd->prot_op, in qlt_build_ctio_crc2_pkt() [all …]
|
/linux-5.19.10/drivers/target/ |
D | target_core_transport.c | 442 enum target_prot_op prot_op, in target_setup_session() argument 454 sess = transport_init_session_tags(tag_num, tag_size, prot_op); in target_setup_session() 456 sess = transport_alloc_session(prot_op); in target_setup_session() 2150 switch (cmd->prot_op) { in target_write_prot_action() 2450 switch (cmd->prot_op) { in target_read_prot_action() 2750 if (cmd->prot_op != TARGET_PROT_NORMAL && in transport_generic_new_cmd()
|
D | target_core_sbc.c | 669 cmd->prot_op = fabric_prot ? TARGET_PROT_DOUT_STRIP : in sbc_set_prot_op_checks() 695 cmd->prot_op = fabric_prot ? TARGET_PROT_DIN_INSERT : in sbc_set_prot_op_checks() 798 cmd->prot_op, cmd->prot_checks); in sbc_check_prot()
|
D | target_core_iblock.c | 492 if (cmd->prot_op) { in iblock_execute_write_same()
|
D | target_core_file.c | 445 if (cmd->prot_op) { in fd_execute_write_same()
|
/linux-5.19.10/drivers/scsi/hisi_sas/ |
D | hisi_sas_v3_hw.c | 1159 unsigned char prot_op = scsi_get_prot_op(scsi_cmnd); in fill_prot_v3_hw() local 1163 switch (prot_op) { in fill_prot_v3_hw() 1192 WARN(1, "prot_op(0x%x) is not valid\n", prot_op); in fill_prot_v3_hw() 1226 unsigned char prot_op; in prep_ssp_v3_hw() local 1241 prot_op = scsi_get_prot_op(scsi_cmnd); in prep_ssp_v3_hw() 1302 if (has_data && (prot_op != SCSI_PROT_NORMAL)) { in prep_ssp_v3_hw() 1320 if (prot_op == SCSI_PROT_WRITE_INSERT || in prep_ssp_v3_hw() 1321 prot_op == SCSI_PROT_READ_INSERT || in prep_ssp_v3_hw() 1322 prot_op == SCSI_PROT_WRITE_PASS || in prep_ssp_v3_hw() 1323 prot_op == SCSI_PROT_READ_PASS) { in prep_ssp_v3_hw()
|
/linux-5.19.10/drivers/scsi/isci/ |
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-5.19.10/drivers/infiniband/ulp/isert/ |
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-5.19.10/drivers/scsi/mpi3mr/ |
D | mpi3mr_os.c | 2387 unsigned char prot_op = scsi_get_prot_op(scmd); in mpi3mr_setup_eedp() local 2389 switch (prot_op) { in mpi3mr_setup_eedp()
|