Searched refs:prot_op (Results 1 – 14 of 14) sorted by relevance
| /linux/include/scsi/ |
| H 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()
|
| H A D | scsi_eh.h | 40 unsigned char prot_op; member
|
| /linux/include/target/ |
| H A D | target_core_fabric.h | 139 unsigned int, unsigned int, enum target_prot_op prot_op,
|
| H A D | target_core_base.h | 557 enum target_prot_op prot_op; 553 enum target_prot_op prot_op; global() member
|
| /linux/drivers/scsi/ |
| H A D | scsi_error.c | 1092 ses->prot_op = scmd->prot_op; in scsi_eh_prep_cmnd() 1095 scmd->prot_op = SCSI_PROT_NORMAL; in scsi_eh_prep_cmnd() 1172 scmd->prot_op = ses->prot_op; in scsi_eh_restore_cmnd()
|
| H A D | sd.c | 855 static unsigned int sd_prot_flag_mask(unsigned int prot_op) in sd_prot_flag_mask() argument 889 return flag_mask[prot_op]; in sd_prot_flag_mask() 897 unsigned int prot_op = sd_prot_op(rq_data_dir(rq), dix, dif); in sd_setup_protect_cmnd() local 924 scsi_set_prot_op(scmd, prot_op); in sd_setup_protect_cmnd() 926 scmd->prot_flags &= sd_prot_flag_mask(prot_op); in sd_setup_protect_cmnd()
|
| H A D | scsi_lib.c | 1696 cmd->prot_op = SCSI_PROT_NORMAL; in scsi_prepare_cmd()
|
| /linux/drivers/target/ |
| H 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()
|
| H 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() 2192 switch (cmd->prot_op) { in target_write_prot_action() 2495 switch (cmd->prot_op) { in target_read_prot_action() 2798 if (cmd->prot_op != TARGET_PROT_NORMAL && in transport_generic_new_cmd()
|
| H A D | target_core_file.c | 439 if (cmd->prot_op) { in fd_execute_write_same()
|
| H A D | target_core_iblock.c | 501 if (cmd->prot_op) { in iblock_execute_write_same()
|
| /linux/drivers/scsi/qla2xxx/ |
| H A D | qla_target.c | 2393 if (cmd->se_cmd.prot_op == TARGET_PROT_NORMAL) { in qlt_pci_map_calc_cnt() 2404 if ((cmd->se_cmd.prot_op == TARGET_PROT_DIN_INSERT) || in qlt_pci_map_calc_cnt() 2405 (cmd->se_cmd.prot_op == TARGET_PROT_DOUT_STRIP)) { in qlt_pci_map_calc_cnt() 2419 if ((cmd->se_cmd.prot_op == TARGET_PROT_DIN_INSERT) || in qlt_pci_map_calc_cnt() 2420 (cmd->se_cmd.prot_op == TARGET_PROT_DOUT_STRIP)) { in qlt_pci_map_calc_cnt() 2866 switch (se_cmd->prot_op) { in qlt_hba_err_chk_enabled() 2889 switch (se_cmd->prot_op) { in qla_tgt_ref_mask_check() 3021 cmd->vp_idx, __func__, se_cmd, se_cmd->prot_op, in qlt_build_ctio_crc2_pkt() 3024 if ((se_cmd->prot_op == TARGET_PROT_DIN_INSERT) || in qlt_build_ctio_crc2_pkt() 3025 (se_cmd->prot_op == TARGET_PROT_DOUT_STRIP)) in qlt_build_ctio_crc2_pkt() [all …]
|
| /linux/drivers/infiniband/ulp/isert/ |
| H A D | ib_isert.c | 79 cmd->prot_op != TARGET_PROT_NORMAL); in isert_prot_cmd() 2002 switch (se_cmd->prot_op) { in isert_set_sig_attrs() 2019 isert_err("Unsupported PI operation %d\n", se_cmd->prot_op); in isert_set_sig_attrs()
|
| /linux/drivers/scsi/mpi3mr/ |
| H A D | mpi3mr_os.c | 3217 unsigned char prot_op = scsi_get_prot_op(scmd); in mpi3mr_setup_eedp() local 3219 switch (prot_op) { in mpi3mr_setup_eedp()
|