Home
last modified time | relevance | path

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

/drivers/scsi/
Discsi_tcp.c72 &(_conn)->cls_conn->dev, \
583 struct iscsi_cls_conn *cls_conn; in iscsi_sw_tcp_conn_create() local
588 cls_conn = iscsi_tcp_conn_setup(cls_session, sizeof(*tcp_sw_conn), in iscsi_sw_tcp_conn_create()
590 if (!cls_conn) in iscsi_sw_tcp_conn_create()
592 conn = cls_conn->dd_data; in iscsi_sw_tcp_conn_create()
616 return cls_conn; in iscsi_sw_tcp_conn_create()
628 iscsi_tcp_conn_teardown(cls_conn); in iscsi_sw_tcp_conn_create()
664 static void iscsi_sw_tcp_conn_destroy(struct iscsi_cls_conn *cls_conn) in iscsi_sw_tcp_conn_destroy() argument
666 struct iscsi_conn *conn = cls_conn->dd_data; in iscsi_sw_tcp_conn_destroy()
681 iscsi_tcp_conn_teardown(cls_conn); in iscsi_sw_tcp_conn_destroy()
[all …]
Dlibiscsi.c60 &(_conn)->cls_conn->dev, \
791 int iscsi_conn_send_pdu(struct iscsi_cls_conn *cls_conn, struct iscsi_hdr *hdr, in iscsi_conn_send_pdu() argument
794 struct iscsi_conn *conn = cls_conn->dd_data; in iscsi_conn_send_pdu()
1021 if (iscsi_recv_pdu(conn->cls_conn, (struct iscsi_hdr *)nop, in iscsi_nop_out_rsp()
1199 if (iscsi_recv_pdu(conn->cls_conn, hdr, data, datalen)) in __iscsi_complete_pdu()
1287 if (iscsi_recv_pdu(conn->cls_conn, hdr, data, datalen)) in __iscsi_complete_pdu()
1381 iscsi_get_conn(conn->cls_conn); in iscsi_session_failure()
1389 iscsi_conn_error_event(conn->cls_conn, err); in iscsi_session_failure()
1392 iscsi_put_conn(conn->cls_conn); in iscsi_session_failure()
1421 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()
/drivers/infiniband/ulp/iser/
Discsi_iser.c436 struct iscsi_cls_conn *cls_conn; in iscsi_iser_conn_create() local
438 cls_conn = iscsi_conn_setup(cls_session, 0, conn_idx); in iscsi_iser_conn_create()
439 if (!cls_conn) in iscsi_iser_conn_create()
441 conn = cls_conn->dd_data; in iscsi_iser_conn_create()
449 return cls_conn; in iscsi_iser_conn_create()
465 struct iscsi_cls_conn *cls_conn, in iscsi_iser_conn_bind() argument
469 struct iscsi_conn *conn = cls_conn->dd_data; in iscsi_iser_conn_bind()
474 error = iscsi_conn_bind(cls_session, cls_conn, is_leading); in iscsi_iser_conn_bind()
523 iscsi_iser_conn_start(struct iscsi_cls_conn *cls_conn) in iscsi_iser_conn_start() argument
528 iscsi_conn = cls_conn->dd_data; in iscsi_iser_conn_start()
[all …]
/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()
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()
682 iscsi_conn = conn->cls_conn->dd_data; in qedi_mtask_completion()
714 struct iscsi_conn *conn = qedi_conn->cls_conn->dd_data; in qedi_process_nopin_local_cmpl()
[all …]
Dqedi_iscsi.h150 struct iscsi_cls_conn *cls_conn; member
Dqedi_main.c947 struct iscsi_cls_conn *cls_conn; in qedi_find_boot_info() local
986 cls_conn = qedi_conn->cls_conn; in qedi_find_boot_info()
987 conn = cls_conn->dd_data; in qedi_find_boot_info()
988 cls_sess = iscsi_conn_to_session(cls_conn); in qedi_find_boot_info()
2844 iscsi_conn_failure(qedi_conn->cls_conn->dd_data, ISCSI_ERR_CONN_FAILED); in qedi_mark_conn_recovery()
/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()
655 int beiscsi_set_param(struct iscsi_cls_conn *cls_conn, in beiscsi_set_param() argument
658 struct iscsi_conn *conn = cls_conn->dd_data; in beiscsi_set_param()
[all …]
/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
/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()
2859 struct iscsi_cls_conn *cls_conn = ddb_entry->conn; in qla4xxx_session_get_param() local
2907 iscsi_set_param(cls_conn, ISCSI_PARAM_USERNAME, in qla4xxx_session_get_param()
2910 iscsi_set_param(cls_conn, ISCSI_PARAM_PASSWORD, in qla4xxx_session_get_param()
2923 static int qla4xxx_conn_get_param(struct iscsi_cls_conn *cls_conn, in qla4xxx_conn_get_param() argument
2930 conn = cls_conn->dd_data; in qla4xxx_conn_get_param()
2940 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.h149 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()
/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 …]