Home
last modified time | relevance | path

Searched refs:prot_op (Results 1 - 25 of 34) sorted by relevance

12

/kernel/linux/linux-5.10/include/trace/events/
H A Dscsi.h215 __field( unsigned char, prot_op )
228 __entry->prot_op = scsi_get_prot_op(cmd);
233 " prot_op=%s cmnd=(%s %s raw=%s)",
236 show_prot_op_name(__entry->prot_op),
258 __field( unsigned char, prot_op )
272 __entry->prot_op = scsi_get_prot_op(cmd);
277 " prot_op=%s cmnd=(%s %s raw=%s) rtn=%d",
280 show_prot_op_name(__entry->prot_op),
303 __field( unsigned char, prot_op )
317 __entry->prot_op
[all...]
/kernel/linux/linux-6.6/include/trace/events/
H A Dscsi.h173 __field( unsigned char, prot_op )
188 __entry->prot_op = scsi_get_prot_op(cmd);
193 " prot_op=%s driver_tag=%d scheduler_tag=%d cmnd=(%s %s raw=%s)",
196 show_prot_op_name(__entry->prot_op), __entry->driver_tag,
220 __field( unsigned char, prot_op )
236 __entry->prot_op = scsi_get_prot_op(cmd);
241 " prot_op=%s driver_tag=%d scheduler_tag=%d cmnd=(%s %s raw=%s)" \
245 show_prot_op_name(__entry->prot_op), __entry->driver_tag,
270 __field( unsigned char, prot_op )
291 __entry->prot_op
[all...]
/kernel/linux/linux-5.10/include/scsi/
H A Dscsi_cmnd.h88 unsigned char prot_op; member
250 scmd->prot_op = op; in scsi_set_prot_op()
255 return scmd->prot_op; in scsi_get_prot_op()
H A Dscsi_eh.h40 unsigned char prot_op; member
/kernel/linux/linux-6.6/include/scsi/
H A Dscsi_cmnd.h95 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 Dscsi_eh.h40 unsigned char prot_op; member
/kernel/linux/linux-5.10/include/target/
H A Dtarget_core_fabric.h129 unsigned int, unsigned int, enum target_prot_op prot_op,
H A Dtarget_core_base.h534 enum target_prot_op prot_op; member
/kernel/linux/linux-6.6/include/target/
H A Dtarget_core_fabric.h130 unsigned int, unsigned int, enum target_prot_op prot_op,
H A Dtarget_core_base.h542 enum target_prot_op prot_op; member
/kernel/linux/linux-5.10/drivers/scsi/hisi_sas/
H A Dhisi_sas_v3_hw.c1148 unsigned char prot_op = scsi_get_prot_op(scsi_cmnd); in fill_prot_v3_hw() local
1152 switch (prot_op) { in fill_prot_v3_hw()
1181 WARN(1, "prot_op(0x%x) is not valid\n", prot_op); in fill_prot_v3_hw()
1215 unsigned char prot_op; in prep_ssp_v3_hw() local
1230 prot_op = scsi_get_prot_op(scsi_cmnd); in prep_ssp_v3_hw()
1291 if (has_data && (prot_op != SCSI_PROT_NORMAL)) { in prep_ssp_v3_hw()
1309 if (prot_op == SCSI_PROT_WRITE_INSERT || in prep_ssp_v3_hw()
1310 prot_op == SCSI_PROT_READ_INSERT || in prep_ssp_v3_hw()
1311 prot_op in prep_ssp_v3_hw()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
H A 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()
3029 "qla_target(%d):%s: se_cmd[%p] CRC2 prot_op[ in qlt_build_ctio_crc2_pkt()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/
H A Dqla_target.c139 static const char *prot_op_str(u32 prot_op) in prot_op_str() argument
141 switch (prot_op) { in prot_op_str()
2434 if (cmd->se_cmd.prot_op == TARGET_PROT_NORMAL) { in qlt_pci_map_calc_cnt()
2445 if ((cmd->se_cmd.prot_op == TARGET_PROT_DIN_INSERT) || in qlt_pci_map_calc_cnt()
2446 (cmd->se_cmd.prot_op == TARGET_PROT_DOUT_STRIP)) { in qlt_pci_map_calc_cnt()
2460 if ((cmd->se_cmd.prot_op == TARGET_PROT_DIN_INSERT) || in qlt_pci_map_calc_cnt()
2461 (cmd->se_cmd.prot_op == TARGET_PROT_DOUT_STRIP)) { in qlt_pci_map_calc_cnt()
2907 switch (se_cmd->prot_op) { in qlt_hba_err_chk_enabled()
2930 switch (se_cmd->prot_op) { in qla_tgt_ref_mask_check()
3061 "qla_target(%d):%s: se_cmd[%p] CRC2 prot_op[ in qlt_build_ctio_crc2_pkt()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/
H A Dscsi_error.c973 ses->prot_op = scmd->prot_op; in scsi_eh_prep_cmnd()
976 scmd->prot_op = SCSI_PROT_NORMAL; in scsi_eh_prep_cmnd()
1037 scmd->prot_op = ses->prot_op; in scsi_eh_restore_cmnd()
H A 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()
/kernel/linux/linux-6.6/drivers/scsi/
H A Dscsi_error.c1056 ses->prot_op = scmd->prot_op; in scsi_eh_prep_cmnd()
1059 scmd->prot_op = SCSI_PROT_NORMAL; in scsi_eh_prep_cmnd()
1120 scmd->prot_op = ses->prot_op; in scsi_eh_restore_cmnd()
H A Dsd.c747 static unsigned int sd_prot_flag_mask(unsigned int prot_op) in sd_prot_flag_mask() argument
781 return flag_mask[prot_op]; in sd_prot_flag_mask()
789 unsigned int prot_op = sd_prot_op(rq_data_dir(rq), dix, dif); in sd_setup_protect_cmnd() local
816 scsi_set_prot_op(scmd, prot_op); in sd_setup_protect_cmnd()
818 scmd->prot_flags &= sd_prot_flag_mask(prot_op); in sd_setup_protect_cmnd()
/kernel/linux/linux-5.10/drivers/target/
H A Dtarget_core_transport.c424 enum target_prot_op prot_op, in target_setup_session()
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()
2025 switch (cmd->prot_op) { in target_write_prot_action()
2325 switch (cmd->prot_op) { in target_read_prot_action()
2625 if (cmd->prot_op != TARGET_PROT_NORMAL && in transport_generic_new_cmd()
422 target_setup_session(struct se_portal_group *tpg, unsigned int tag_num, unsigned int tag_size, enum target_prot_op prot_op, const char *initiatorname, void *private, int (*callback)(struct se_portal_group *, struct se_session *, void *)) target_setup_session() argument
H A 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()
759 "prot_op=%d prot_checks=%d\n", in sbc_check_prot()
761 cmd->prot_op, cmd->prot_checks); in sbc_check_prot()
/kernel/linux/linux-6.6/drivers/target/
H A Dtarget_core_transport.c460 enum target_prot_op prot_op, in target_setup_session()
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()
2184 switch (cmd->prot_op) { in target_write_prot_action()
2484 switch (cmd->prot_op) { in target_read_prot_action()
2784 if (cmd->prot_op != TARGET_PROT_NORMAL && in transport_generic_new_cmd()
458 target_setup_session(struct se_portal_group *tpg, unsigned int tag_num, unsigned int tag_size, enum target_prot_op prot_op, const char *initiatorname, void *private, int (*callback)(struct se_portal_group *, struct se_session *, void *)) target_setup_session() argument
H A Dtarget_core_sbc.c610 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()
737 "prot_op=%d prot_checks=%d\n", in sbc_check_prot()
739 cmd->prot_op, cmd->prot_checks); in sbc_check_prot()
/kernel/linux/linux-6.6/drivers/scsi/hisi_sas/
H A Dhisi_sas_v3_hw.c1203 unsigned char prot_op = scsi_get_prot_op(scsi_cmnd); in fill_prot_v3_hw() local
1207 switch (prot_op) { in fill_prot_v3_hw()
1236 WARN(1, "prot_op(0x%x) is not valid\n", prot_op); in fill_prot_v3_hw()
1270 unsigned char prot_op; in prep_ssp_v3_hw() local
1285 prot_op = scsi_get_prot_op(scsi_cmnd); in prep_ssp_v3_hw()
1346 if (has_data && (prot_op != SCSI_PROT_NORMAL)) { in prep_ssp_v3_hw()
1364 if (prot_op == SCSI_PROT_WRITE_INSERT || in prep_ssp_v3_hw()
1365 prot_op == SCSI_PROT_READ_INSERT || in prep_ssp_v3_hw()
1366 prot_op in prep_ssp_v3_hw()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/isci/
H A 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-6.6/drivers/scsi/isci/
H A Drequest.c421 u8 prot_op = scsi_get_prot_op(scmd); in scu_ssp_io_request_construct_task_context() local
446 if (prot_op == SCSI_PROT_READ_STRIP) 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()
448 else if (prot_op == SCSI_PROT_WRITE_INSERT) 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/drivers/infiniband/ulp/isert/
H A Dib_isert.c79 cmd->prot_op != TARGET_PROT_NORMAL); in isert_prot_cmd()
2007 switch (se_cmd->prot_op) { in isert_set_sig_attrs()
2024 isert_err("Unsupported PI operation %d\n", se_cmd->prot_op); in isert_set_sig_attrs()

Completed in 68 milliseconds

12