Home
last modified time | relevance | path

Searched refs:cls_conn (Results 1 – 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/
Discsi_tcp.c68 &(_conn)->cls_conn->dev, \
548 struct iscsi_cls_conn *cls_conn; in iscsi_sw_tcp_conn_create() local
553 cls_conn = iscsi_tcp_conn_setup(cls_session, sizeof(*tcp_sw_conn), in iscsi_sw_tcp_conn_create()
555 if (!cls_conn) in iscsi_sw_tcp_conn_create()
557 conn = cls_conn->dd_data; in iscsi_sw_tcp_conn_create()
579 return cls_conn; in iscsi_sw_tcp_conn_create()
591 iscsi_tcp_conn_teardown(cls_conn); in iscsi_sw_tcp_conn_create()
619 static void iscsi_sw_tcp_conn_destroy(struct iscsi_cls_conn *cls_conn) in iscsi_sw_tcp_conn_destroy() argument
621 struct iscsi_conn *conn = cls_conn->dd_data; in iscsi_sw_tcp_conn_destroy()
636 iscsi_tcp_conn_teardown(cls_conn); in iscsi_sw_tcp_conn_destroy()
[all …]
Dlibiscsi.c60 &(_conn)->cls_conn->dev, \
775 int iscsi_conn_send_pdu(struct iscsi_cls_conn *cls_conn, struct iscsi_hdr *hdr, in iscsi_conn_send_pdu() argument
778 struct iscsi_conn *conn = cls_conn->dd_data; in iscsi_conn_send_pdu()
1008 if (iscsi_recv_pdu(conn->cls_conn, (struct iscsi_hdr *)nop, in iscsi_nop_out_rsp()
1186 if (iscsi_recv_pdu(conn->cls_conn, hdr, data, datalen)) in __iscsi_complete_pdu()
1274 if (iscsi_recv_pdu(conn->cls_conn, hdr, data, datalen)) in __iscsi_complete_pdu()
1368 iscsi_get_conn(conn->cls_conn); in iscsi_session_failure()
1376 iscsi_conn_error_event(conn->cls_conn, err); in iscsi_session_failure()
1379 iscsi_put_conn(conn->cls_conn); in iscsi_session_failure()
1408 iscsi_conn_error_event(conn->cls_conn, err); in iscsi_conn_failure()
[all …]
Dlibiscsi_tcp.c59 &(_conn)->cls_conn->dev, \
1123 struct iscsi_cls_conn *cls_conn; in iscsi_tcp_conn_setup() local
1126 cls_conn = iscsi_conn_setup(cls_session, in iscsi_tcp_conn_setup()
1128 if (!cls_conn) in iscsi_tcp_conn_setup()
1130 conn = cls_conn->dd_data; in iscsi_tcp_conn_setup()
1140 return cls_conn; in iscsi_tcp_conn_setup()
1144 void iscsi_tcp_conn_teardown(struct iscsi_cls_conn *cls_conn) in iscsi_tcp_conn_teardown() argument
1146 iscsi_conn_teardown(cls_conn); in iscsi_tcp_conn_teardown()
1231 void iscsi_tcp_conn_get_stats(struct iscsi_cls_conn *cls_conn, in iscsi_tcp_conn_get_stats() argument
1234 struct iscsi_conn *conn = cls_conn->dd_data; in iscsi_tcp_conn_get_stats()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/iser/
Discsi_iser.c429 struct iscsi_cls_conn *cls_conn; in iscsi_iser_conn_create() local
431 cls_conn = iscsi_conn_setup(cls_session, 0, conn_idx); in iscsi_iser_conn_create()
432 if (!cls_conn) in iscsi_iser_conn_create()
434 conn = cls_conn->dd_data; in iscsi_iser_conn_create()
442 return cls_conn; in iscsi_iser_conn_create()
458 struct iscsi_cls_conn *cls_conn, in iscsi_iser_conn_bind() argument
462 struct iscsi_conn *conn = cls_conn->dd_data; in iscsi_iser_conn_bind()
467 error = iscsi_conn_bind(cls_session, cls_conn, is_leading); in iscsi_iser_conn_bind()
516 iscsi_iser_conn_start(struct iscsi_cls_conn *cls_conn) in iscsi_iser_conn_start() argument
521 iscsi_conn = cls_conn->dd_data; in iscsi_iser_conn_start()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/be2iscsi/
Dbe_iscsi.h49 struct iscsi_cls_conn *cls_conn,
60 int beiscsi_set_param(struct iscsi_cls_conn *cls_conn,
63 int beiscsi_conn_start(struct iscsi_cls_conn *cls_conn);
73 void beiscsi_conn_get_stats(struct iscsi_cls_conn *cls_conn,
Dbe_iscsi.c135 struct iscsi_cls_conn *cls_conn; in beiscsi_conn_create() local
148 cls_conn = iscsi_conn_setup(cls_session, sizeof(*beiscsi_conn), cid); in beiscsi_conn_create()
149 if (!cls_conn) in beiscsi_conn_create()
152 conn = cls_conn->dd_data; in beiscsi_conn_create()
160 return cls_conn; in beiscsi_conn_create()
173 struct iscsi_cls_conn *cls_conn, in beiscsi_conn_bind() argument
176 struct iscsi_conn *conn = cls_conn->dd_data; in beiscsi_conn_bind()
193 if (iscsi_conn_bind(cls_session, cls_conn, is_leading)) { in beiscsi_conn_bind()
651 int beiscsi_set_param(struct iscsi_cls_conn *cls_conn, in beiscsi_set_param() argument
654 struct iscsi_conn *conn = cls_conn->dd_data; in beiscsi_set_param()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/qedi/
Dqedi_iscsi.c158 iscsi_conn_printk(KERN_ERR, qedi_conn->cls_conn->dd_data, in qedi_conn_alloc_login_resources()
295 struct iscsi_cls_conn *cls_conn; in qedi_conn_create() local
299 cls_conn = iscsi_conn_setup(cls_session, sizeof(*qedi_conn), in qedi_conn_create()
301 if (!cls_conn) { in qedi_conn_create()
308 conn = cls_conn->dd_data; in qedi_conn_create()
310 qedi_conn->cls_conn = cls_conn; in qedi_conn_create()
324 return cls_conn; in qedi_conn_create()
327 iscsi_conn_teardown(cls_conn); in qedi_conn_create()
357 iscsi_conn_printk(KERN_ALERT, qedi_conn->cls_conn->dd_data, in qedi_bind_conn_to_iscsi_cid()
381 struct iscsi_cls_conn *cls_conn, in qedi_conn_bind() argument
[all …]
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()
181 struct iscsi_conn *conn = qedi_conn->cls_conn->dd_data; in qedi_process_tmf_resp()
251 struct iscsi_conn *conn = qedi_conn->cls_conn->dd_data; in qedi_process_login_resp()
402 struct iscsi_conn *conn = qedi_conn->cls_conn->dd_data; in qedi_process_nopin_mesg()
474 struct iscsi_conn *conn = qedi_conn->cls_conn->dd_data; in qedi_process_async_mesg()
528 struct iscsi_conn *conn = qedi_conn->cls_conn->dd_data; in qedi_process_reject_mesg()
678 iscsi_conn = conn->cls_conn->dd_data; in qedi_mtask_completion()
710 struct iscsi_conn *conn = qedi_conn->cls_conn->dd_data; in qedi_process_nopin_local_cmpl()
[all …]
Dqedi_iscsi.h149 struct iscsi_cls_conn *cls_conn; member
Dqedi_main.c948 struct iscsi_cls_conn *cls_conn; in qedi_find_boot_info() local
987 cls_conn = qedi_conn->cls_conn; in qedi_find_boot_info()
988 conn = cls_conn->dd_data; in qedi_find_boot_info()
989 cls_sess = iscsi_conn_to_session(cls_conn); in qedi_find_boot_info()
2825 iscsi_conn_failure(qedi_conn->cls_conn->dd_data, ISCSI_ERR_CONN_FAILED); in qedi_mark_conn_recovery()
/kernel/linux/linux-5.10/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c243 iscsi_conn_printk(KERN_ALERT, bnx2i_conn->cls_conn->dd_data, in bnx2i_bind_conn_to_iscsi_cid()
1033 iscsi_conn_printk(KERN_ERR, bnx2i_conn->cls_conn->dd_data, in bnx2i_conn_alloc_login_resources()
1112 iscsi_conn_printk(KERN_ALERT, bnx2i_conn->cls_conn->dd_data, in bnx2i_iscsi_send_generic_request()
1360 struct iscsi_cls_conn *cls_conn; in bnx2i_conn_create() local
1363 cls_conn = iscsi_conn_setup(cls_session, sizeof(*bnx2i_conn), in bnx2i_conn_create()
1365 if (!cls_conn) in bnx2i_conn_create()
1367 conn = cls_conn->dd_data; in bnx2i_conn_create()
1370 bnx2i_conn->cls_conn = cls_conn; in bnx2i_conn_create()
1385 return cls_conn; in bnx2i_conn_create()
1388 iscsi_conn_teardown(cls_conn); in bnx2i_conn_create()
[all …]
Dbnx2i_hwi.c385 struct iscsi_conn *conn = bnx2i_conn->cls_conn->dd_data; in bnx2i_send_iscsi_tmf()
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()
1754 iscsi_conn_printk(KERN_ALERT, bnx2i_conn->cls_conn->dd_data, in bnx2i_process_async_mesg()
1776 __iscsi_complete_pdu(bnx2i_conn->cls_conn->dd_data, in bnx2i_process_async_mesg()
[all …]
Dbnx2i.h284 struct iscsi_cls_conn *cls_conn; member
/kernel/linux/linux-5.10/include/scsi/
Dlibiscsi.h157 struct iscsi_cls_conn *cls_conn; /* ptr to class connection */ member
408 extern int iscsi_set_param(struct iscsi_cls_conn *cls_conn,
426 extern void iscsi_conn_unbind(struct iscsi_cls_conn *cls_conn, bool is_active);
430 extern int iscsi_conn_get_param(struct iscsi_cls_conn *cls_conn,
439 iscsi_cls_conn_printk(prefix, ((struct iscsi_conn *)_c)->cls_conn, \
Dlibiscsi_tcp.h118 extern void iscsi_tcp_conn_teardown(struct iscsi_cls_conn *cls_conn);
124 extern void iscsi_tcp_conn_get_stats(struct iscsi_cls_conn *cls_conn,
Dscsi_transport_iscsi.h87 struct iscsi_cls_conn *cls_conn,
/kernel/linux/linux-5.10/drivers/scsi/qla4xxx/
Dql4_os.c131 struct iscsi_cls_conn *cls_conn,
143 static void qla4xxx_conn_get_stats(struct iscsi_cls_conn *cls_conn,
1811 static void qla4xxx_conn_get_stats(struct iscsi_cls_conn *cls_conn, in qla4xxx_conn_get_stats() argument
1823 cls_sess = iscsi_conn_to_session(cls_conn); in qla4xxx_conn_get_stats()
2854 struct iscsi_cls_conn *cls_conn = ddb_entry->conn; in qla4xxx_session_get_param() local
2902 iscsi_set_param(cls_conn, ISCSI_PARAM_USERNAME, in qla4xxx_session_get_param()
2905 iscsi_set_param(cls_conn, ISCSI_PARAM_PASSWORD, in qla4xxx_session_get_param()
2918 static int qla4xxx_conn_get_param(struct iscsi_cls_conn *cls_conn, in qla4xxx_conn_get_param() argument
2925 conn = cls_conn->dd_data; in qla4xxx_conn_get_param()
2935 return iscsi_conn_get_param(cls_conn, param, buf); in qla4xxx_conn_get_param()
[all …]
Dql4_isr.c369 struct iscsi_cls_conn *cls_conn; in qla4xxx_passthru_status_entry() local
385 cls_conn = ddb_entry->conn; in qla4xxx_passthru_status_entry()
386 conn = cls_conn->dd_data; in qla4xxx_passthru_status_entry()
Dql4_glbl.h150 struct iscsi_cls_conn *cls_conn,
Dql4_mbx.c1980 struct iscsi_cls_conn *cls_conn, in qla4xxx_set_param_ddbentry() argument
2008 conn = cls_conn->dd_data; in qla4xxx_set_param_ddbentry()
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/
Dlibcxgbi.c2505 void cxgbi_get_conn_stats(struct iscsi_cls_conn *cls_conn, in cxgbi_get_conn_stats() argument
2508 struct iscsi_conn *conn = cls_conn->dd_data; in cxgbi_get_conn_stats()
2568 int cxgbi_set_conn_param(struct iscsi_cls_conn *cls_conn, in cxgbi_set_conn_param() argument
2571 struct iscsi_conn *conn = cls_conn->dd_data; in cxgbi_set_conn_param()
2579 cls_conn, param, buflen, buf); in cxgbi_set_conn_param()
2583 err = iscsi_set_param(cls_conn, param, buf, buflen); in cxgbi_set_conn_param()
2590 err = iscsi_set_param(cls_conn, param, buf, buflen); in cxgbi_set_conn_param()
2599 err = iscsi_set_param(cls_conn, param, buf, buflen); in cxgbi_set_conn_param()
2604 err = iscsi_set_param(cls_conn, param, buf, buflen); in cxgbi_set_conn_param()
2609 return iscsi_set_param(cls_conn, param, buf, buflen); in cxgbi_set_conn_param()
[all …]