/linux-5.19.10/include/scsi/ |
D | libiscsi.h | 121 struct iscsi_conn *conn; /* used connection */ 177 struct iscsi_conn { struct 345 struct iscsi_conn *leadconn; /* leading connection */ 447 extern void iscsi_conn_failure(struct iscsi_conn *conn, enum iscsi_err err); 454 extern void iscsi_suspend_tx(struct iscsi_conn *conn); 455 extern void iscsi_suspend_queue(struct iscsi_conn *conn); 456 extern void iscsi_conn_queue_work(struct iscsi_conn *conn); 459 iscsi_cls_conn_printk(prefix, ((struct iscsi_conn *)_c)->cls_conn, \ 471 extern int iscsi_complete_pdu(struct iscsi_conn *, struct iscsi_hdr *, 473 extern int __iscsi_complete_pdu(struct iscsi_conn *, struct iscsi_hdr *, [all …]
|
D | libiscsi_tcp.h | 57 struct iscsi_conn *iscsi_conn; member 87 extern int iscsi_tcp_recv_skb(struct iscsi_conn *conn, struct sk_buff *skb, 123 extern int iscsi_tcp_set_max_r2t(struct iscsi_conn *conn, char *buf);
|
D | scsi_transport_iscsi.h | 24 struct iscsi_conn; 118 void (*parse_pdu_itt) (struct iscsi_conn *conn, itt_t itt,
|
/linux-5.19.10/drivers/scsi/ |
D | libiscsi_tcp.c | 197 ISCSI_DBG_TCP(tcp_conn->iscsi_conn, "copied %u %u size %u %s\n", in iscsi_tcp_segment_done() 233 ISCSI_DBG_TCP(tcp_conn->iscsi_conn, "total copied %u total size %u\n", in iscsi_tcp_segment_done() 245 if (!(tcp_conn->iscsi_conn->session->tt->caps & CAP_PADDING_OFFLOAD)) { in iscsi_tcp_segment_done() 248 ISCSI_DBG_TCP(tcp_conn->iscsi_conn, in iscsi_tcp_segment_done() 300 ISCSI_DBG_TCP(tcp_conn->iscsi_conn, in iscsi_tcp_segment_recv() 306 ISCSI_DBG_TCP(tcp_conn->iscsi_conn, "copying %d\n", copy); in iscsi_tcp_segment_recv() 334 ISCSI_DBG_TCP(tcp_conn->iscsi_conn, "digest mismatch\n"); in iscsi_tcp_dgst_verify() 402 ISCSI_DBG_TCP(tcp_conn->iscsi_conn, in iscsi_tcp_hdr_recv_prep() 403 "(%s)\n", tcp_conn->iscsi_conn->hdrdgst_en ? in iscsi_tcp_hdr_recv_prep() 418 struct iscsi_conn *conn = tcp_conn->iscsi_conn; in iscsi_tcp_data_recv_done() [all …]
|
D | iscsi_tcp.c | 83 struct iscsi_conn *conn = rd_desc->arg.data; in iscsi_sw_tcp_recv() 113 struct iscsi_conn *conn = sk->sk_user_data; in iscsi_sw_sk_state_check() 127 struct iscsi_conn *conn; in iscsi_sw_tcp_data_ready() 161 struct iscsi_conn *conn; in iscsi_sw_tcp_state_change() 188 struct iscsi_conn *conn; in iscsi_sw_tcp_write_space() 211 static void iscsi_sw_tcp_conn_set_callbacks(struct iscsi_conn *conn) in iscsi_sw_tcp_conn_set_callbacks() 230 iscsi_sw_tcp_conn_restore_callbacks(struct iscsi_conn *conn) in iscsi_sw_tcp_conn_restore_callbacks() 308 static int iscsi_sw_tcp_xmit(struct iscsi_conn *conn) in iscsi_sw_tcp_xmit() 359 static inline int iscsi_sw_tcp_xmit_qlen(struct iscsi_conn *conn) in iscsi_sw_tcp_xmit_qlen() 370 struct iscsi_conn *conn = task->conn; in iscsi_sw_tcp_pdu_xmit() [all …]
|
D | libiscsi.c | 86 inline void iscsi_conn_queue_work(struct iscsi_conn *conn) in iscsi_conn_queue_work() 137 struct iscsi_conn *conn = task->conn; in iscsi_prep_data_out_pdu() 304 struct iscsi_conn *conn = task->conn; in iscsi_prep_scsi_cmd_pdu() 444 struct iscsi_conn *conn = task->conn; in iscsi_free_task() 508 struct iscsi_conn *conn = task->conn; in iscsi_complete_task() 542 struct iscsi_conn *conn = task->conn; in iscsi_complete_scsi_task() 557 struct iscsi_conn *conn = task->conn; in cleanup_queued_task() 595 struct iscsi_conn *conn = task->conn; in fail_scsi_task() 625 static int iscsi_prep_mgmt_task(struct iscsi_conn *conn, in iscsi_prep_mgmt_task() 672 __iscsi_conn_send_pdu(struct iscsi_conn *conn, struct iscsi_hdr *hdr, in __iscsi_conn_send_pdu() [all …]
|
/linux-5.19.10/drivers/infiniband/ulp/iser/ |
D | iscsi_iser.c | 138 void iscsi_iser_recv(struct iscsi_conn *conn, struct iscsi_hdr *hdr, in iscsi_iser_recv() 267 static int iscsi_iser_mtask_xmit(struct iscsi_conn *conn, in iscsi_iser_mtask_xmit() 285 static int iscsi_iser_task_xmit_unsol_data(struct iscsi_conn *conn, in iscsi_iser_task_xmit_unsol_data() 322 struct iscsi_conn *conn = task->conn; in iscsi_iser_task_xmit() 424 struct iscsi_conn *conn; in iscsi_iser_conn_create() 456 struct iscsi_conn *conn = cls_conn->dd_data; in iscsi_iser_conn_bind() 493 iser_conn->iscsi_conn = conn; in iscsi_iser_conn_bind() 511 struct iscsi_conn *iscsi_conn; in iscsi_iser_conn_start() local 514 iscsi_conn = cls_conn->dd_data; in iscsi_iser_conn_start() 515 iser_conn = iscsi_conn->dd_data; in iscsi_iser_conn_start() [all …]
|
D | iscsi_iser.h | 408 struct iscsi_conn *iscsi_conn; member 476 int iser_send_control(struct iscsi_conn *conn, 479 int iser_send_command(struct iscsi_conn *conn, 482 int iser_send_data_out(struct iscsi_conn *conn, 486 void iscsi_iser_recv(struct iscsi_conn *conn,
|
D | iser_initiator.c | 299 static int iser_post_rx_bufs(struct iscsi_conn *conn, struct iscsi_hdr *req) in iser_post_rx_bufs() 338 int iser_send_command(struct iscsi_conn *conn, struct iscsi_task *task) in iser_send_command() 409 int iser_send_data_out(struct iscsi_conn *conn, struct iscsi_task *task, in iser_send_data_out() 471 int iser_send_control(struct iscsi_conn *conn, struct iscsi_task *task) in iser_send_control() 561 iscsi_iser_recv(iser_conn->iscsi_conn, hdr, data, length); in iser_login_rsp() 568 iser_conn->iscsi_conn->session->discovery_sess) in iser_login_rsp() 604 task = iscsi_itt_to_ctask(iser_conn->iscsi_conn, hdr->itt); in iser_check_remote_inv() 654 iscsi_conn_failure(iser_conn->iscsi_conn, in iser_task_rsp() 659 iscsi_iser_recv(iser_conn->iscsi_conn, hdr, desc->data, length); in iser_task_rsp()
|
D | iser_verbs.c | 473 if (iser_conn->iscsi_conn) in iser_conn_terminate() 474 iscsi_suspend_queue(iser_conn->iscsi_conn); in iser_conn_terminate() 663 if (iser_conn->iscsi_conn) in iser_disconnected_handler() 664 iscsi_conn_failure(iser_conn->iscsi_conn, in iser_disconnected_handler() 959 if (iser_conn->iscsi_conn) in iser_err_comp() 960 iscsi_conn_failure(iser_conn->iscsi_conn, in iser_err_comp()
|
/linux-5.19.10/drivers/scsi/qedi/ |
D | qedi_fw.c | 35 struct iscsi_conn *conn = qedi_conn->cls_conn->dd_data; in qedi_process_logout_resp() 86 struct iscsi_conn *conn = qedi_conn->cls_conn->dd_data; in qedi_process_text_resp() 154 struct iscsi_conn *conn = qedi_conn->cls_conn->dd_data; in qedi_tmf_resp_work() 183 struct iscsi_conn *conn = qedi_conn->cls_conn->dd_data; in qedi_process_tmf_resp() 262 struct iscsi_conn *conn = qedi_conn->cls_conn->dd_data; in qedi_process_login_resp() 413 struct iscsi_conn *conn = qedi_conn->cls_conn->dd_data; in qedi_process_nopin_mesg() 485 struct iscsi_conn *conn = qedi_conn->cls_conn->dd_data; in qedi_process_async_mesg() 539 struct iscsi_conn *conn = qedi_conn->cls_conn->dd_data; in qedi_process_reject_mesg() 578 struct iscsi_conn *conn) in qedi_scsi_completion() 678 struct iscsi_conn *iscsi_conn; in qedi_mtask_completion() local [all …]
|
D | qedi_iscsi.c | 298 struct iscsi_conn *conn; in qedi_conn_create() 385 struct iscsi_conn *conn = cls_conn->dd_data; in qedi_conn_bind() 437 struct iscsi_conn *conn = cls_conn->dd_data; in qedi_iscsi_update_conn() 619 struct iscsi_conn *conn = cls_conn->dd_data; in qedi_conn_start() 653 struct iscsi_conn *conn = cls_conn->dd_data; in qedi_conn_destroy() 722 struct iscsi_conn *conn = cls_conn->dd_data; in qedi_conn_get_stats() 811 static int qedi_mtask_xmit(struct iscsi_conn *conn, struct iscsi_task *task) in qedi_mtask_xmit() 833 struct iscsi_conn *conn = task->conn; in qedi_task_xmit() 1506 struct iscsi_conn *conn; in qedi_start_conn_recovery()
|
D | qedi_main.c | 950 struct iscsi_conn *conn; in qedi_find_boot_info() 1173 struct iscsi_conn *conn = session->leadconn; in qedi_set_conn_recovery() 2815 struct iscsi_conn *conn = session->leadconn; in qedi_mark_conn_recovery()
|
/linux-5.19.10/drivers/scsi/be2iscsi/ |
D | be_iscsi.h | 32 void beiscsi_offload_iscsi(struct beiscsi_hba *phba, struct iscsi_conn *conn,
|
D | be_iscsi.c | 137 struct iscsi_conn *conn; in beiscsi_conn_create() 176 struct iscsi_conn *conn = cls_conn->dd_data; in beiscsi_conn_bind() 654 struct iscsi_conn *conn = cls_conn->dd_data; in beiscsi_set_param() 827 struct iscsi_conn *conn = cls_conn->dd_data; in beiscsi_conn_get_stats() 858 struct iscsi_conn *conn = beiscsi_conn->conn; in beiscsi_set_params_for_offld() 900 struct iscsi_conn *conn = cls_conn->dd_data; in beiscsi_conn_start()
|
D | be_main.c | 228 struct iscsi_conn *conn; in beiscsi_eh_abort() 281 struct iscsi_conn *conn; in beiscsi_eh_device_reset() 1109 struct iscsi_conn *conn = beiscsi_conn->conn; in be_complete_io() 1176 struct iscsi_conn *conn = beiscsi_conn->conn; in be_complete_logout() 1202 struct iscsi_conn *conn = beiscsi_conn->conn; in be_complete_tmf() 1258 struct iscsi_conn *conn = beiscsi_conn->conn; in be_complete_nopin_resp() 1329 struct iscsi_conn *conn = beiscsi_conn->conn; in hwi_complete_cmd() 1413 struct iscsi_conn *conn = beiscsi_conn->conn; in beiscsi_complete_pdu() 4235 struct iscsi_conn *conn = task->conn; in beiscsi_cleanup_task() 4334 static void beiscsi_parse_pdu(struct iscsi_conn *conn, itt_t itt, in beiscsi_parse_pdu() [all …]
|
D | be_main.h | 408 struct iscsi_conn *conn;
|
/linux-5.19.10/drivers/scsi/bnx2i/ |
D | bnx2i_iscsi.c | 1158 struct iscsi_conn *conn = task->conn; in bnx2i_cleanup_task() 1187 bnx2i_mtask_xmit(struct iscsi_conn *conn, struct iscsi_task *task) in bnx2i_mtask_xmit() 1221 struct iscsi_conn *conn = task->conn; in bnx2i_task_xmit() 1361 struct iscsi_conn *conn; in bnx2i_conn_create() 1408 struct iscsi_conn *conn = cls_conn->dd_data; in bnx2i_conn_bind() 1483 struct iscsi_conn *conn = cls_conn->dd_data; in bnx2i_conn_destroy() 1610 struct iscsi_conn *conn = cls_conn->dd_data; in bnx2i_conn_start() 1644 struct iscsi_conn *conn = cls_conn->dd_data; in bnx2i_conn_get_stats() 1721 struct iscsi_conn *conn = ep->conn->cls_conn->dd_data; in bnx2i_tear_down_conn() 2034 struct iscsi_conn *conn = NULL; in bnx2i_hw_ep_disconnect()
|
D | bnx2i_hwi.c | 385 struct iscsi_conn *conn = bnx2i_conn->cls_conn->dd_data; in bnx2i_send_iscsi_tmf() 629 void bnx2i_update_iscsi_conn(struct iscsi_conn *conn) in bnx2i_update_iscsi_conn() 1340 struct iscsi_conn *conn = bnx2i_conn->cls_conn->dd_data; in bnx2i_process_scsi_cmd_resp() 1437 struct iscsi_conn *conn = bnx2i_conn->cls_conn->dd_data; in bnx2i_process_login_resp() 1505 struct iscsi_conn *conn = bnx2i_conn->cls_conn->dd_data; in bnx2i_process_text_resp() 1566 struct iscsi_conn *conn = bnx2i_conn->cls_conn->dd_data; in bnx2i_process_tmf_resp() 1605 struct iscsi_conn *conn = bnx2i_conn->cls_conn->dd_data; in bnx2i_process_logout_resp() 1651 struct iscsi_conn *conn = bnx2i_conn->cls_conn->dd_data; in bnx2i_process_nopin_local_cmpl() 1692 struct iscsi_conn *conn = bnx2i_conn->cls_conn->dd_data; in bnx2i_process_nopin_mesg() 1794 struct iscsi_conn *conn = bnx2i_conn->cls_conn->dd_data; in bnx2i_process_reject_mesg() [all …]
|
D | bnx2i.h | 853 extern void bnx2i_update_iscsi_conn(struct iscsi_conn *conn);
|
/linux-5.19.10/drivers/scsi/cxgbi/ |
D | libcxgbi.c | 1385 struct iscsi_conn *conn = task->conn; in task_reserve_itt() 1425 void cxgbi_parse_pdu_itt(struct iscsi_conn *conn, itt_t itt, int *idx, int *age) in cxgbi_parse_pdu_itt() 1453 struct iscsi_conn *conn = csk->user_data; in cxgbi_conn_tx_open() 1466 static inline int read_pdu_skb(struct iscsi_conn *conn, in read_pdu_skb() 1508 skb_read_pdu_bhs(struct cxgbi_sock *csk, struct iscsi_conn *conn, in skb_read_pdu_bhs() 1562 static int skb_read_pdu_data(struct iscsi_conn *conn, struct sk_buff *lskb, in skb_read_pdu_data() 1629 struct iscsi_conn *conn = csk->user_data; in cxgbi_conn_pdu_ready() 1887 struct iscsi_conn *conn = task->conn; in cxgbi_conn_alloc_pdu() 2067 struct iscsi_conn *conn = task->conn; in cxgbi_prep_iso_info() 2147 struct iscsi_conn *conn = task->conn; in cxgbi_conn_init_pdu() [all …]
|
D | libcxgbi.h | 530 struct iscsi_conn *iconn; 634 void cxgbi_parse_pdu_itt(struct iscsi_conn *, itt_t, int *, int *);
|
/linux-5.19.10/drivers/net/ethernet/broadcom/ |
D | cnic.h | 282 atomic_t iscsi_conn; member
|
D | cnic.c | 1914 if (atomic_inc_return(&cp->iscsi_conn) > dev->max_iscsi_conn) { in cnic_bnx2x_iscsi_ofld1() 1915 atomic_dec(&cp->iscsi_conn); in cnic_bnx2x_iscsi_ofld1() 1920 atomic_dec(&cp->iscsi_conn); in cnic_bnx2x_iscsi_ofld1() 1926 atomic_dec(&cp->iscsi_conn); in cnic_bnx2x_iscsi_ofld1() 2021 atomic_dec(&cp->iscsi_conn); in cnic_bnx2x_iscsi_destroy() 4229 if (atomic_read(&cp->iscsi_conn) != 0) in cnic_cm_stop_bnx2x_hw() 4231 atomic_read(&cp->iscsi_conn)); in cnic_cm_stop_bnx2x_hw() 4307 atomic_dec(&cp->iscsi_conn); in cnic_delete_task()
|
/linux-5.19.10/drivers/scsi/qla4xxx/ |
D | ql4_os.c | 2916 struct iscsi_conn *conn; in qla4xxx_conn_get_param() 3013 struct iscsi_conn *conn, *existing_conn; in qla4xxx_match_fwdb_session() 3214 struct iscsi_conn *conn; in qla4xxx_conn_bind() 3350 struct iscsi_conn *conn; in qla4xxx_task_work() 3743 static void qla4xxx_copy_to_sess_conn_params(struct iscsi_conn *conn, in qla4xxx_copy_to_sess_conn_params() 3851 struct iscsi_conn *conn; in qla4xxx_copy_fwddb_param() 3946 struct iscsi_conn *conn; in qla4xxx_update_session_conn_param() 6274 struct iscsi_conn *conn; in qla4xxx_get_param_ddb()
|