/kernel/linux/linux-5.10/drivers/target/iscsi/ |
H A D | iscsi_target_tpg.c | 863 u32 prot_type) in iscsit_ta_fabric_prot_type() 867 if ((prot_type != 0) && (prot_type != 1) && (prot_type != 3)) { in iscsit_ta_fabric_prot_type() 868 pr_err("Illegal value for fabric_prot_type: %u\n", prot_type); in iscsit_ta_fabric_prot_type() 872 a->fabric_prot_type = prot_type; in iscsit_ta_fabric_prot_type() 874 tpg->tpgt, prot_type); in iscsit_ta_fabric_prot_type() 861 iscsit_ta_fabric_prot_type( struct iscsi_portal_group *tpg, u32 prot_type) iscsit_ta_fabric_prot_type() argument
|
/kernel/linux/linux-6.6/drivers/target/iscsi/ |
H A D | iscsi_target_tpg.c | 836 u32 prot_type) in iscsit_ta_fabric_prot_type() 840 if ((prot_type != 0) && (prot_type != 1) && (prot_type != 3)) { in iscsit_ta_fabric_prot_type() 841 pr_err("Illegal value for fabric_prot_type: %u\n", prot_type); in iscsit_ta_fabric_prot_type() 845 a->fabric_prot_type = prot_type; in iscsit_ta_fabric_prot_type() 847 tpg->tpgt, prot_type); in iscsit_ta_fabric_prot_type() 834 iscsit_ta_fabric_prot_type( struct iscsi_portal_group *tpg, u32 prot_type) iscsit_ta_fabric_prot_type() argument
|
/kernel/linux/linux-5.10/include/scsi/ |
H A D | scsi_cmnd.h | 89 unsigned char prot_type; member 281 scmd->prot_type = type; in scsi_set_prot_type() 286 return scmd->prot_type; in scsi_get_prot_type()
|
/kernel/linux/linux-6.6/include/scsi/ |
H A D | scsi_cmnd.h | 96 unsigned char prot_type; member 296 scmd->prot_type = type; in scsi_set_prot_type() 301 return scmd->prot_type; in scsi_get_prot_type()
|
/kernel/linux/linux-5.10/drivers/target/ |
H A D | target_core_sbc.c | 628 sbc_set_prot_op_checks(u8 protect, bool fabric_prot, enum target_prot_type prot_type, in sbc_set_prot_op_checks() argument 643 if (prot_type == TARGET_DIF_TYPE1_PROT) in sbc_set_prot_op_checks() 647 if (prot_type == TARGET_DIF_TYPE1_PROT) in sbc_set_prot_op_checks() 666 if (prot_type == TARGET_DIF_TYPE1_PROT) in sbc_set_prot_op_checks() 670 if (prot_type == TARGET_DIF_TYPE1_PROT) in sbc_set_prot_op_checks() 746 cmd->prot_type = pi_prot_type; in sbc_check_prot() 758 pr_debug("%s: prot_type=%d, data_length=%d, prot_length=%d " in sbc_check_prot() 760 __func__, cmd->prot_type, cmd->data_length, cmd->prot_length, in sbc_check_prot() 1269 if (cmd->prot_type == TARGET_DIF_TYPE1_PROT) in sbc_dif_generate() 1310 if (cmd->prot_type in sbc_dif_v1_verify() [all...] |
H A D | target_core_file.c | 609 if (cmd->prot_type && dev->dev_attrib.pi_prot_type) { in fd_execute_rw_buffered() 620 if (ret > 0 && cmd->prot_type && dev->dev_attrib.pi_prot_type && in fd_execute_rw_buffered() 631 if (cmd->prot_type && dev->dev_attrib.pi_prot_type && in fd_execute_rw_buffered() 662 if (ret > 0 && cmd->prot_type && dev->dev_attrib.pi_prot_type) { in fd_execute_rw_buffered()
|
H A D | target_core_iblock.c | 733 if (cmd->prot_type && dev->dev_attrib.pi_prot_type) in iblock_execute_rw() 746 if (cmd->prot_type && dev->dev_attrib.pi_prot_type) { in iblock_execute_rw() 772 if (cmd->prot_type && dev->dev_attrib.pi_prot_type) { in iblock_execute_rw()
|
H A D | target_core_rd.c | 453 if (cmd->prot_type && se_dev->dev_attrib.pi_prot_type && in rd_execute_rw() 521 if (cmd->prot_type && se_dev->dev_attrib.pi_prot_type && in rd_execute_rw()
|
/kernel/linux/linux-6.6/drivers/target/ |
H A D | target_core_sbc.c | 606 sbc_set_prot_op_checks(u8 protect, bool fabric_prot, enum target_prot_type prot_type, in sbc_set_prot_op_checks() argument 621 if (prot_type == TARGET_DIF_TYPE1_PROT) in sbc_set_prot_op_checks() 625 if (prot_type == TARGET_DIF_TYPE1_PROT) in sbc_set_prot_op_checks() 644 if (prot_type == TARGET_DIF_TYPE1_PROT) in sbc_set_prot_op_checks() 648 if (prot_type == TARGET_DIF_TYPE1_PROT) in sbc_set_prot_op_checks() 724 cmd->prot_type = pi_prot_type; in sbc_check_prot() 736 pr_debug("%s: prot_type=%d, data_length=%d, prot_length=%d " in sbc_check_prot() 738 __func__, cmd->prot_type, cmd->data_length, cmd->prot_length, in sbc_check_prot() 1210 if (cmd->prot_type == TARGET_DIF_TYPE1_PROT) in sbc_dif_generate() 1251 if (cmd->prot_type in sbc_dif_v1_verify() [all...] |
H A D | target_core_file.c | 602 if (cmd->prot_type && dev->dev_attrib.pi_prot_type) { in fd_execute_rw_buffered() 613 if (ret > 0 && cmd->prot_type && dev->dev_attrib.pi_prot_type && in fd_execute_rw_buffered() 624 if (cmd->prot_type && dev->dev_attrib.pi_prot_type && in fd_execute_rw_buffered() 655 if (ret > 0 && cmd->prot_type && dev->dev_attrib.pi_prot_type) { in fd_execute_rw_buffered()
|
H A D | target_core_iblock.c | 785 if (cmd->prot_type && dev->dev_attrib.pi_prot_type) in iblock_execute_rw() 797 if (cmd->prot_type && dev->dev_attrib.pi_prot_type) { in iblock_execute_rw() 822 if (cmd->prot_type && dev->dev_attrib.pi_prot_type) { in iblock_execute_rw()
|
H A D | target_core_rd.c | 453 if (cmd->prot_type && se_dev->dev_attrib.pi_prot_type && in rd_execute_rw() 521 if (cmd->prot_type && se_dev->dev_attrib.pi_prot_type && in rd_execute_rw()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
H A D | ice_protocol_type.h | 433 enum ice_protocol_type prot_type; member 440 u16 prot_type; member
|
/kernel/linux/linux-6.6/arch/s390/kvm/ |
H A D | gaccess.c | 486 enum prot_type { enum 497 enum gacc_mode mode, enum prot_type prot, bool terminate) in trans_exc_ending() 567 enum gacc_mode mode, enum prot_type prot) in trans_exc() 634 enum gacc_mode mode, enum prot_type *prot) in guest_translate() 961 enum prot_type prot; in guest_range_to_gpas() 1074 enum prot_type prot; in access_guest_with_key()
|
/kernel/linux/linux-5.10/arch/s390/kvm/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/soc/tegra/cbb/ |
H A D | tegra234-cbb.c | 351 u8 cache_type, prot_type, burst_length, mstr_id, grpsec, vqc, falconsec, beat_size; in print_errlog_err() local 385 prot_type = FIELD_GET(FAB_EM_EL_AXPROT, cbb->mn_attr0); in print_errlog_err() 402 tegra_cbb_print_prot(file, prot_type); in print_errlog_err()
|
/kernel/linux/linux-5.10/drivers/scsi/isci/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/scsi/isci/ |
H A D | request.c | 420 u8 prot_type = scsi_get_prot_type(scmd); in scu_ssp_io_request_construct_task_context() local 445 if (prot_type != SCSI_PROT_DIF_TYPE0) { 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() 449 scu_ssp_ireq_dif_insert(ireq, prot_type, prot_op); in scu_ssp_io_request_construct_task_context()
|
/kernel/linux/linux-5.10/include/target/ |
H A D | target_core_base.h | 535 enum target_prot_type prot_type; member
|
/kernel/linux/linux-6.6/include/target/ |
H A D | target_core_base.h | 543 enum target_prot_type prot_type; member
|
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/ |
H A D | qla_target.c | 2935 if ((se_cmd->prot_type == TARGET_DIF_TYPE1_PROT) || in qla_tgt_set_dif_tags() 2936 (se_cmd->prot_type == TARGET_DIF_TYPE2_PROT)) in qla_tgt_set_dif_tags() 2938 else if (se_cmd->prot_type == TARGET_DIF_TYPE3_PROT) in qla_tgt_set_dif_tags() 2944 switch (se_cmd->prot_type) { in qla_tgt_set_dif_tags() 3063 if ((se_cmd->prot_type == TARGET_DIF_TYPE1_PROT) || in qlt_build_ctio_crc2_pkt() 3064 (se_cmd->prot_type == TARGET_DIF_TYPE2_PROT)) in qlt_build_ctio_crc2_pkt() 3066 else if (se_cmd->prot_type == TARGET_DIF_TYPE3_PROT) in qlt_build_ctio_crc2_pkt()
|
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/ |
H A D | qla_target.c | 2967 if ((se_cmd->prot_type == TARGET_DIF_TYPE1_PROT) || in qla_tgt_set_dif_tags() 2968 (se_cmd->prot_type == TARGET_DIF_TYPE2_PROT)) in qla_tgt_set_dif_tags() 2970 else if (se_cmd->prot_type == TARGET_DIF_TYPE3_PROT) in qla_tgt_set_dif_tags() 2976 switch (se_cmd->prot_type) { in qla_tgt_set_dif_tags() 3095 if ((se_cmd->prot_type == TARGET_DIF_TYPE1_PROT) || in qlt_build_ctio_crc2_pkt() 3096 (se_cmd->prot_type == TARGET_DIF_TYPE2_PROT)) in qlt_build_ctio_crc2_pkt() 3098 else if (se_cmd->prot_type == TARGET_DIF_TYPE3_PROT) in qlt_build_ctio_crc2_pkt()
|
/kernel/linux/linux-5.10/drivers/scsi/csiostor/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/scsi/csiostor/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/isert/ |
H A D | ib_isert.c | 1997 if (se_cmd->prot_type == TARGET_DIF_TYPE1_PROT || in isert_set_dif_domain() 1998 se_cmd->prot_type == TARGET_DIF_TYPE2_PROT) in isert_set_dif_domain()
|