/Linux-v5.4/include/target/iscsi/ |
D | iscsi_transport.h | 21 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 …]
|
D | iscsi_target_core.h | 300 struct iscsi_cmd *cmd; 340 struct iscsi_cmd *cmd; 362 struct iscsi_cmd { struct 516 struct iscsi_cmd *ref_cmd; argument 908 extern struct iscsi_cmd *iscsit_find_cmd_from_itt(struct iscsi_conn *, itt_t);
|
/Linux-v5.4/drivers/target/iscsi/ |
D | iscsi_target_util.h | 10 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 …]
|
D | iscsi_target_erl1.h | 8 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 *);
|
D | iscsi_target_datain_values.h | 5 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 *,
|
D | iscsi_target.h | 8 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);
|
D | iscsi_target_tmr.h | 7 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 *);
|
D | iscsi_target_erl0.h | 7 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);
|
D | iscsi_target_erl2.h | 7 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 *,
|
D | iscsi_target_seq_pdu_list.h | 85 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);
|
D | iscsi_target_util.c | 52 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 …]
|
D | iscsi_target_tmr.c | 31 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 …]
|
D | iscsi_target_erl1.c | 90 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 …]
|
D | iscsi_target_seq_pdu_list.c | 21 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 …]
|
D | iscsi_target.c | 62 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() 500 iscsit_xmit_nondatain_pdu(struct iscsi_conn *conn, struct iscsi_cmd *cmd, in iscsit_xmit_nondatain_pdu() 568 static int iscsit_map_iovec(struct iscsi_cmd *cmd, struct kvec *iov, int nvec, 570 static void iscsit_unmap_iovec(struct iscsi_cmd *); 571 static u32 iscsit_do_crypto_hash_sg(struct ahash_request *, struct iscsi_cmd *, 574 iscsit_xmit_datain_pdu(struct iscsi_conn *conn, struct iscsi_cmd *cmd, in iscsit_xmit_datain_pdu() 648 static int iscsit_xmit_pdu(struct iscsi_conn *conn, struct iscsi_cmd *cmd, in iscsit_xmit_pdu() 795 struct iscsi_cmd *cmd; in iscsit_add_reject() [all …]
|
D | iscsi_target_device.h | 5 struct iscsi_cmd; 9 extern void iscsit_increment_maxcmdsn(struct iscsi_cmd *, struct iscsi_session *);
|
D | iscsi_target_erl2.c | 29 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()
|
D | iscsi_target_erl0.c | 32 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 …]
|
D | iscsi_target_datain_values.c | 35 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()
|
D | iscsi_target_configfs.c | 1340 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() 1519 struct iscsi_cmd *cmd = container_of(se_cmd, struct iscsi_cmd, se_cmd); in lio_release_cmd()
|
D | iscsi_target_device.c | 45 void iscsit_increment_maxcmdsn(struct iscsi_cmd *cmd, struct iscsi_session *sess) in iscsit_increment_maxcmdsn()
|
/Linux-v5.4/drivers/infiniband/ulp/isert/ |
D | ib_isert.c | 43 isert_put_response(struct iscsi_conn *conn, struct iscsi_cmd *cmd); 1100 static struct iscsi_cmd 1105 struct iscsi_cmd *cmd; in isert_allocate_cmd() 1114 isert_cmd->iscsi_cmd = cmd; in isert_allocate_cmd() 1122 struct isert_cmd *isert_cmd, struct iscsi_cmd *cmd, in isert_handle_scsi_cmd() 1194 struct iscsi_cmd *cmd = NULL; in isert_handle_iscsi_dataout() 1255 struct iscsi_cmd *cmd, struct iser_rx_desc *rx_desc, in isert_handle_nop_out() 1274 struct iscsi_cmd *cmd, struct iser_rx_desc *rx_desc, in isert_handle_text_cmd() 1305 struct iscsi_cmd *cmd; in isert_rx_opcode() 1488 struct se_cmd *se_cmd = &cmd->iscsi_cmd->se_cmd; in isert_rdma_rw_ctx_destroy() [all …]
|
D | ib_isert.h | 123 struct iscsi_cmd *iscsi_cmd; member
|
/Linux-v5.4/drivers/target/iscsi/cxgbit/ |
D | cxgbit.h | 331 int cxgbit_xmit_pdu(struct iscsi_conn *, struct iscsi_cmd *, 333 void cxgbit_get_r2t_ttt(struct iscsi_conn *, struct iscsi_cmd *, 344 int cxgbit_reserve_ttt(struct cxgbit_sock *, struct iscsi_cmd *); 345 void cxgbit_unmap_cmd(struct iscsi_conn *, struct iscsi_cmd *);
|
D | cxgbit_target.c | 357 cxgbit_map_skb(struct iscsi_cmd *cmd, struct sk_buff *skb, u32 data_offset, in cxgbit_map_skb() 410 cxgbit_tx_datain_iso(struct cxgbit_sock *csk, struct iscsi_cmd *cmd, in cxgbit_tx_datain_iso() 501 cxgbit_tx_datain(struct cxgbit_sock *csk, struct iscsi_cmd *cmd, in cxgbit_tx_datain() 530 cxgbit_xmit_datain_pdu(struct iscsi_conn *conn, struct iscsi_cmd *cmd, in cxgbit_xmit_datain_pdu() 550 cxgbit_xmit_nondatain_pdu(struct iscsi_conn *conn, struct iscsi_cmd *cmd, in cxgbit_xmit_nondatain_pdu() 580 cxgbit_xmit_pdu(struct iscsi_conn *conn, struct iscsi_cmd *cmd, in cxgbit_xmit_pdu() 852 static struct iscsi_cmd *cxgbit_allocate_cmd(struct cxgbit_sock *csk) in cxgbit_allocate_cmd() 857 struct iscsi_cmd *cmd; in cxgbit_allocate_cmd() 873 cxgbit_handle_immediate_data(struct iscsi_cmd *cmd, struct iscsi_scsi_req *hdr, in cxgbit_handle_immediate_data() 930 cxgbit_get_immediate_data(struct iscsi_cmd *cmd, struct iscsi_scsi_req *hdr, in cxgbit_get_immediate_data() [all …]
|