Home
last modified time | relevance | path

Searched refs:prot_op (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/include/trace/events/
Dscsi.h215 __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),
/kernel/linux/linux-5.10/include/scsi/
Dscsi_cmnd.h88 unsigned char prot_op; member
244 scmd->prot_op = op; in scsi_set_prot_op()
249 return scmd->prot_op; in scsi_get_prot_op()
Dscsi_eh.h40 unsigned char prot_op; member
/kernel/linux/linux-5.10/include/target/
Dtarget_core_fabric.h129 unsigned int, unsigned int, enum target_prot_op prot_op,
Dtarget_core_base.h534 enum target_prot_op prot_op; member
/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_error.c972 ses->prot_op = scmd->prot_op; in scsi_eh_prep_cmnd()
975 scmd->prot_op = SCSI_PROT_NORMAL; in scsi_eh_prep_cmnd()
1036 scmd->prot_op = ses->prot_op; in scsi_eh_restore_cmnd()
Dsd.c744 static unsigned int sd_prot_flag_mask(unsigned int prot_op) in sd_prot_flag_mask() argument
778 return flag_mask[prot_op]; in sd_prot_flag_mask()
785 unsigned int prot_op = sd_prot_op(rq_data_dir(scmd->request), dix, dif); in sd_setup_protect_cmnd() local
812 scsi_set_prot_op(scmd, prot_op); in sd_setup_protect_cmnd()
814 scmd->prot_flags &= sd_prot_flag_mask(prot_op); in sd_setup_protect_cmnd()
Dscsi_lib.c1558 cmd->prot_op = SCSI_PROT_NORMAL; in scsi_prepare_cmd()
/kernel/linux/linux-5.10/drivers/scsi/hisi_sas/
Dhisi_sas_v3_hw.c1143 unsigned char prot_op = scsi_get_prot_op(scsi_cmnd); in fill_prot_v3_hw() local
1147 switch (prot_op) { in fill_prot_v3_hw()
1176 WARN(1, "prot_op(0x%x) is not valid\n", prot_op); in fill_prot_v3_hw()
1210 unsigned char prot_op; in prep_ssp_v3_hw() local
1225 prot_op = scsi_get_prot_op(scsi_cmnd); in prep_ssp_v3_hw()
1286 if (has_data && (prot_op != SCSI_PROT_NORMAL)) { in prep_ssp_v3_hw()
1304 if (prot_op == SCSI_PROT_WRITE_INSERT || in prep_ssp_v3_hw()
1305 prot_op == SCSI_PROT_READ_INSERT || in prep_ssp_v3_hw()
1306 prot_op == SCSI_PROT_WRITE_PASS || in prep_ssp_v3_hw()
1307 prot_op == SCSI_PROT_READ_PASS) { in prep_ssp_v3_hw()
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dqla_target.c146 static const char *prot_op_str(u32 prot_op) in prot_op_str() argument
148 switch (prot_op) { in prot_op_str()
2412 if (cmd->se_cmd.prot_op == TARGET_PROT_NORMAL) { in qlt_pci_map_calc_cnt()
2423 if ((cmd->se_cmd.prot_op == TARGET_PROT_DIN_INSERT) || in qlt_pci_map_calc_cnt()
2424 (cmd->se_cmd.prot_op == TARGET_PROT_DOUT_STRIP)) { in qlt_pci_map_calc_cnt()
2438 if ((cmd->se_cmd.prot_op == TARGET_PROT_DIN_INSERT) || in qlt_pci_map_calc_cnt()
2439 (cmd->se_cmd.prot_op == TARGET_PROT_DOUT_STRIP)) { in qlt_pci_map_calc_cnt()
2875 switch (se_cmd->prot_op) { in qlt_hba_err_chk_enabled()
2898 switch (se_cmd->prot_op) { in qla_tgt_ref_mask_check()
3030 cmd->vp_idx, __func__, se_cmd, se_cmd->prot_op, in qlt_build_ctio_crc2_pkt()
[all …]
/kernel/linux/linux-5.10/drivers/target/
Dtarget_core_transport.c424 enum target_prot_op prot_op, in target_setup_session() argument
436 sess = transport_init_session_tags(tag_num, tag_size, prot_op); in target_setup_session()
438 sess = transport_alloc_session(prot_op); in target_setup_session()
2026 switch (cmd->prot_op) { in target_write_prot_action()
2326 switch (cmd->prot_op) { in target_read_prot_action()
2626 if (cmd->prot_op != TARGET_PROT_NORMAL && in transport_generic_new_cmd()
Dtarget_core_sbc.c632 cmd->prot_op = fabric_prot ? TARGET_PROT_DOUT_STRIP : in sbc_set_prot_op_checks()
658 cmd->prot_op = fabric_prot ? TARGET_PROT_DIN_INSERT : in sbc_set_prot_op_checks()
761 cmd->prot_op, cmd->prot_checks); in sbc_check_prot()
Dtarget_core_iblock.c456 if (cmd->prot_op) { in iblock_execute_write_same()
Dtarget_core_file.c452 if (cmd->prot_op) { in fd_execute_write_same()
/kernel/linux/linux-5.10/drivers/scsi/isci/
Drequest.c426 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()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/isert/
Dib_isert.c79 cmd->prot_op != TARGET_PROT_NORMAL); in isert_prot_cmd()
2003 switch (se_cmd->prot_op) { in isert_set_sig_attrs()
2020 isert_err("Unsupported PI operation %d\n", se_cmd->prot_op); in isert_set_sig_attrs()
/kernel/linux/linux-5.10/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c4851 unsigned char prot_op = scsi_get_prot_op(scmd); in _scsih_setup_eedp() local
4856 if (prot_type == SCSI_PROT_DIF_TYPE0 || prot_op == SCSI_PROT_NORMAL) in _scsih_setup_eedp()
4859 if (prot_op == SCSI_PROT_READ_STRIP) in _scsih_setup_eedp()
4861 else if (prot_op == SCSI_PROT_WRITE_INSERT) in _scsih_setup_eedp()