Home
last modified time | relevance | path

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

12

/linux-6.12.1/include/target/iscsi/
Discsi_transport.h21 int (*iscsit_immediate_queue)(struct iscsit_conn *, struct iscsit_cmd *, int);
22 int (*iscsit_response_queue)(struct iscsit_conn *, struct iscsit_cmd *, int);
23 int (*iscsit_get_dataout)(struct iscsit_conn *, struct iscsit_cmd *, bool);
24 int (*iscsit_queue_data_in)(struct iscsit_conn *, struct iscsit_cmd *);
25 int (*iscsit_queue_status)(struct iscsit_conn *, struct iscsit_cmd *);
26 void (*iscsit_aborted_task)(struct iscsit_conn *, struct iscsit_cmd *);
27 int (*iscsit_xmit_pdu)(struct iscsit_conn *, struct iscsit_cmd *,
29 void (*iscsit_unmap_cmd)(struct iscsit_conn *, struct iscsit_cmd *);
32 void (*iscsit_get_r2t_ttt)(struct iscsit_conn *, struct iscsit_cmd *,
37 static inline void *iscsit_priv_cmd(struct iscsit_cmd *cmd) in iscsit_priv_cmd()
[all …]
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);
/linux-6.12.1/drivers/target/iscsi/
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_allocate_cmd(struct iscsit_conn *, int);
21 extern struct iscsi_seq *iscsit_get_seq_holder_for_datain(struct iscsit_cmd *, u32);
22 extern struct iscsi_seq *iscsit_get_seq_holder_for_r2t(struct iscsit_cmd *);
23 extern struct iscsi_r2t *iscsit_get_holder_for_r2tsn(struct iscsit_cmd *, u32);
[all …]
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 *);
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 *,
Discsi_target.h8 struct iscsit_cmd;
32 extern int iscsit_reject_cmd(struct iscsit_cmd *cmd, u8, unsigned char *);
33 extern void iscsit_set_unsolicited_dataout(struct iscsit_cmd *);
34 extern int iscsit_logout_closesession(struct iscsit_cmd *, struct iscsit_conn *);
35 extern int iscsit_logout_closeconnection(struct iscsit_cmd *, struct iscsit_conn *);
36 extern int iscsit_logout_removeconnforrecovery(struct iscsit_cmd *, struct iscsit_conn *);
37 extern int iscsit_build_r2ts_for_cmd(struct iscsit_conn *, struct iscsit_cmd *, bool recovery);
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 *);
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);
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);
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 *,
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()
89 struct iscsi_r2t *iscsit_get_r2t_from_list(struct iscsit_cmd *cmd) in iscsit_get_r2t_from_list()
107 void iscsit_free_r2t(struct iscsi_r2t *r2t, struct iscsit_cmd *cmd) in iscsit_free_r2t()
115 void iscsit_free_r2ts_from_list(struct iscsit_cmd *cmd) in iscsit_free_r2ts_from_list()
155 struct iscsit_cmd *iscsit_allocate_cmd(struct iscsit_conn *conn, int state) in iscsit_allocate_cmd()
157 struct iscsit_cmd *cmd; in iscsit_allocate_cmd()
167 size = sizeof(struct iscsit_cmd) + conn->conn_transport->priv_size; in iscsit_allocate_cmd()
168 cmd = (struct iscsit_cmd *)(se_sess->sess_cmd_map + (tag * size)); in iscsit_allocate_cmd()
190 struct iscsit_cmd *cmd, in iscsit_get_seq_holder_for_datain()
[all …]
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()
366 struct iscsit_cmd *cmd = tmr_req->ref_cmd; in iscsit_task_reassign_complete_scsi_cmnd()
[all …]
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()
474 struct iscsit_cmd *cmd = NULL; in iscsit_handle_status_snack()
537 struct iscsit_cmd *cmd = NULL; in iscsit_handle_data_ack()
568 struct iscsit_cmd *cmd, in iscsit_send_recovery_r2t()
582 struct iscsit_cmd *cmd, in iscsit_dataout_datapduinorder_no_fbit()
[all …]
Discsi_target_seq_pdu_list.c21 static void iscsit_dump_seq_list(struct iscsit_cmd *cmd) in iscsit_dump_seq_list()
39 static void iscsit_dump_pdu_list(struct iscsit_cmd *cmd) in iscsit_dump_pdu_list()
55 static void iscsit_dump_seq_list(struct iscsit_cmd *cmd) {} in iscsit_dump_seq_list()
56 static void iscsit_dump_pdu_list(struct iscsit_cmd *cmd) {} in iscsit_dump_pdu_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()
[all …]
Discsi_target.c63 static int iscsit_handle_immediate_data(struct iscsit_cmd *,
476 int iscsit_queue_rsp(struct iscsit_conn *conn, struct iscsit_cmd *cmd) in iscsit_queue_rsp()
482 void iscsit_aborted_task(struct iscsit_conn *conn, struct iscsit_cmd *cmd) in iscsit_aborted_task()
498 iscsit_xmit_nondatain_pdu(struct iscsit_conn *conn, struct iscsit_cmd *cmd, in iscsit_xmit_nondatain_pdu()
566 static int iscsit_map_iovec(struct iscsit_cmd *cmd, struct kvec *iov, int nvec,
568 static void iscsit_unmap_iovec(struct iscsit_cmd *);
569 static u32 iscsit_do_crypto_hash_sg(struct ahash_request *, struct iscsit_cmd *,
572 iscsit_xmit_datain_pdu(struct iscsit_conn *conn, struct iscsit_cmd *cmd, in iscsit_xmit_datain_pdu()
646 static int iscsit_xmit_pdu(struct iscsit_conn *conn, struct iscsit_cmd *cmd, in iscsit_xmit_pdu()
802 struct iscsit_cmd *cmd; in iscsit_add_reject()
[all …]
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()
480 static int iscsit_dataout_update_r2t(struct iscsit_cmd *cmd, u32 offset, u32 length) in iscsit_dataout_update_r2t()
500 struct iscsit_cmd *cmd, in iscsit_dataout_update_datapduinorder_no()
533 struct iscsit_cmd *cmd, in iscsit_dataout_post_crc_passed()
[all …]
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()
Discsi_target_device.h5 struct iscsit_cmd;
9 extern void iscsit_increment_maxcmdsn(struct iscsit_cmd *, struct iscsit_session *);
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()
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()
Discsi_target_device.c45 void iscsit_increment_maxcmdsn(struct iscsit_cmd *cmd, struct iscsit_session *sess) in iscsit_increment_maxcmdsn()
/linux-6.12.1/drivers/infiniband/ulp/isert/
Dib_isert.c50 isert_put_response(struct iscsit_conn *conn, struct iscsit_cmd *cmd);
1024 static struct iscsit_cmd
1029 struct iscsit_cmd *cmd; in isert_allocate_cmd()
1038 isert_cmd->iscsit_cmd = cmd; in isert_allocate_cmd()
1046 struct isert_cmd *isert_cmd, struct iscsit_cmd *cmd, in isert_handle_scsi_cmd()
1119 struct iscsit_cmd *cmd = NULL; in isert_handle_iscsi_dataout()
1175 struct iscsit_cmd *cmd, struct iser_rx_desc *rx_desc, in isert_handle_nop_out()
1194 struct iscsit_cmd *cmd, struct iser_rx_desc *rx_desc, in isert_handle_text_cmd()
1225 struct iscsit_cmd *cmd; in isert_rx_opcode()
1408 struct se_cmd *se_cmd = &cmd->iscsit_cmd->se_cmd; in isert_rdma_rw_ctx_destroy()
[all …]
Dib_isert.h149 struct iscsit_cmd *iscsit_cmd; member
/linux-6.12.1/drivers/target/iscsi/cxgbit/
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 *);
Dcxgbit_target.c340 cxgbit_map_skb(struct iscsit_cmd *cmd, struct sk_buff *skb, u32 data_offset, in cxgbit_map_skb()
393 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()
856 cxgbit_handle_immediate_data(struct iscsit_cmd *cmd, struct iscsi_scsi_req *hdr, in cxgbit_handle_immediate_data()
913 cxgbit_get_immediate_data(struct iscsit_cmd *cmd, struct iscsi_scsi_req *hdr, in cxgbit_get_immediate_data()
[all …]

12