Home
last modified time | relevance | path

Searched refs:iscsit_cmd (Results 1 – 25 of 27) sorted by relevance

12

/openbmc/linux/include/target/iscsi/
H A Discsi_transport.h27 int (*iscsit_xmit_pdu)(struct iscsit_conn *, struct iscsit_cmd *,
29 void (*iscsit_unmap_cmd)(struct iscsit_conn *, struct iscsit_cmd *);
37 static inline void *iscsit_priv_cmd(struct iscsit_cmd *cmd) in iscsit_priv_cmd()
56 extern void iscsit_set_unsolicited_dataout(struct iscsit_cmd *);
61 struct iscsit_cmd *, u32, bool *);
64 struct iscsit_cmd **out_cmd);
116 extern void iscsit_stop_dataout_timer(struct iscsit_cmd *);
129 extern void iscsit_release_cmd(struct iscsit_cmd *);
130 extern void iscsit_free_cmd(struct iscsit_cmd *, bool);
131 extern void iscsit_add_cmd_to_immediate_queue(struct iscsit_cmd *,
[all …]
H A Discsi_target_core.h298 struct iscsit_cmd *cmd;
328 struct iscsit_cmd *cmd;
350 struct iscsit_cmd { struct
504 struct iscsit_cmd *ref_cmd; argument
913 extern struct iscsit_cmd *iscsit_find_cmd_from_itt(struct iscsit_conn *, itt_t);
/openbmc/linux/drivers/target/iscsi/
H A Discsi_target_util.h10 struct iscsit_cmd;
15 extern int iscsit_add_r2t_to_list(struct iscsit_cmd *, u32, u32, int, u32);
16 extern struct iscsi_r2t *iscsit_get_r2t_for_eos(struct iscsit_cmd *, u32, u32);
17 extern struct iscsi_r2t *iscsit_get_r2t_from_list(struct iscsit_cmd *);
18 extern void iscsit_free_r2t(struct iscsi_r2t *, struct iscsit_cmd *);
19 extern void iscsit_free_r2ts_from_list(struct iscsit_cmd *);
20 extern struct iscsit_cmd *iscsit_alloc_cmd(struct iscsit_conn *, gfp_t);
21 extern struct iscsit_cmd *iscsit_allocate_cmd(struct iscsit_conn *, int);
40 extern void iscsit_release_cmd(struct iscsit_cmd *);
41 extern void __iscsit_free_cmd(struct iscsit_cmd *, bool);
[all …]
H A Discsi_target_erl1.h8 struct iscsit_cmd;
17 struct iscsit_cmd *, struct iscsi_datain_req *);
19 struct iscsit_cmd *, struct iscsi_datain_req *);
25 extern int iscsit_dataout_datapduinorder_no_fbit(struct iscsit_cmd *, struct iscsi_pdu *);
26 extern int iscsit_recover_dataout_sequence(struct iscsit_cmd *, u32, u32);
30 extern int iscsit_execute_cmd(struct iscsit_cmd *, int);
31 extern int iscsit_handle_ooo_cmdsn(struct iscsit_session *, struct iscsit_cmd *, u32);
34 extern void iscsit_mod_dataout_timer(struct iscsit_cmd *);
35 extern void iscsit_start_dataout_timer(struct iscsit_cmd *, struct iscsit_conn *);
36 extern void iscsit_stop_dataout_timer(struct iscsit_cmd *);
H A Discsi_target_datain_values.h5 struct iscsit_cmd;
9 extern void iscsit_attach_datain_req(struct iscsit_cmd *, struct iscsi_datain_req *);
10 extern void iscsit_free_datain_req(struct iscsit_cmd *, struct iscsi_datain_req *);
11 extern void iscsit_free_all_datain_reqs(struct iscsit_cmd *);
12 extern struct iscsi_datain_req *iscsit_get_datain_req(struct iscsit_cmd *);
13 extern struct iscsi_datain_req *iscsit_get_datain_values(struct iscsit_cmd *,
H A Discsi_target.h8 struct iscsit_cmd;
33 extern int iscsit_reject_cmd(struct iscsit_cmd *cmd, u8, unsigned char *);
34 extern void iscsit_set_unsolicited_dataout(struct iscsit_cmd *);
35 extern int iscsit_logout_closesession(struct iscsit_cmd *, struct iscsit_conn *);
36 extern int iscsit_logout_closeconnection(struct iscsit_cmd *, struct iscsit_conn *);
37 extern int iscsit_logout_removeconnforrecovery(struct iscsit_cmd *, struct iscsit_conn *);
39 extern int iscsit_build_r2ts_for_cmd(struct iscsit_conn *, struct iscsit_cmd *, bool recovery);
H A Discsi_target_tmr.h7 struct iscsit_cmd;
11 extern u8 iscsit_tmr_abort_task(struct iscsit_cmd *, unsigned char *);
16 extern u8 iscsit_tmr_task_reassign(struct iscsit_cmd *, unsigned char *);
17 extern int iscsit_tmr_post_handler(struct iscsit_cmd *, struct iscsit_conn *);
H A Discsi_target_erl0.h7 struct iscsit_cmd;
11 extern void iscsit_set_dataout_sequence_values(struct iscsit_cmd *);
12 extern int iscsit_check_pre_dataout(struct iscsit_cmd *, unsigned char *);
13 extern int iscsit_check_post_dataout(struct iscsit_cmd *, unsigned char *, u8);
H A Discsi_target_erl2.h7 struct iscsit_cmd;
12 extern void iscsit_create_conn_recovery_datain_values(struct iscsit_cmd *, __be32);
13 extern void iscsit_create_conn_recovery_dataout_values(struct iscsit_cmd *);
19 extern int iscsit_remove_cmd_from_connection_recovery(struct iscsit_cmd *,
H A Discsi_target_seq_pdu_list.h85 struct iscsit_cmd;
87 extern int iscsit_build_pdu_and_seq_lists(struct iscsit_cmd *, u32);
88 extern struct iscsi_pdu *iscsit_get_pdu_holder(struct iscsit_cmd *, u32, u32);
89 extern struct iscsi_pdu *iscsit_get_pdu_holder_for_seq(struct iscsit_cmd *, struct iscsi_seq *);
90 extern struct iscsi_seq *iscsit_get_seq_holder(struct iscsit_cmd *, u32, u32);
H A Discsi_target_util.c35 struct iscsit_cmd *cmd, in iscsit_add_r2t_to_list()
68 struct iscsit_cmd *cmd, in iscsit_get_r2t_for_eos()
157 struct iscsit_cmd *cmd; in iscsit_allocate_cmd()
190 struct iscsit_cmd *cmd, in iscsit_get_seq_holder_for_datain()
224 struct iscsit_cmd *cmd, in iscsit_get_holder_for_r2tsn()
384 struct iscsit_cmd *cmd; in iscsit_find_cmd_from_itt()
406 struct iscsit_cmd *cmd; in iscsit_find_cmd_from_itt_or_dump()
501 struct iscsit_cmd *cmd, in iscsit_add_cmd_to_immediate_queue()
548 struct iscsit_cmd *cmd, in iscsit_remove_cmd_from_immediate_queue()
577 struct iscsit_cmd *cmd, in iscsit_add_cmd_to_response_queue()
[all …]
H A Discsi_target_tmr.c31 struct iscsit_cmd *cmd, in iscsit_tmr_abort_task()
34 struct iscsit_cmd *ref_cmd; in iscsit_tmr_abort_task()
106 struct iscsit_cmd *cmd, in iscsit_tmr_task_reassign()
109 struct iscsit_cmd *ref_cmd = NULL; in iscsit_tmr_task_reassign()
178 struct iscsit_cmd *cmd, in iscsit_task_reassign_remove_cmd()
198 struct iscsit_cmd *cmd = tmr_req->ref_cmd; in iscsit_task_reassign_complete_nop_out()
227 struct iscsit_cmd *cmd, in iscsit_task_reassign_complete_write()
299 struct iscsit_cmd *cmd, in iscsit_task_reassign_complete_read()
352 struct iscsit_cmd *cmd, in iscsit_task_reassign_complete_none()
415 struct iscsit_cmd *cmd; in iscsit_task_reassign_complete()
[all …]
H A Discsi_target_erl1.c90 struct iscsit_cmd *cmd, in iscsit_send_recovery_r2t_for_snack()
112 struct iscsit_cmd *cmd, in iscsit_handle_r2t_snack()
170 struct iscsit_cmd *cmd, in iscsit_create_recovery_datain_values_datasequenceinorder_yes()
216 struct iscsit_cmd *cmd, in iscsit_create_recovery_datain_values_datasequenceinorder_no()
374 struct iscsit_cmd *cmd, in iscsit_handle_recovery_datain()
442 struct iscsit_cmd *cmd; in iscsit_handle_recovery_datain_or_r2t()
568 struct iscsit_cmd *cmd, in iscsit_send_recovery_r2t()
582 struct iscsit_cmd *cmd, in iscsit_dataout_datapduinorder_no_fbit()
658 struct iscsit_cmd *cmd, in iscsit_recalculate_dataout_values()
735 struct iscsit_cmd *cmd, in iscsit_recover_dataout_sequence()
[all …]
H A Discsi_target_seq_pdu_list.c21 static void iscsit_dump_seq_list(struct iscsit_cmd *cmd) in iscsit_dump_seq_list()
60 struct iscsit_cmd *cmd, in iscsit_ordered_seq_lists()
73 struct iscsit_cmd *cmd, in iscsit_ordered_pdu_lists()
120 struct iscsit_cmd *cmd, in iscsit_randomize_pdu_lists()
170 struct iscsit_cmd *cmd, in iscsit_randomize_seq_lists()
202 struct iscsit_cmd *cmd, in iscsit_determine_counts_for_list()
286 struct iscsit_cmd *cmd, in iscsit_do_build_pdu_and_seq_lists()
487 struct iscsit_cmd *cmd, in iscsit_build_pdu_and_seq_lists()
562 struct iscsit_cmd *cmd, in iscsit_get_pdu_holder()
586 struct iscsit_cmd *cmd, in iscsit_get_pdu_holder_for_seq()
[all …]
H A Discsi_target_device.h5 struct iscsit_cmd;
9 extern void iscsit_increment_maxcmdsn(struct iscsit_cmd *, struct iscsit_session *);
H A Discsi_target.c802 struct iscsit_cmd *cmd; in iscsit_add_reject()
830 struct iscsit_cmd *cmd, in iscsit_add_reject_from_cmd()
1415 struct iscsit_cmd *cmd, in iscsit_do_crypto_hash_sg()
1595 struct iscsit_cmd *cmd; in iscsit_check_dataout_hdr()
2634 struct iscsit_cmd *cmd, in iscsit_handle_immediate_data()
2743 struct iscsit_cmd *cmd; in iscsit_build_conn_drop_async_message()
2783 struct iscsit_cmd *cmd, in iscsit_send_conn_drop_async_message()
3068 struct iscsit_cmd *cmd, in iscsit_send_unsolicited_nopin()
3111 struct iscsit_cmd *cmd, in iscsit_send_r2t()
3169 struct iscsit_cmd *cmd, in iscsit_build_r2ts_for_cmd()
[all …]
H A Discsi_target_erl2.c29 struct iscsit_cmd *cmd, in iscsit_create_conn_recovery_datain_values()
57 struct iscsit_cmd *cmd) in iscsit_create_conn_recovery_dataout_values()
122 struct iscsit_cmd *cmd, *cmd_tmp; in iscsit_free_connection_recovery_entries()
200 struct iscsit_cmd *cmd, in iscsit_remove_cmd_from_connection_recovery()
221 struct iscsit_cmd *cmd, *cmd_tmp; in iscsit_discard_cr_cmds_by_expstatsn()
269 struct iscsit_cmd *cmd, *cmd_tmp; in iscsit_discard_unacknowledged_ooo_cmdsns_for_conn()
310 struct iscsit_cmd *cmd, *cmd_tmp; in iscsit_prepare_cmds_for_reallegiance()
H A Discsi_target_erl0.c32 struct iscsit_cmd *cmd) in iscsit_set_dataout_sequence_values()
66 struct iscsit_cmd *cmd, in iscsit_dataout_within_command_recovery_check()
132 struct iscsit_cmd *cmd, in iscsit_dataout_check_unsolicited_sequence()
207 struct iscsit_cmd *cmd, in iscsit_dataout_check_sequence()
336 struct iscsit_cmd *cmd, in iscsit_dataout_check_datasn()
387 struct iscsit_cmd *cmd, in iscsit_dataout_pre_datapduinorder_yes()
449 struct iscsit_cmd *cmd, in iscsit_dataout_pre_datapduinorder_no()
500 struct iscsit_cmd *cmd, in iscsit_dataout_update_datapduinorder_no()
533 struct iscsit_cmd *cmd, in iscsit_dataout_post_crc_passed()
644 struct iscsit_cmd *cmd, in iscsit_dataout_post_crc_failed()
[all …]
H A Discsi_target_datain_values.c35 void iscsit_attach_datain_req(struct iscsit_cmd *cmd, struct iscsi_datain_req *dr) in iscsit_attach_datain_req()
42 void iscsit_free_datain_req(struct iscsit_cmd *cmd, struct iscsi_datain_req *dr) in iscsit_free_datain_req()
51 void iscsit_free_all_datain_reqs(struct iscsit_cmd *cmd) in iscsit_free_all_datain_reqs()
63 struct iscsi_datain_req *iscsit_get_datain_req(struct iscsit_cmd *cmd) in iscsit_get_datain_req()
79 struct iscsit_cmd *cmd, in iscsit_set_datain_values_yes_and_yes()
177 struct iscsit_cmd *cmd, in iscsit_set_datain_values_no_and_yes()
298 struct iscsit_cmd *cmd, in iscsit_set_datain_values_yes_and_no()
397 struct iscsit_cmd *cmd, in iscsit_set_datain_values_no_and_no()
499 struct iscsit_cmd *cmd, in iscsit_get_datain_values()
H A Discsi_target_configfs.c1361 struct iscsit_cmd *cmd = container_of(se_cmd, struct iscsit_cmd, se_cmd); in iscsi_get_cmd_state()
1387 struct iscsit_cmd *cmd = container_of(se_cmd, struct iscsit_cmd, se_cmd); in lio_queue_data_in()
1396 struct iscsit_cmd *cmd = container_of(se_cmd, struct iscsit_cmd, se_cmd); in lio_write_pending()
1407 struct iscsit_cmd *cmd = container_of(se_cmd, struct iscsit_cmd, se_cmd); in lio_queue_status()
1420 struct iscsit_cmd *cmd = container_of(se_cmd, struct iscsit_cmd, se_cmd); in lio_queue_tm_rsp()
1428 struct iscsit_cmd *cmd = container_of(se_cmd, struct iscsit_cmd, se_cmd); in lio_aborted_task()
1536 struct iscsit_cmd *cmd = container_of(se_cmd, struct iscsit_cmd, se_cmd); in lio_release_cmd()
H A Discsi_target_device.c45 void iscsit_increment_maxcmdsn(struct iscsit_cmd *cmd, struct iscsit_session *sess) in iscsit_increment_maxcmdsn()
/openbmc/linux/drivers/infiniband/ulp/isert/
H A Dib_isert.c1027 static struct iscsit_cmd
1032 struct iscsit_cmd *cmd; in isert_allocate_cmd()
1041 isert_cmd->iscsit_cmd = cmd; in isert_allocate_cmd()
1122 struct iscsit_cmd *cmd = NULL; in isert_handle_iscsi_dataout()
1228 struct iscsit_cmd *cmd; in isert_rx_opcode()
1433 struct iscsit_cmd *cmd = isert_cmd->iscsit_cmd; in isert_put_cmd()
1624 struct iscsit_cmd *cmd = isert_cmd->iscsit_cmd; in isert_rdma_read_done()
1669 struct iscsit_cmd *cmd = isert_cmd->iscsit_cmd; in isert_do_control_comp()
1727 switch (isert_cmd->iscsit_cmd->i_state) { in isert_send_done()
2055 offset = cmd->iscsit_cmd->write_data_done; in isert_rdma_rw_ctx_post()
[all …]
H A Dib_isert.h149 struct iscsit_cmd *iscsit_cmd; member
/openbmc/linux/drivers/target/iscsi/cxgbit/
H A Dcxgbit.h330 int cxgbit_xmit_pdu(struct iscsit_conn *, struct iscsit_cmd *,
332 void cxgbit_get_r2t_ttt(struct iscsit_conn *, struct iscsit_cmd *,
343 int cxgbit_reserve_ttt(struct cxgbit_sock *, struct iscsit_cmd *);
344 void cxgbit_unmap_cmd(struct iscsit_conn *, struct iscsit_cmd *);
H A Dcxgbit_target.c393 cxgbit_tx_datain_iso(struct cxgbit_sock *csk, struct iscsit_cmd *cmd, in cxgbit_tx_datain_iso()
484 cxgbit_tx_datain(struct cxgbit_sock *csk, struct iscsit_cmd *cmd, in cxgbit_tx_datain()
513 cxgbit_xmit_datain_pdu(struct iscsit_conn *conn, struct iscsit_cmd *cmd, in cxgbit_xmit_datain_pdu()
533 cxgbit_xmit_nondatain_pdu(struct iscsit_conn *conn, struct iscsit_cmd *cmd, in cxgbit_xmit_nondatain_pdu()
563 cxgbit_xmit_pdu(struct iscsit_conn *conn, struct iscsit_cmd *cmd, in cxgbit_xmit_pdu()
835 static struct iscsit_cmd *cxgbit_allocate_cmd(struct cxgbit_sock *csk) in cxgbit_allocate_cmd()
840 struct iscsit_cmd *cmd; in cxgbit_allocate_cmd()
967 cxgbit_handle_scsi_cmd(struct cxgbit_sock *csk, struct iscsit_cmd *cmd) in cxgbit_handle_scsi_cmd()
999 struct iscsit_cmd *cmd = NULL; in cxgbit_handle_iscsi_dataout()
1155 cxgbit_handle_text_cmd(struct cxgbit_sock *csk, struct iscsit_cmd *cmd) in cxgbit_handle_text_cmd()
[all …]

12