Home
last modified time | relevance | path

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

/linux-4.4.14/include/trace/events/
Dscsi.h216 __field( unsigned char, prot_op )
229 __entry->prot_op = scsi_get_prot_op(cmd);
237 show_prot_op_name(__entry->prot_op),
259 __field( unsigned char, prot_op )
273 __entry->prot_op = scsi_get_prot_op(cmd);
281 show_prot_op_name(__entry->prot_op),
304 __field( unsigned char, prot_op )
318 __entry->prot_op = scsi_get_prot_op(cmd);
327 show_prot_op_name(__entry->prot_op),
/linux-4.4.14/include/scsi/
Dscsi_cmnd.h86 unsigned char prot_op; member
253 scmd->prot_op = op; in scsi_set_prot_op()
258 return scmd->prot_op; in scsi_get_prot_op()
Dscsi_eh.h36 unsigned char prot_op; member
/linux-4.4.14/drivers/scsi/
Dsd.h200 static inline unsigned int sd_prot_flag_mask(unsigned int prot_op) in sd_prot_flag_mask() argument
234 return flag_mask[prot_op]; in sd_prot_flag_mask()
Dscsi_error.c934 ses->prot_op = scmd->prot_op; in scsi_eh_prep_cmnd()
936 scmd->prot_op = SCSI_PROT_NORMAL; in scsi_eh_prep_cmnd()
997 scmd->prot_op = ses->prot_op; in scsi_eh_restore_cmnd()
Dsd.c600 unsigned int prot_op = sd_prot_op(rq_data_dir(scmd->request), dix, dif); in sd_setup_protect_cmnd() local
627 scsi_set_prot_op(scmd, prot_op); in sd_setup_protect_cmnd()
629 scmd->prot_flags &= sd_prot_flag_mask(prot_op); in sd_setup_protect_cmnd()
Dscsi_lib.c1216 cmd->prot_op = SCSI_PROT_NORMAL; in scsi_get_cmd_from_req()
1918 cmd->prot_op = SCSI_PROT_NORMAL; in scsi_mq_prep_fn()
/linux-4.4.14/drivers/target/
Dtarget_core_sbc.c660 cmd->prot_op = fabric_prot ? TARGET_PROT_DOUT_STRIP : in sbc_set_prot_op_checks()
686 cmd->prot_op = fabric_prot ? TARGET_PROT_DIN_INSERT : in sbc_set_prot_op_checks()
790 cmd->prot_op, cmd->prot_checks); in sbc_check_prot()
Dtarget_core_transport.c1776 switch (cmd->prot_op) { in target_write_prot_action()
2006 switch (cmd->prot_op) { in target_read_prot_action()
2334 if (cmd->prot_op != TARGET_PROT_NORMAL && in transport_generic_new_cmd()
Dtarget_core_file.c372 if (cmd->prot_op) { in fd_execute_write_same()
Dtarget_core_iblock.c427 if (cmd->prot_op) { in iblock_execute_write_same()
/linux-4.4.14/drivers/scsi/qla2xxx/
Dqla_target.c1616 if (cmd->se_cmd.prot_op == TARGET_PROT_NORMAL) { in qlt_pci_map_calc_cnt()
1627 if ((cmd->se_cmd.prot_op == TARGET_PROT_DIN_INSERT) || in qlt_pci_map_calc_cnt()
1628 (cmd->se_cmd.prot_op == TARGET_PROT_DOUT_STRIP)) { in qlt_pci_map_calc_cnt()
1642 if ((cmd->se_cmd.prot_op == TARGET_PROT_DIN_INSERT) || in qlt_pci_map_calc_cnt()
1643 (cmd->se_cmd.prot_op == TARGET_PROT_DOUT_STRIP)) { in qlt_pci_map_calc_cnt()
2161 switch (se_cmd->prot_op) { in qlt_hba_err_chk_enabled()
2285 vha->vp_idx, __func__, se_cmd, se_cmd->prot_op, in qlt_build_ctio_crc2_pkt()
2288 if ((se_cmd->prot_op == TARGET_PROT_DIN_INSERT) || in qlt_build_ctio_crc2_pkt()
2289 (se_cmd->prot_op == TARGET_PROT_DOUT_STRIP)) in qlt_build_ctio_crc2_pkt()
2296 switch (se_cmd->prot_op) { in qlt_build_ctio_crc2_pkt()
[all …]
/linux-4.4.14/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()
/linux-4.4.14/drivers/infiniband/ulp/isert/
Dib_isert.c75 cmd->prot_op != TARGET_PROT_NORMAL); in isert_prot_cmd()
2615 switch (se_cmd->prot_op) { in isert_set_sig_attrs()
2632 isert_err("Unsupported PI operation %d\n", se_cmd->prot_op); in isert_set_sig_attrs()
2697 if (se_cmd->prot_op != TARGET_PROT_DIN_STRIP && in isert_reg_sig_mr()
2698 se_cmd->prot_op != TARGET_PROT_DOUT_INSERT) in isert_reg_sig_mr()
/linux-4.4.14/include/target/
Dtarget_core_base.h522 enum target_prot_op prot_op; member
/linux-4.4.14/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c3751 unsigned char prot_op = scsi_get_prot_op(scmd); in _scsih_setup_eedp() local
3756 if (prot_type == SCSI_PROT_DIF_TYPE0 || prot_op == SCSI_PROT_NORMAL) in _scsih_setup_eedp()
3759 if (prot_op == SCSI_PROT_READ_STRIP) in _scsih_setup_eedp()
3761 else if (prot_op == SCSI_PROT_WRITE_INSERT) in _scsih_setup_eedp()