/Linux-v4.19/include/scsi/ |
D | scsi_cmnd.h | 96 unsigned char prot_type; member 297 scmd->prot_type = type; in scsi_set_prot_type() 302 return scmd->prot_type; in scsi_get_prot_type()
|
/Linux-v4.19/drivers/target/iscsi/ |
D | iscsi_target_tpg.c | 868 u32 prot_type) in iscsit_ta_fabric_prot_type() argument 872 if ((prot_type != 0) && (prot_type != 1) && (prot_type != 3)) { in iscsit_ta_fabric_prot_type() 873 pr_err("Illegal value for fabric_prot_type: %u\n", prot_type); in iscsit_ta_fabric_prot_type() 877 a->fabric_prot_type = prot_type; in iscsit_ta_fabric_prot_type() 879 tpg->tpgt, prot_type); in iscsit_ta_fabric_prot_type()
|
/Linux-v4.19/drivers/target/ |
D | target_core_sbc.c | 644 sbc_set_prot_op_checks(u8 protect, bool fabric_prot, enum target_prot_type prot_type, in sbc_set_prot_op_checks() argument 659 if (prot_type == TARGET_DIF_TYPE1_PROT) in sbc_set_prot_op_checks() 663 if (prot_type == TARGET_DIF_TYPE1_PROT) in sbc_set_prot_op_checks() 682 if (prot_type == TARGET_DIF_TYPE1_PROT) in sbc_set_prot_op_checks() 686 if (prot_type == TARGET_DIF_TYPE1_PROT) in sbc_set_prot_op_checks() 763 cmd->prot_type = pi_prot_type; in sbc_check_prot() 777 __func__, cmd->prot_type, cmd->data_length, cmd->prot_length, in sbc_check_prot() 1286 if (cmd->prot_type == TARGET_DIF_TYPE1_PROT) in sbc_dif_generate() 1327 if (cmd->prot_type == TARGET_DIF_TYPE1_PROT && in sbc_dif_v1_verify() 1335 if (cmd->prot_type == TARGET_DIF_TYPE2_PROT && in sbc_dif_v1_verify()
|
D | target_core_file.c | 622 if (cmd->prot_type && dev->dev_attrib.pi_prot_type) { in fd_execute_rw_buffered() 633 if (ret > 0 && cmd->prot_type && dev->dev_attrib.pi_prot_type && in fd_execute_rw_buffered() 644 if (cmd->prot_type && dev->dev_attrib.pi_prot_type && in fd_execute_rw_buffered() 675 if (ret > 0 && cmd->prot_type && dev->dev_attrib.pi_prot_type) { in fd_execute_rw_buffered()
|
D | target_core_rd.c | 466 if (cmd->prot_type && se_dev->dev_attrib.pi_prot_type && in rd_execute_rw() 534 if (cmd->prot_type && se_dev->dev_attrib.pi_prot_type && in rd_execute_rw()
|
D | target_core_iblock.c | 764 if (cmd->prot_type && dev->dev_attrib.pi_prot_type) { in iblock_execute_rw()
|
/Linux-v4.19/arch/s390/kvm/ |
D | gaccess.c | 485 enum prot_type { enum 494 u8 ar, enum gacc_mode mode, enum prot_type prot) in trans_exc() 616 enum gacc_mode mode, enum prot_type *prot) in guest_translate() 803 enum prot_type prot; in guest_page_range() 908 enum prot_type prot; in guest_translate_address()
|
/Linux-v4.19/drivers/scsi/isci/ |
D | request.c | 425 u8 prot_type = scsi_get_prot_type(scmd); in scu_ssp_io_request_construct_task_context() local 450 if (prot_type != SCSI_PROT_DIF_TYPE0) { 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() 454 scu_ssp_ireq_dif_insert(ireq, prot_type, prot_op); in scu_ssp_io_request_construct_task_context()
|
/Linux-v4.19/include/target/ |
D | target_core_base.h | 521 enum target_prot_type prot_type; member
|
/Linux-v4.19/drivers/scsi/qla2xxx/ |
D | qla_target.c | 2873 if ((se_cmd->prot_type == TARGET_DIF_TYPE1_PROT) || in qla_tgt_set_dif_tags() 2874 (se_cmd->prot_type == TARGET_DIF_TYPE2_PROT)) in qla_tgt_set_dif_tags() 2876 else if (se_cmd->prot_type == TARGET_DIF_TYPE3_PROT) in qla_tgt_set_dif_tags() 2882 switch (se_cmd->prot_type) { in qla_tgt_set_dif_tags() 3001 if ((se_cmd->prot_type == TARGET_DIF_TYPE1_PROT) || in qlt_build_ctio_crc2_pkt() 3002 (se_cmd->prot_type == TARGET_DIF_TYPE2_PROT)) in qlt_build_ctio_crc2_pkt() 3004 else if (se_cmd->prot_type == TARGET_DIF_TYPE3_PROT) in qlt_build_ctio_crc2_pkt()
|
/Linux-v4.19/drivers/scsi/csiostor/ |
D | csio_hw.c | 4313 uint32_t adap_type, prot_type; in csio_hw_set_description() local 4316 prot_type = (dev_id & CSIO_ASIC_DEVID_PROTO_MASK); in csio_hw_set_description() 4319 if (prot_type == CSIO_T5_FCOE_ASIC) { in csio_hw_set_description()
|
/Linux-v4.19/drivers/infiniband/ulp/isert/ |
D | ib_isert.c | 2085 if (se_cmd->prot_type == TARGET_DIF_TYPE1_PROT || in isert_set_dif_domain() 2086 se_cmd->prot_type == TARGET_DIF_TYPE2_PROT) in isert_set_dif_domain()
|
/Linux-v4.19/drivers/s390/net/ |
D | qeth_core_main.c | 2359 u8 prot_type = qeth_mpc_select_prot_type(card); in qeth_ulp_enable() local 2371 memcpy(QETH_ULP_ENABLE_PROT_TYPE(iob->data), &prot_type, 1); in qeth_ulp_enable() 2923 u8 prot_type = qeth_mpc_select_prot_type(card); in qeth_prepare_ipa_cmd() local 2926 memcpy(QETH_IPA_CMD_PROT_TYPE(iob->data), &prot_type, 1); in qeth_prepare_ipa_cmd()
|
/Linux-v4.19/drivers/scsi/mpt3sas/ |
D | mpt3sas_scsih.c | 4501 unsigned char prot_type = scsi_get_prot_type(scmd); in _scsih_setup_eedp() local 4505 if (prot_type == SCSI_PROT_DIF_TYPE0 || prot_op == SCSI_PROT_NORMAL) in _scsih_setup_eedp() 4515 switch (prot_type) { in _scsih_setup_eedp()
|