/Linux-v4.19/include/trace/events/ |
D | scsi.h | 215 __field( unsigned char, prot_op ) 228 __entry->prot_op = scsi_get_prot_op(cmd); 236 show_prot_op_name(__entry->prot_op), 258 __field( unsigned char, prot_op ) 272 __entry->prot_op = scsi_get_prot_op(cmd); 280 show_prot_op_name(__entry->prot_op), 303 __field( unsigned char, prot_op ) 317 __entry->prot_op = scsi_get_prot_op(cmd); 326 show_prot_op_name(__entry->prot_op),
|
/Linux-v4.19/include/scsi/ |
D | scsi_cmnd.h | 95 unsigned char prot_op; member 266 scmd->prot_op = op; in scsi_set_prot_op() 271 return scmd->prot_op; in scsi_get_prot_op()
|
D | scsi_eh.h | 39 unsigned char prot_op; member
|
/Linux-v4.19/drivers/scsi/ |
D | sd.h | 217 static inline unsigned int sd_prot_flag_mask(unsigned int prot_op) in sd_prot_flag_mask() argument 251 return flag_mask[prot_op]; in sd_prot_flag_mask()
|
D | scsi_error.c | 974 ses->prot_op = scmd->prot_op; in scsi_eh_prep_cmnd() 977 scmd->prot_op = SCSI_PROT_NORMAL; in scsi_eh_prep_cmnd() 1038 scmd->prot_op = ses->prot_op; in scsi_eh_restore_cmnd()
|
D | sd.c | 664 unsigned int prot_op = sd_prot_op(rq_data_dir(scmd->request), dix, dif); in sd_setup_protect_cmnd() local 691 scsi_set_prot_op(scmd, prot_op); in sd_setup_protect_cmnd() 693 scmd->prot_flags &= sd_prot_flag_mask(prot_op); in sd_setup_protect_cmnd()
|
D | scsi_lib.c | 1483 cmd->prot_op = SCSI_PROT_NORMAL; in scsi_prep_fn() 2017 cmd->prot_op = SCSI_PROT_NORMAL; in scsi_mq_prep_fn()
|
/Linux-v4.19/include/target/ |
D | target_core_fabric.h | 113 unsigned int, unsigned int, enum target_prot_op prot_op,
|
D | target_core_base.h | 520 enum target_prot_op prot_op; member
|
/Linux-v4.19/drivers/scsi/qla2xxx/ |
D | qla_target.c | 155 static const char *prot_op_str(u32 prot_op) in prot_op_str() argument 157 switch (prot_op) { in prot_op_str() 2340 if (cmd->se_cmd.prot_op == TARGET_PROT_NORMAL) { in qlt_pci_map_calc_cnt() 2351 if ((cmd->se_cmd.prot_op == TARGET_PROT_DIN_INSERT) || in qlt_pci_map_calc_cnt() 2352 (cmd->se_cmd.prot_op == TARGET_PROT_DOUT_STRIP)) { in qlt_pci_map_calc_cnt() 2366 if ((cmd->se_cmd.prot_op == TARGET_PROT_DIN_INSERT) || in qlt_pci_map_calc_cnt() 2367 (cmd->se_cmd.prot_op == TARGET_PROT_DOUT_STRIP)) { in qlt_pci_map_calc_cnt() 2813 switch (se_cmd->prot_op) { in qlt_hba_err_chk_enabled() 2836 switch (se_cmd->prot_op) { in qla_tgt_ref_mask_check() 2968 cmd->vp_idx, __func__, se_cmd, se_cmd->prot_op, in qlt_build_ctio_crc2_pkt() [all …]
|
/Linux-v4.19/drivers/target/ |
D | target_core_transport.c | 421 enum target_prot_op prot_op, in target_setup_session() argument 433 sess = transport_init_session_tags(tag_num, tag_size, prot_op); in target_setup_session() 435 sess = transport_alloc_session(prot_op); in target_setup_session() 1929 switch (cmd->prot_op) { in target_write_prot_action() 2210 switch (cmd->prot_op) { in target_read_prot_action() 2510 if (cmd->prot_op != TARGET_PROT_NORMAL && in transport_generic_new_cmd()
|
D | target_core_sbc.c | 648 cmd->prot_op = fabric_prot ? TARGET_PROT_DOUT_STRIP : in sbc_set_prot_op_checks() 674 cmd->prot_op = fabric_prot ? TARGET_PROT_DIN_INSERT : in sbc_set_prot_op_checks() 778 cmd->prot_op, cmd->prot_checks); in sbc_check_prot()
|
D | target_core_iblock.c | 469 if (cmd->prot_op) { in iblock_execute_write_same()
|
D | target_core_file.c | 465 if (cmd->prot_op) { in fd_execute_write_same()
|
/Linux-v4.19/drivers/scsi/isci/ |
D | request.c | 426 u8 prot_op = scsi_get_prot_op(scmd); in scu_ssp_io_request_construct_task_context() local 451 if (prot_op == SCSI_PROT_READ_STRIP) in scu_ssp_io_request_construct_task_context() 452 scu_ssp_ireq_dif_strip(ireq, prot_type, prot_op); in scu_ssp_io_request_construct_task_context() 453 else if (prot_op == SCSI_PROT_WRITE_INSERT) in scu_ssp_io_request_construct_task_context() 454 scu_ssp_ireq_dif_insert(ireq, prot_type, prot_op); in scu_ssp_io_request_construct_task_context()
|
/Linux-v4.19/drivers/infiniband/ulp/isert/ |
D | ib_isert.c | 68 cmd->prot_op != TARGET_PROT_NORMAL); in isert_prot_cmd() 2095 switch (se_cmd->prot_op) { in isert_set_sig_attrs() 2112 isert_err("Unsupported PI operation %d\n", se_cmd->prot_op); in isert_set_sig_attrs()
|
/Linux-v4.19/drivers/scsi/mpt3sas/ |
D | mpt3sas_scsih.c | 4500 unsigned char prot_op = scsi_get_prot_op(scmd); in _scsih_setup_eedp() local 4505 if (prot_type == SCSI_PROT_DIF_TYPE0 || prot_op == SCSI_PROT_NORMAL) in _scsih_setup_eedp() 4508 if (prot_op == SCSI_PROT_READ_STRIP) in _scsih_setup_eedp() 4510 else if (prot_op == SCSI_PROT_WRITE_INSERT) in _scsih_setup_eedp()
|