Home
last modified time | relevance | path

Searched refs:sense_reason_t (Results 1 – 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/include/target/
Dtarget_core_backend.h42 sense_reason_t (*parse_cdb)(struct se_cmd *cmd);
63 sense_reason_t (*execute_rw)(struct se_cmd *cmd, struct scatterlist *,
65 sense_reason_t (*execute_sync_cache)(struct se_cmd *cmd);
66 sense_reason_t (*execute_write_same)(struct se_cmd *cmd);
67 sense_reason_t (*execute_unmap)(struct se_cmd *cmd,
80 sense_reason_t spc_parse_cdb(struct se_cmd *cmd, unsigned int *size);
81 sense_reason_t spc_emulate_report_luns(struct se_cmd *cmd);
82 sense_reason_t spc_emulate_inquiry_std(struct se_cmd *, unsigned char *);
83 sense_reason_t spc_emulate_evpd_83(struct se_cmd *, unsigned char *);
85 sense_reason_t sbc_parse_cdb(struct se_cmd *cmd, struct sbc_ops *ops);
[all …]
Dtarget_core_fabric.h154 sense_reason_t transport_lookup_cmd_lun(struct se_cmd *);
155 sense_reason_t target_cmd_init_cdb(struct se_cmd *, unsigned char *);
156 sense_reason_t target_cmd_parse_cdb(struct se_cmd *);
168 sense_reason_t transport_generic_new_cmd(struct se_cmd *);
177 sense_reason_t, int);
190 void transport_generic_request_failure(struct se_cmd *, sense_reason_t);
Dtarget_core_base.h155 typedef unsigned __bitwise sense_reason_t; typedef
158 #define R(x) (__force sense_reason_t )(x)
495 sense_reason_t (*execute_cmd)(struct se_cmd *);
496 sense_reason_t (*transport_complete_callback)(struct se_cmd *, bool, int *);
542 sense_reason_t pi_err;
/kernel/linux/linux-5.10/drivers/target/
Dtarget_core_pr.h62 extern sense_reason_t target_scsi2_reservation_release(struct se_cmd *);
63 extern sense_reason_t target_scsi2_reservation_reserve(struct se_cmd *);
76 extern sense_reason_t target_scsi3_emulate_pr_in(struct se_cmd *);
77 extern sense_reason_t target_scsi3_emulate_pr_out(struct se_cmd *);
78 extern sense_reason_t target_check_reservation(struct se_cmd *);
Dtarget_core_sbc.c27 static sense_reason_t
29 static sense_reason_t sbc_execute_unmap(struct se_cmd *cmd);
31 static sense_reason_t
74 static sense_reason_t
137 static sense_reason_t
192 static sense_reason_t
197 sense_reason_t ret; in sbc_execute_write_same_unmap()
209 static sense_reason_t
281 static sense_reason_t
287 sense_reason_t ret; in sbc_setup_write_same()
[all …]
Dtarget_core_spc.c50 sense_reason_t
118 static sense_reason_t
167 sense_reason_t
437 static sense_reason_t
479 static sense_reason_t
573 static sense_reason_t
586 static sense_reason_t
650 static sense_reason_t
663 static sense_reason_t
668 sense_reason_t (*emulate)(struct se_cmd *, unsigned char *);
[all …]
Dtarget_core_alua.h85 extern sense_reason_t target_emulate_report_target_port_groups(struct se_cmd *);
86 extern sense_reason_t target_emulate_set_target_port_groups(struct se_cmd *);
87 extern sense_reason_t target_emulate_report_referrals(struct se_cmd *);
149 extern sense_reason_t target_alua_state_check(struct se_cmd *cmd);
Dtarget_core_xcopy.h67 extern sense_reason_t target_do_xcopy(struct se_cmd *);
68 extern sense_reason_t target_do_receive_copy_results(struct se_cmd *);
Dtarget_core_xcopy.c34 static sense_reason_t target_parse_xcopy_cmd(struct xcopy_op *xop);
216 unsigned short tdll, sense_reason_t *sense_ret) in target_xcopy_parse_target_descriptors()
350 unsigned int sdll, sense_reason_t *sense_ret) in target_xcopy_parse_segment_descriptors()
577 sense_reason_t sense_rc; in target_xcopy_issue_pt_cmd()
798 static sense_reason_t target_parse_xcopy_cmd(struct xcopy_op *xop) in target_parse_xcopy_cmd()
803 sense_reason_t ret = TCM_INVALID_PARAMETER_LIST; in target_parse_xcopy_cmd()
886 sense_reason_t target_do_xcopy(struct se_cmd *se_cmd) in target_do_xcopy()
929 static sense_reason_t target_rcr_operating_parameters(struct se_cmd *se_cmd) in target_rcr_operating_parameters()
1019 sense_reason_t target_do_receive_copy_results(struct se_cmd *se_cmd) in target_do_receive_copy_results()
1023 sense_reason_t rc = TCM_NO_SENSE; in target_do_receive_copy_results()
Dtarget_core_pr.c86 static sense_reason_t
200 sense_reason_t
241 sense_reason_t
247 sense_reason_t ret = 0; in target_scsi2_reservation_reserve()
562 static sense_reason_t
1475 static sense_reason_t
1496 sense_reason_t ret; in core_scsi3_decode_spec_i_port()
2010 static sense_reason_t core_scsi3_update_and_write_aptpl(struct se_device *dev, bool aptpl) in core_scsi3_update_and_write_aptpl()
2051 static sense_reason_t
2062 sense_reason_t ret = TCM_NO_SENSE; in core_scsi3_emulate_pro_register()
[all …]
Dtarget_core_file.c260 static sense_reason_t
391 static sense_reason_t
436 static sense_reason_t
543 static sense_reason_t
594 static sense_reason_t
602 sense_reason_t rc; in fd_execute_rw_buffered()
678 static sense_reason_t
918 static sense_reason_t
Dtarget_core_rd.c379 static sense_reason_t rd_do_prot_rw(struct se_cmd *cmd, bool is_read) in rd_do_prot_rw()
389 sense_reason_t rc = 0; in rd_do_prot_rw()
416 static sense_reason_t
430 sense_reason_t rc; in rd_execute_rw()
631 static sense_reason_t
Dtarget_core_iblock.c367 static sense_reason_t
391 static sense_reason_t
410 static sense_reason_t
443 static sense_reason_t
679 static sense_reason_t
846 static sense_reason_t
Dtarget_core_transport.c54 static void translate_sense_reason(struct se_cmd *cmd, sense_reason_t reason);
1242 static sense_reason_t
1304 sense_reason_t
1404 static sense_reason_t
1425 sense_reason_t
1428 sense_reason_t ret; in target_cmd_init_cdb()
1478 sense_reason_t
1482 sense_reason_t ret; in target_cmd_parse_cdb()
1510 sense_reason_t ret; in transport_handle_cdb_direct()
1546 sense_reason_t
[all …]
Dtarget_core_ua.h36 extern sense_reason_t target_scsi3_ua_check(struct se_cmd *);
Dtarget_core_pscsi.c44 static sense_reason_t pscsi_execute_cmd(struct se_cmd *cmd);
846 static sense_reason_t
954 static sense_reason_t
963 static sense_reason_t
971 sense_reason_t ret; in pscsi_execute_cmd()
Dtarget_core_alua.c32 static sense_reason_t core_alua_check_transition(int state, int valid,
55 sense_reason_t
135 sense_reason_t
267 sense_reason_t
276 sense_reason_t rc = TCM_NO_SENSE; in target_emulate_set_target_port_groups()
669 sense_reason_t
750 static sense_reason_t
Dtarget_core_device.c47 sense_reason_t
54 sense_reason_t ret = TCM_NO_SENSE; in transport_lookup_cmd_lun()
1070 sense_reason_t
1072 sense_reason_t (*exec_cmd)(struct se_cmd *cmd)) in passthrough_parse_cdb()
Dtarget_core_internal.h151 sense_reason_t target_cmd_size_check(struct se_cmd *cmd, unsigned int size);
Dtarget_core_ua.c25 sense_reason_t
Dtarget_core_user.c986 static int queue_cmd_ring(struct tcmu_cmd *tcmu_cmd, sense_reason_t *scsi_err) in queue_cmd_ring()
1175 static sense_reason_t
1181 sense_reason_t scsi_ret = TCM_CHECK_CONDITION_ABORT_CMD; in tcmu_queue_cmd()
1587 sense_reason_t scsi_ret; in run_qfull_queue()
2433 static sense_reason_t
/kernel/linux/linux-5.10/include/target/iscsi/
Discsi_target_core.h500 sense_reason_t sense_reason;