Home
last modified time | relevance | path

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

12

/Linux-v5.10/include/target/iscsi/
Discsi_transport.h21 int (*iscsit_immediate_queue)(struct iscsi_conn *, struct iscsi_cmd *, int);
22 int (*iscsit_response_queue)(struct iscsi_conn *, struct iscsi_cmd *, int);
23 int (*iscsit_get_dataout)(struct iscsi_conn *, struct iscsi_cmd *, bool);
24 int (*iscsit_queue_data_in)(struct iscsi_conn *, struct iscsi_cmd *);
25 int (*iscsit_queue_status)(struct iscsi_conn *, struct iscsi_cmd *);
26 void (*iscsit_aborted_task)(struct iscsi_conn *, struct iscsi_cmd *);
27 int (*iscsit_xmit_pdu)(struct iscsi_conn *, struct iscsi_cmd *,
29 void (*iscsit_unmap_cmd)(struct iscsi_conn *, struct iscsi_cmd *);
32 void (*iscsit_get_r2t_ttt)(struct iscsi_conn *, struct iscsi_cmd *,
37 static inline void *iscsit_priv_cmd(struct iscsi_cmd *cmd) in iscsit_priv_cmd()
[all …]
Discsi_target_core.h300 struct iscsi_cmd *cmd;
330 struct iscsi_cmd *cmd;
352 struct iscsi_cmd { struct
506 struct iscsi_cmd *ref_cmd; argument
899 extern struct iscsi_cmd *iscsit_find_cmd_from_itt(struct iscsi_conn *, itt_t);
/Linux-v5.10/drivers/target/iscsi/
Discsi_target_util.h10 struct iscsi_cmd;
15 extern int iscsit_add_r2t_to_list(struct iscsi_cmd *, u32, u32, int, u32);
16 extern struct iscsi_r2t *iscsit_get_r2t_for_eos(struct iscsi_cmd *, u32, u32);
17 extern struct iscsi_r2t *iscsit_get_r2t_from_list(struct iscsi_cmd *);
18 extern void iscsit_free_r2t(struct iscsi_r2t *, struct iscsi_cmd *);
19 extern void iscsit_free_r2ts_from_list(struct iscsi_cmd *);
20 extern struct iscsi_cmd *iscsit_alloc_cmd(struct iscsi_conn *, gfp_t);
21 extern struct iscsi_cmd *iscsit_allocate_cmd(struct iscsi_conn *, int);
22 extern struct iscsi_seq *iscsit_get_seq_holder_for_datain(struct iscsi_cmd *, u32);
23 extern struct iscsi_seq *iscsit_get_seq_holder_for_r2t(struct iscsi_cmd *);
[all …]
Discsi_target_erl1.h8 struct iscsi_cmd;
17 struct iscsi_cmd *, struct iscsi_datain_req *);
19 struct iscsi_cmd *, struct iscsi_datain_req *);
25 extern int iscsit_dataout_datapduinorder_no_fbit(struct iscsi_cmd *, struct iscsi_pdu *);
26 extern int iscsit_recover_dataout_sequence(struct iscsi_cmd *, u32, u32);
30 extern int iscsit_execute_cmd(struct iscsi_cmd *, int);
31 extern int iscsit_handle_ooo_cmdsn(struct iscsi_session *, struct iscsi_cmd *, u32);
34 extern void iscsit_mod_dataout_timer(struct iscsi_cmd *);
35 extern void iscsit_start_dataout_timer(struct iscsi_cmd *, struct iscsi_conn *);
36 extern void iscsit_stop_dataout_timer(struct iscsi_cmd *);
Discsi_target_datain_values.h5 struct iscsi_cmd;
9 extern void iscsit_attach_datain_req(struct iscsi_cmd *, struct iscsi_datain_req *);
10 extern void iscsit_free_datain_req(struct iscsi_cmd *, struct iscsi_datain_req *);
11 extern void iscsit_free_all_datain_reqs(struct iscsi_cmd *);
12 extern struct iscsi_datain_req *iscsit_get_datain_req(struct iscsi_cmd *);
13 extern struct iscsi_datain_req *iscsit_get_datain_values(struct iscsi_cmd *,
Discsi_target.h8 struct iscsi_cmd;
33 extern int iscsit_reject_cmd(struct iscsi_cmd *cmd, u8, unsigned char *);
34 extern void iscsit_set_unsolicited_dataout(struct iscsi_cmd *);
35 extern int iscsit_logout_closesession(struct iscsi_cmd *, struct iscsi_conn *);
36 extern int iscsit_logout_closeconnection(struct iscsi_cmd *, struct iscsi_conn *);
37 extern int iscsit_logout_removeconnforrecovery(struct iscsi_cmd *, struct iscsi_conn *);
39 extern int iscsit_build_r2ts_for_cmd(struct iscsi_conn *, struct iscsi_cmd *, bool recovery);
Discsi_target_tmr.h7 struct iscsi_cmd;
11 extern u8 iscsit_tmr_abort_task(struct iscsi_cmd *, unsigned char *);
16 extern u8 iscsit_tmr_task_reassign(struct iscsi_cmd *, unsigned char *);
17 extern int iscsit_tmr_post_handler(struct iscsi_cmd *, struct iscsi_conn *);
Discsi_target_erl0.h7 struct iscsi_cmd;
11 extern void iscsit_set_dataout_sequence_values(struct iscsi_cmd *);
12 extern int iscsit_check_pre_dataout(struct iscsi_cmd *, unsigned char *);
13 extern int iscsit_check_post_dataout(struct iscsi_cmd *, unsigned char *, u8);
Discsi_target_erl2.h7 struct iscsi_cmd;
12 extern void iscsit_create_conn_recovery_datain_values(struct iscsi_cmd *, __be32);
13 extern void iscsit_create_conn_recovery_dataout_values(struct iscsi_cmd *);
19 extern int iscsit_remove_cmd_from_connection_recovery(struct iscsi_cmd *,
Discsi_target_seq_pdu_list.h85 struct iscsi_cmd;
87 extern int iscsit_build_pdu_and_seq_lists(struct iscsi_cmd *, u32);
88 extern struct iscsi_pdu *iscsit_get_pdu_holder(struct iscsi_cmd *, u32, u32);
89 extern struct iscsi_pdu *iscsit_get_pdu_holder_for_seq(struct iscsi_cmd *, struct iscsi_seq *);
90 extern struct iscsi_seq *iscsit_get_seq_holder(struct iscsi_cmd *, u32, u32);
Discsi_target_util.c52 struct iscsi_cmd *cmd, in iscsit_add_r2t_to_list()
85 struct iscsi_cmd *cmd, in iscsit_get_r2t_for_eos()
106 struct iscsi_r2t *iscsit_get_r2t_from_list(struct iscsi_cmd *cmd) in iscsit_get_r2t_from_list()
124 void iscsit_free_r2t(struct iscsi_r2t *r2t, struct iscsi_cmd *cmd) in iscsit_free_r2t()
132 void iscsit_free_r2ts_from_list(struct iscsi_cmd *cmd) in iscsit_free_r2ts_from_list()
172 struct iscsi_cmd *iscsit_allocate_cmd(struct iscsi_conn *conn, int state) in iscsit_allocate_cmd()
174 struct iscsi_cmd *cmd; in iscsit_allocate_cmd()
184 size = sizeof(struct iscsi_cmd) + conn->conn_transport->priv_size; in iscsit_allocate_cmd()
185 cmd = (struct iscsi_cmd *)(se_sess->sess_cmd_map + (tag * size)); in iscsit_allocate_cmd()
207 struct iscsi_cmd *cmd, in iscsit_get_seq_holder_for_datain()
[all …]
Discsi_target_tmr.c31 struct iscsi_cmd *cmd, in iscsit_tmr_abort_task()
34 struct iscsi_cmd *ref_cmd; in iscsit_tmr_abort_task()
106 struct iscsi_cmd *cmd, in iscsit_tmr_task_reassign()
109 struct iscsi_cmd *ref_cmd = NULL; in iscsit_tmr_task_reassign()
178 struct iscsi_cmd *cmd, in iscsit_task_reassign_remove_cmd()
198 struct iscsi_cmd *cmd = tmr_req->ref_cmd; in iscsit_task_reassign_complete_nop_out()
227 struct iscsi_cmd *cmd, in iscsit_task_reassign_complete_write()
299 struct iscsi_cmd *cmd, in iscsit_task_reassign_complete_read()
352 struct iscsi_cmd *cmd, in iscsit_task_reassign_complete_none()
366 struct iscsi_cmd *cmd = tmr_req->ref_cmd; in iscsit_task_reassign_complete_scsi_cmnd()
[all …]
Discsi_target_erl1.c90 struct iscsi_cmd *cmd, in iscsit_send_recovery_r2t_for_snack()
112 struct iscsi_cmd *cmd, in iscsit_handle_r2t_snack()
170 struct iscsi_cmd *cmd, in iscsit_create_recovery_datain_values_datasequenceinorder_yes()
216 struct iscsi_cmd *cmd, in iscsit_create_recovery_datain_values_datasequenceinorder_no()
374 struct iscsi_cmd *cmd, in iscsit_handle_recovery_datain()
442 struct iscsi_cmd *cmd; in iscsit_handle_recovery_datain_or_r2t()
474 struct iscsi_cmd *cmd = NULL; in iscsit_handle_status_snack()
537 struct iscsi_cmd *cmd = NULL; in iscsit_handle_data_ack()
568 struct iscsi_cmd *cmd, in iscsit_send_recovery_r2t()
582 struct iscsi_cmd *cmd, in iscsit_dataout_datapduinorder_no_fbit()
[all …]
Discsi_target_seq_pdu_list.c21 static void iscsit_dump_seq_list(struct iscsi_cmd *cmd) in iscsit_dump_seq_list()
39 static void iscsit_dump_pdu_list(struct iscsi_cmd *cmd) in iscsit_dump_pdu_list()
55 static void iscsit_dump_seq_list(struct iscsi_cmd *cmd) {} in iscsit_dump_seq_list()
56 static void iscsit_dump_pdu_list(struct iscsi_cmd *cmd) {} in iscsit_dump_pdu_list()
60 struct iscsi_cmd *cmd, in iscsit_ordered_seq_lists()
73 struct iscsi_cmd *cmd, in iscsit_ordered_pdu_lists()
120 struct iscsi_cmd *cmd, in iscsit_randomize_pdu_lists()
170 struct iscsi_cmd *cmd, in iscsit_randomize_seq_lists()
202 struct iscsi_cmd *cmd, in iscsit_determine_counts_for_list()
286 struct iscsi_cmd *cmd, in iscsit_do_build_pdu_and_seq_lists()
[all …]
Discsi_target.c62 static int iscsit_handle_immediate_data(struct iscsi_cmd *,
477 int iscsit_queue_rsp(struct iscsi_conn *conn, struct iscsi_cmd *cmd) in iscsit_queue_rsp()
483 void iscsit_aborted_task(struct iscsi_conn *conn, struct iscsi_cmd *cmd) in iscsit_aborted_task()
499 iscsit_xmit_nondatain_pdu(struct iscsi_conn *conn, struct iscsi_cmd *cmd, in iscsit_xmit_nondatain_pdu()
567 static int iscsit_map_iovec(struct iscsi_cmd *cmd, struct kvec *iov, int nvec,
569 static void iscsit_unmap_iovec(struct iscsi_cmd *);
570 static u32 iscsit_do_crypto_hash_sg(struct ahash_request *, struct iscsi_cmd *,
573 iscsit_xmit_datain_pdu(struct iscsi_conn *conn, struct iscsi_cmd *cmd, in iscsit_xmit_datain_pdu()
647 static int iscsit_xmit_pdu(struct iscsi_conn *conn, struct iscsi_cmd *cmd, in iscsit_xmit_pdu()
794 struct iscsi_cmd *cmd; in iscsit_add_reject()
[all …]
Discsi_target_device.h5 struct iscsi_cmd;
9 extern void iscsit_increment_maxcmdsn(struct iscsi_cmd *, struct iscsi_session *);
Discsi_target_erl2.c29 struct iscsi_cmd *cmd, in iscsit_create_conn_recovery_datain_values()
57 struct iscsi_cmd *cmd) in iscsit_create_conn_recovery_dataout_values()
122 struct iscsi_cmd *cmd, *cmd_tmp; in iscsit_free_connection_recovery_entries()
200 struct iscsi_cmd *cmd, in iscsit_remove_cmd_from_connection_recovery()
221 struct iscsi_cmd *cmd, *cmd_tmp; in iscsit_discard_cr_cmds_by_expstatsn()
269 struct iscsi_cmd *cmd, *cmd_tmp; in iscsit_discard_unacknowledged_ooo_cmdsns_for_conn()
310 struct iscsi_cmd *cmd, *cmd_tmp; in iscsit_prepare_cmds_for_reallegiance()
Discsi_target_erl0.c32 struct iscsi_cmd *cmd) in iscsit_set_dataout_sequence_values()
66 struct iscsi_cmd *cmd, in iscsit_dataout_within_command_recovery_check()
132 struct iscsi_cmd *cmd, in iscsit_dataout_check_unsolicited_sequence()
207 struct iscsi_cmd *cmd, in iscsit_dataout_check_sequence()
336 struct iscsi_cmd *cmd, in iscsit_dataout_check_datasn()
387 struct iscsi_cmd *cmd, in iscsit_dataout_pre_datapduinorder_yes()
449 struct iscsi_cmd *cmd, in iscsit_dataout_pre_datapduinorder_no()
480 static int iscsit_dataout_update_r2t(struct iscsi_cmd *cmd, u32 offset, u32 length) in iscsit_dataout_update_r2t()
500 struct iscsi_cmd *cmd, in iscsit_dataout_update_datapduinorder_no()
533 struct iscsi_cmd *cmd, in iscsit_dataout_post_crc_passed()
[all …]
Discsi_target_datain_values.c35 void iscsit_attach_datain_req(struct iscsi_cmd *cmd, struct iscsi_datain_req *dr) in iscsit_attach_datain_req()
42 void iscsit_free_datain_req(struct iscsi_cmd *cmd, struct iscsi_datain_req *dr) in iscsit_free_datain_req()
51 void iscsit_free_all_datain_reqs(struct iscsi_cmd *cmd) in iscsit_free_all_datain_reqs()
63 struct iscsi_datain_req *iscsit_get_datain_req(struct iscsi_cmd *cmd) in iscsit_get_datain_req()
79 struct iscsi_cmd *cmd, in iscsit_set_datain_values_yes_and_yes()
177 struct iscsi_cmd *cmd, in iscsit_set_datain_values_no_and_yes()
298 struct iscsi_cmd *cmd, in iscsit_set_datain_values_yes_and_no()
397 struct iscsi_cmd *cmd, in iscsit_set_datain_values_no_and_no()
499 struct iscsi_cmd *cmd, in iscsit_get_datain_values()
Discsi_target_configfs.c1340 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); in iscsi_get_cmd_state()
1366 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); in lio_queue_data_in()
1375 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); in lio_write_pending()
1386 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); in lio_queue_status()
1399 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); in lio_queue_tm_rsp()
1407 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); in lio_aborted_task()
1522 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); in lio_release_cmd()
Discsi_target_device.c45 void iscsit_increment_maxcmdsn(struct iscsi_cmd *cmd, struct iscsi_session *sess) in iscsit_increment_maxcmdsn()
/Linux-v5.10/drivers/infiniband/ulp/isert/
Dib_isert.c37 isert_put_response(struct iscsi_conn *conn, struct iscsi_cmd *cmd);
998 static struct iscsi_cmd
1003 struct iscsi_cmd *cmd; in isert_allocate_cmd()
1012 isert_cmd->iscsi_cmd = cmd; in isert_allocate_cmd()
1020 struct isert_cmd *isert_cmd, struct iscsi_cmd *cmd, in isert_handle_scsi_cmd()
1093 struct iscsi_cmd *cmd = NULL; in isert_handle_iscsi_dataout()
1149 struct iscsi_cmd *cmd, struct iser_rx_desc *rx_desc, in isert_handle_nop_out()
1168 struct iscsi_cmd *cmd, struct iser_rx_desc *rx_desc, in isert_handle_text_cmd()
1199 struct iscsi_cmd *cmd; in isert_rx_opcode()
1382 struct se_cmd *se_cmd = &cmd->iscsi_cmd->se_cmd; in isert_rdma_rw_ctx_destroy()
[all …]
Dib_isert.h146 struct iscsi_cmd *iscsi_cmd; member
/Linux-v5.10/drivers/target/iscsi/cxgbit/
Dcxgbit.h330 int cxgbit_xmit_pdu(struct iscsi_conn *, struct iscsi_cmd *,
332 void cxgbit_get_r2t_ttt(struct iscsi_conn *, struct iscsi_cmd *,
343 int cxgbit_reserve_ttt(struct cxgbit_sock *, struct iscsi_cmd *);
344 void cxgbit_unmap_cmd(struct iscsi_conn *, struct iscsi_cmd *);
Dcxgbit_target.c341 cxgbit_map_skb(struct iscsi_cmd *cmd, struct sk_buff *skb, u32 data_offset, in cxgbit_map_skb()
394 cxgbit_tx_datain_iso(struct cxgbit_sock *csk, struct iscsi_cmd *cmd, in cxgbit_tx_datain_iso()
485 cxgbit_tx_datain(struct cxgbit_sock *csk, struct iscsi_cmd *cmd, in cxgbit_tx_datain()
514 cxgbit_xmit_datain_pdu(struct iscsi_conn *conn, struct iscsi_cmd *cmd, in cxgbit_xmit_datain_pdu()
534 cxgbit_xmit_nondatain_pdu(struct iscsi_conn *conn, struct iscsi_cmd *cmd, in cxgbit_xmit_nondatain_pdu()
564 cxgbit_xmit_pdu(struct iscsi_conn *conn, struct iscsi_cmd *cmd, in cxgbit_xmit_pdu()
836 static struct iscsi_cmd *cxgbit_allocate_cmd(struct cxgbit_sock *csk) in cxgbit_allocate_cmd()
841 struct iscsi_cmd *cmd; in cxgbit_allocate_cmd()
857 cxgbit_handle_immediate_data(struct iscsi_cmd *cmd, struct iscsi_scsi_req *hdr, in cxgbit_handle_immediate_data()
914 cxgbit_get_immediate_data(struct iscsi_cmd *cmd, struct iscsi_scsi_req *hdr, in cxgbit_get_immediate_data()
[all …]

12