Home
last modified time | relevance | path

Searched refs:iscsi_cmd (Results 1 – 24 of 24) sorted by relevance

/drivers/target/iscsi/
Discsi_target_util.h6 extern int iscsit_add_r2t_to_list(struct iscsi_cmd *, u32, u32, int, u32);
7 extern struct iscsi_r2t *iscsit_get_r2t_for_eos(struct iscsi_cmd *, u32, u32);
8 extern struct iscsi_r2t *iscsit_get_r2t_from_list(struct iscsi_cmd *);
9 extern void iscsit_free_r2t(struct iscsi_r2t *, struct iscsi_cmd *);
10 extern void iscsit_free_r2ts_from_list(struct iscsi_cmd *);
11 extern struct iscsi_cmd *iscsit_alloc_cmd(struct iscsi_conn *, gfp_t);
12 extern struct iscsi_cmd *iscsit_allocate_cmd(struct iscsi_conn *, int);
13 extern struct iscsi_seq *iscsit_get_seq_holder_for_datain(struct iscsi_cmd *, u32);
14 extern struct iscsi_seq *iscsit_get_seq_holder_for_r2t(struct iscsi_cmd *);
15 extern struct iscsi_r2t *iscsit_get_holder_for_r2tsn(struct iscsi_cmd *, u32);
[all …]
Discsi_target_erl1.h6 struct iscsi_cmd *, struct iscsi_datain_req *);
8 struct iscsi_cmd *, struct iscsi_datain_req *);
14 extern int iscsit_dataout_datapduinorder_no_fbit(struct iscsi_cmd *, struct iscsi_pdu *);
15 extern int iscsit_recover_dataout_sequence(struct iscsi_cmd *, u32, u32);
19 extern int iscsit_execute_cmd(struct iscsi_cmd *, int);
20 extern int iscsit_handle_ooo_cmdsn(struct iscsi_session *, struct iscsi_cmd *, u32);
22 extern void iscsit_mod_dataout_timer(struct iscsi_cmd *);
23 extern void iscsit_start_dataout_timer(struct iscsi_cmd *, struct iscsi_conn *);
24 extern void iscsit_stop_dataout_timer(struct iscsi_cmd *);
Discsi_target_datain_values.h5 extern void iscsit_attach_datain_req(struct iscsi_cmd *, struct iscsi_datain_req *);
6 extern void iscsit_free_datain_req(struct iscsi_cmd *, struct iscsi_datain_req *);
7 extern void iscsit_free_all_datain_reqs(struct iscsi_cmd *);
8 extern struct iscsi_datain_req *iscsit_get_datain_req(struct iscsi_cmd *);
9 extern struct iscsi_datain_req *iscsit_get_datain_values(struct iscsi_cmd *,
Discsi_target.h20 extern int iscsit_reject_cmd(struct iscsi_cmd *cmd, u8, unsigned char *);
21 extern void iscsit_set_unsoliticed_dataout(struct iscsi_cmd *);
22 extern int iscsit_logout_closesession(struct iscsi_cmd *, struct iscsi_conn *);
23 extern int iscsit_logout_closeconnection(struct iscsi_cmd *, struct iscsi_conn *);
24 extern int iscsit_logout_removeconnforrecovery(struct iscsi_cmd *, struct iscsi_conn *);
26 extern int iscsit_build_r2ts_for_cmd(struct iscsi_conn *, struct iscsi_cmd *, bool recovery);
Discsi_target_util.c64 struct iscsi_cmd *cmd, in iscsit_add_r2t_to_list()
93 struct iscsi_cmd *cmd, in iscsit_get_r2t_for_eos()
114 struct iscsi_r2t *iscsit_get_r2t_from_list(struct iscsi_cmd *cmd) in iscsit_get_r2t_from_list()
135 void iscsit_free_r2t(struct iscsi_r2t *r2t, struct iscsi_cmd *cmd) in iscsit_free_r2t()
141 void iscsit_free_r2ts_from_list(struct iscsi_cmd *cmd) in iscsit_free_r2ts_from_list()
155 struct iscsi_cmd *iscsit_allocate_cmd(struct iscsi_conn *conn, int state) in iscsit_allocate_cmd()
157 struct iscsi_cmd *cmd; in iscsit_allocate_cmd()
165 size = sizeof(struct iscsi_cmd) + conn->conn_transport->priv_size; in iscsit_allocate_cmd()
166 cmd = (struct iscsi_cmd *)(se_sess->sess_cmd_map + (tag * size)); in iscsit_allocate_cmd()
185 struct iscsi_cmd *cmd, in iscsit_get_seq_holder_for_datain()
[all …]
Discsi_target_tmr.c39 struct iscsi_cmd *cmd, in iscsit_tmr_abort_task()
42 struct iscsi_cmd *ref_cmd; in iscsit_tmr_abort_task()
114 struct iscsi_cmd *cmd, in iscsit_tmr_task_reassign()
117 struct iscsi_cmd *ref_cmd = NULL; in iscsit_tmr_task_reassign()
186 struct iscsi_cmd *cmd, in iscsit_task_reassign_remove_cmd()
206 struct iscsi_cmd *cmd = tmr_req->ref_cmd; in iscsit_task_reassign_complete_nop_out()
235 struct iscsi_cmd *cmd, in iscsit_task_reassign_complete_write()
307 struct iscsi_cmd *cmd, in iscsit_task_reassign_complete_read()
360 struct iscsi_cmd *cmd, in iscsit_task_reassign_complete_none()
374 struct iscsi_cmd *cmd = tmr_req->ref_cmd; in iscsit_task_reassign_complete_scsi_cmnd()
[all …]
Discsi_target_erl1.c121 struct iscsi_cmd *cmd, in iscsit_send_recovery_r2t_for_snack()
143 struct iscsi_cmd *cmd, in iscsit_handle_r2t_snack()
202 struct iscsi_cmd *cmd, in iscsit_create_recovery_datain_values_datasequenceinorder_yes()
248 struct iscsi_cmd *cmd, in iscsit_create_recovery_datain_values_datasequenceinorder_no()
406 struct iscsi_cmd *cmd, in iscsit_handle_recovery_datain()
474 struct iscsi_cmd *cmd; in iscsit_handle_recovery_datain_or_r2t()
506 struct iscsi_cmd *cmd = NULL; in iscsit_handle_status_snack()
569 struct iscsi_cmd *cmd = NULL; in iscsit_handle_data_ack()
600 struct iscsi_cmd *cmd, in iscsit_send_recovery_r2t()
614 struct iscsi_cmd *cmd, in iscsit_dataout_datapduinorder_no_fbit()
[all …]
Discsi_target_seq_pdu_list.h81 extern int iscsit_build_pdu_and_seq_lists(struct iscsi_cmd *, u32);
82 extern struct iscsi_pdu *iscsit_get_pdu_holder(struct iscsi_cmd *, u32, u32);
83 extern struct iscsi_pdu *iscsit_get_pdu_holder_for_seq(struct iscsi_cmd *, struct iscsi_seq *);
84 extern struct iscsi_seq *iscsit_get_seq_holder(struct iscsi_cmd *, u32, u32);
Discsi_target_tmr.h4 extern u8 iscsit_tmr_abort_task(struct iscsi_cmd *, unsigned char *);
9 extern u8 iscsit_tmr_task_reassign(struct iscsi_cmd *, unsigned char *);
10 extern int iscsit_tmr_post_handler(struct iscsi_cmd *, struct iscsi_conn *);
Discsi_target_seq_pdu_list.c31 static void iscsit_dump_seq_list(struct iscsi_cmd *cmd) in iscsit_dump_seq_list()
49 static void iscsit_dump_pdu_list(struct iscsi_cmd *cmd) in iscsit_dump_pdu_list()
65 static void iscsit_dump_seq_list(struct iscsi_cmd *cmd) {} in iscsit_dump_seq_list()
66 static void iscsit_dump_pdu_list(struct iscsi_cmd *cmd) {} in iscsit_dump_pdu_list()
70 struct iscsi_cmd *cmd, in iscsit_ordered_seq_lists()
83 struct iscsi_cmd *cmd, in iscsit_ordered_pdu_lists()
130 struct iscsi_cmd *cmd, in iscsit_randomize_pdu_lists()
180 struct iscsi_cmd *cmd, in iscsit_randomize_seq_lists()
212 struct iscsi_cmd *cmd, in iscsit_determine_counts_for_list()
296 struct iscsi_cmd *cmd, in iscsit_do_build_pdu_and_seq_lists()
[all …]
Discsi_target_erl0.h4 extern void iscsit_set_dataout_sequence_values(struct iscsi_cmd *);
5 extern int iscsit_check_pre_dataout(struct iscsi_cmd *, unsigned char *);
6 extern int iscsit_check_post_dataout(struct iscsi_cmd *, unsigned char *, u8);
Discsi_target_erl2.h4 extern void iscsit_create_conn_recovery_datain_values(struct iscsi_cmd *, __be32);
5 extern void iscsit_create_conn_recovery_dataout_values(struct iscsi_cmd *);
11 extern int iscsit_remove_cmd_from_connection_recovery(struct iscsi_cmd *,
Discsi_target.c69 static int iscsit_handle_immediate_data(struct iscsi_cmd *,
492 static int iscsit_immediate_queue(struct iscsi_conn *, struct iscsi_cmd *, int);
493 static int iscsit_response_queue(struct iscsi_conn *, struct iscsi_cmd *, int);
495 static int iscsit_queue_rsp(struct iscsi_conn *conn, struct iscsi_cmd *cmd) in iscsit_queue_rsp()
501 static void iscsit_aborted_task(struct iscsi_conn *conn, struct iscsi_cmd *cmd) in iscsit_aborted_task()
644 struct iscsi_cmd *cmd; in iscsit_add_reject()
671 struct iscsi_cmd *cmd, in iscsit_add_reject_from_cmd()
715 static int iscsit_add_reject_cmd(struct iscsi_cmd *cmd, u8 reason, in iscsit_add_reject_cmd()
721 int iscsit_reject_cmd(struct iscsi_cmd *cmd, u8 reason, unsigned char *buf) in iscsit_reject_cmd()
731 struct iscsi_cmd *cmd, in iscsit_map_iovec()
[all …]
Discsi_target_erl2.c36 struct iscsi_cmd *cmd, in iscsit_create_conn_recovery_datain_values()
64 struct iscsi_cmd *cmd) in iscsit_create_conn_recovery_dataout_values()
129 struct iscsi_cmd *cmd, *cmd_tmp; in iscsit_free_connection_recovery_entires()
207 struct iscsi_cmd *cmd, in iscsit_remove_cmd_from_connection_recovery()
228 struct iscsi_cmd *cmd, *cmd_tmp; in iscsit_discard_cr_cmds_by_expstatsn()
276 struct iscsi_cmd *cmd, *cmd_tmp; in iscsit_discard_unacknowledged_ooo_cmdsns_for_conn()
317 struct iscsi_cmd *cmd, *cmd_tmp; in iscsit_prepare_cmds_for_realligance()
Discsi_target_erl0.c39 struct iscsi_cmd *cmd) in iscsit_set_dataout_sequence_values()
73 struct iscsi_cmd *cmd, in iscsit_dataout_within_command_recovery_check()
139 struct iscsi_cmd *cmd, in iscsit_dataout_check_unsolicited_sequence()
214 struct iscsi_cmd *cmd, in iscsit_dataout_check_sequence()
343 struct iscsi_cmd *cmd, in iscsit_dataout_check_datasn()
394 struct iscsi_cmd *cmd, in iscsit_dataout_pre_datapduinorder_yes()
456 struct iscsi_cmd *cmd, in iscsit_dataout_pre_datapduinorder_no()
487 static int iscsit_dataout_update_r2t(struct iscsi_cmd *cmd, u32 offset, u32 length) in iscsit_dataout_update_r2t()
507 struct iscsi_cmd *cmd, in iscsit_dataout_update_datapduinorder_no()
540 struct iscsi_cmd *cmd, in iscsit_dataout_post_crc_passed()
[all …]
Discsi_target_datain_values.c43 void iscsit_attach_datain_req(struct iscsi_cmd *cmd, struct iscsi_datain_req *dr) in iscsit_attach_datain_req()
50 void iscsit_free_datain_req(struct iscsi_cmd *cmd, struct iscsi_datain_req *dr) in iscsit_free_datain_req()
59 void iscsit_free_all_datain_reqs(struct iscsi_cmd *cmd) in iscsit_free_all_datain_reqs()
71 struct iscsi_datain_req *iscsit_get_datain_req(struct iscsi_cmd *cmd) in iscsit_get_datain_req()
87 struct iscsi_cmd *cmd, in iscsit_set_datain_values_yes_and_yes()
185 struct iscsi_cmd *cmd, in iscsit_set_datain_values_no_and_yes()
306 struct iscsi_cmd *cmd, in iscsit_set_datain_values_yes_and_no()
405 struct iscsi_cmd *cmd, in iscsit_set_datain_values_no_and_no()
507 struct iscsi_cmd *cmd, in iscsit_get_datain_values()
Discsi_target_configfs.c1733 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); in iscsi_get_task_tag()
1741 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); in iscsi_get_cmd_state()
1769 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); in lio_queue_data_in()
1779 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); in lio_write_pending()
1790 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); in lio_write_pending_status()
1802 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); in lio_queue_status()
1817 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); in lio_queue_tm_rsp()
1825 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); in lio_aborted_task()
1970 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); in lio_release_cmd()
Discsi_target_device.h5 extern void iscsit_increment_maxcmdsn(struct iscsi_cmd *, struct iscsi_session *);
Discsi_target_core.h286 struct iscsi_cmd *cmd;
326 struct iscsi_cmd *cmd;
348 struct iscsi_cmd { struct
501 struct iscsi_cmd *ref_cmd; argument
Discsi_target_device.c54 void iscsit_increment_maxcmdsn(struct iscsi_cmd *cmd, struct iscsi_session *sess) in iscsit_increment_maxcmdsn()
Discsi_target_nego.c1293 tag_size = sizeof(struct iscsi_cmd) + conn->conn_transport->priv_size; in iscsi_target_locate_portal()
/drivers/infiniband/ulp/isert/
Dib_isert.c49 isert_map_rdma(struct iscsi_conn *conn, struct iscsi_cmd *cmd,
54 isert_reg_rdma(struct iscsi_conn *conn, struct iscsi_cmd *cmd,
57 isert_put_response(struct iscsi_conn *conn, struct iscsi_cmd *cmd);
1265 static struct iscsi_cmd
1270 struct iscsi_cmd *cmd; in isert_allocate_cmd()
1279 isert_cmd->iscsi_cmd = cmd; in isert_allocate_cmd()
1286 struct isert_cmd *isert_cmd, struct iscsi_cmd *cmd, in isert_handle_scsi_cmd()
1348 struct iscsi_cmd *cmd = NULL; in isert_handle_iscsi_dataout()
1397 struct iscsi_cmd *cmd, struct iser_rx_desc *rx_desc, in isert_handle_nop_out()
1416 struct iscsi_cmd *cmd, struct iser_rx_desc *rx_desc, in isert_handle_text_cmd()
[all …]
Dib_isert.h117 struct iscsi_cmd *iscsi_cmd; member
188 struct iscsi_cmd *cmd,
/drivers/scsi/be2iscsi/
Dbe_mgmt.c901 int iscsi_cmd, int size) in mgmt_alloc_cmd_data() argument
910 be_cmd_hdr_prepare(cmd->va, CMD_SUBSYSTEM_ISCSI, iscsi_cmd, size); in mgmt_alloc_cmd_data()