Home
last modified time | relevance | path

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

12

/linux-6.1.9/include/scsi/
Dlibiscsi.h121 struct iscsi_conn *conn; /* used connection */
174 struct iscsi_conn { struct
344 struct iscsi_conn *leadconn; /* leading connection */
446 extern void iscsi_conn_failure(struct iscsi_conn *conn, enum iscsi_err err);
453 extern void iscsi_suspend_tx(struct iscsi_conn *conn);
454 extern void iscsi_suspend_rx(struct iscsi_conn *conn);
455 extern void iscsi_suspend_queue(struct iscsi_conn *conn);
456 extern void iscsi_conn_queue_xmit(struct iscsi_conn *conn);
457 extern void iscsi_conn_queue_recv(struct iscsi_conn *conn);
460 iscsi_cls_conn_printk(prefix, ((struct iscsi_conn *)_c)->cls_conn, \
[all …]
Dlibiscsi_tcp.h57 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);
Dscsi_transport_iscsi.h24 struct iscsi_conn;
118 void (*parse_pdu_itt) (struct iscsi_conn *conn, itt_t itt,
/linux-6.1.9/drivers/scsi/
Discsi_tcp.c87 struct iscsi_conn *conn = rd_desc->arg.data; in iscsi_sw_tcp_recv()
117 struct iscsi_conn *conn = sk->sk_user_data; in iscsi_sw_sk_state_check()
129 static void iscsi_sw_tcp_recv_data(struct iscsi_conn *conn) in iscsi_sw_tcp_recv_data()
156 struct iscsi_conn *conn = container_of(work, struct iscsi_conn, in iscsi_sw_tcp_recv_data_work()
171 struct iscsi_conn *conn; in iscsi_sw_tcp_data_ready()
193 struct iscsi_conn *conn; in iscsi_sw_tcp_state_change()
220 struct iscsi_conn *conn; in iscsi_sw_tcp_write_space()
243 static void iscsi_sw_tcp_conn_set_callbacks(struct iscsi_conn *conn) in iscsi_sw_tcp_conn_set_callbacks()
262 iscsi_sw_tcp_conn_restore_callbacks(struct iscsi_conn *conn) in iscsi_sw_tcp_conn_restore_callbacks()
343 static int iscsi_sw_tcp_xmit(struct iscsi_conn *conn) in iscsi_sw_tcp_xmit()
[all …]
Dlibiscsi_tcp.c197 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 …]
Dlibiscsi.c88 inline void iscsi_conn_queue_xmit(struct iscsi_conn *conn) in iscsi_conn_queue_xmit()
98 inline void iscsi_conn_queue_recv(struct iscsi_conn *conn) in iscsi_conn_queue_recv()
149 struct iscsi_conn *conn = task->conn; in iscsi_prep_data_out_pdu()
316 struct iscsi_conn *conn = task->conn; in iscsi_prep_scsi_cmd_pdu()
456 struct iscsi_conn *conn = task->conn; in iscsi_free_task()
527 struct iscsi_conn *conn = task->conn; in iscsi_complete_task()
561 struct iscsi_conn *conn = task->conn; in iscsi_complete_scsi_task()
576 struct iscsi_conn *conn = task->conn; in cleanup_queued_task()
617 struct iscsi_conn *conn = task->conn; in __fail_scsi_task()
652 static int iscsi_prep_mgmt_task(struct iscsi_conn *conn, in iscsi_prep_mgmt_task()
[all …]
/linux-6.1.9/drivers/infiniband/ulp/iser/
Discsi_iser.c138 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 …]
Discsi_iser.h408 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,
Diser_initiator.c299 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()
Diser_verbs.c475 if (iser_conn->iscsi_conn) in iser_conn_terminate()
476 iscsi_suspend_queue(iser_conn->iscsi_conn); in iser_conn_terminate()
665 if (iser_conn->iscsi_conn) in iser_disconnected_handler()
666 iscsi_conn_failure(iser_conn->iscsi_conn, in iser_disconnected_handler()
961 if (iser_conn->iscsi_conn) in iser_err_comp()
962 iscsi_conn_failure(iser_conn->iscsi_conn, in iser_err_comp()
/linux-6.1.9/drivers/scsi/qedi/
Dqedi_fw.c35 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 …]
Dqedi_iscsi.c298 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()
Dqedi_main.c950 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-6.1.9/drivers/scsi/be2iscsi/
Dbe_iscsi.h32 void beiscsi_offload_iscsi(struct beiscsi_hba *phba, struct iscsi_conn *conn,
Dbe_iscsi.c137 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()
Dbe_main.c228 struct iscsi_conn *conn; in beiscsi_eh_abort()
288 struct iscsi_conn *conn; in beiscsi_eh_device_reset()
1124 struct iscsi_conn *conn = beiscsi_conn->conn; in be_complete_io()
1191 struct iscsi_conn *conn = beiscsi_conn->conn; in be_complete_logout()
1217 struct iscsi_conn *conn = beiscsi_conn->conn; in be_complete_tmf()
1273 struct iscsi_conn *conn = beiscsi_conn->conn; in be_complete_nopin_resp()
1344 struct iscsi_conn *conn = beiscsi_conn->conn; in hwi_complete_cmd()
1428 struct iscsi_conn *conn = beiscsi_conn->conn; in beiscsi_complete_pdu()
4250 struct iscsi_conn *conn = task->conn; in beiscsi_cleanup_task()
4349 static void beiscsi_parse_pdu(struct iscsi_conn *conn, itt_t itt, in beiscsi_parse_pdu()
[all …]
Dbe_main.h408 struct iscsi_conn *conn;
/linux-6.1.9/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c1158 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()
Dbnx2i_hwi.c385 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 …]
Dbnx2i.h853 extern void bnx2i_update_iscsi_conn(struct iscsi_conn *conn);
/linux-6.1.9/drivers/scsi/cxgbi/
Dlibcxgbi.c1385 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 …]
Dlibcxgbi.h530 struct iscsi_conn *iconn;
634 void cxgbi_parse_pdu_itt(struct iscsi_conn *, itt_t, int *, int *);
/linux-6.1.9/drivers/net/ethernet/broadcom/
Dcnic.h282 atomic_t iscsi_conn; member
Dcnic.c1914 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()
4228 if (atomic_read(&cp->iscsi_conn) != 0) in cnic_cm_stop_bnx2x_hw()
4230 atomic_read(&cp->iscsi_conn)); in cnic_cm_stop_bnx2x_hw()
4306 atomic_dec(&cp->iscsi_conn); in cnic_delete_task()
/linux-6.1.9/drivers/scsi/qla4xxx/
Dql4_os.c2916 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()

12