Home
last modified time | relevance | path

Searched refs:cls_session (Results 1 – 19 of 19) sorted by relevance

/linux-5.19.10/drivers/scsi/be2iscsi/
Dbe_iscsi.h41 void beiscsi_session_destroy(struct iscsi_cls_session *cls_session);
43 void beiscsi_session_fail(struct iscsi_cls_session *cls_session);
46 *cls_session, uint32_t cid);
48 int beiscsi_conn_bind(struct iscsi_cls_session *cls_session,
Dbe_iscsi.c42 struct iscsi_cls_session *cls_session; in beiscsi_session_create() local
76 cls_session = iscsi_session_setup(&beiscsi_iscsi_transport, in beiscsi_session_create()
81 if (!cls_session) in beiscsi_session_create()
83 sess = cls_session->dd_data; in beiscsi_session_create()
92 return cls_session; in beiscsi_session_create()
94 iscsi_session_teardown(cls_session); in beiscsi_session_create()
105 void beiscsi_session_destroy(struct iscsi_cls_session *cls_session) in beiscsi_session_destroy() argument
107 struct iscsi_session *sess = cls_session->dd_data; in beiscsi_session_destroy()
112 iscsi_session_teardown(cls_session); in beiscsi_session_destroy()
119 void beiscsi_session_fail(struct iscsi_cls_session *cls_session) in beiscsi_session_fail() argument
[all …]
Dbe_main.c222 struct iscsi_cls_session *cls_session; in beiscsi_eh_abort() local
231 cls_session = starget_to_session(scsi_target(sc->device)); in beiscsi_eh_abort()
232 session = cls_session->dd_data; in beiscsi_eh_abort()
276 struct iscsi_cls_session *cls_session; in beiscsi_eh_device_reset() local
286 cls_session = starget_to_session(scsi_target(sc->device)); in beiscsi_eh_device_reset()
287 session = cls_session->dd_data; in beiscsi_eh_device_reset()
/linux-5.19.10/drivers/scsi/
Discsi_tcp.c544 iscsi_sw_tcp_conn_create(struct iscsi_cls_session *cls_session, in iscsi_sw_tcp_conn_create() argument
553 cls_conn = iscsi_tcp_conn_setup(cls_session, sizeof(*tcp_sw_conn), in iscsi_sw_tcp_conn_create()
663 iscsi_sw_tcp_conn_bind(struct iscsi_cls_session *cls_session, in iscsi_sw_tcp_conn_bind() argument
667 struct iscsi_session *session = cls_session->dd_data; in iscsi_sw_tcp_conn_bind()
683 err = iscsi_conn_bind(cls_session, cls_conn, is_leading); in iscsi_sw_tcp_conn_bind()
853 struct iscsi_cls_session *cls_session; in iscsi_sw_tcp_session_create() local
883 cls_session = iscsi_session_setup(&iscsi_sw_tcp_transport, shost, in iscsi_sw_tcp_session_create()
888 if (!cls_session) in iscsi_sw_tcp_session_create()
890 session = cls_session->dd_data; in iscsi_sw_tcp_session_create()
896 return cls_session; in iscsi_sw_tcp_session_create()
[all …]
Dlibiscsi.c71 &(_session)->cls_session->dev, \
82 &(_session)->cls_session->dev, \
1679 struct iscsi_cls_session *cls_session; in iscsi_queuecommand() local
1691 cls_session = starget_to_session(scsi_target(sc->device)); in iscsi_queuecommand()
1692 session = cls_session->dd_data; in iscsi_queuecommand()
1695 reason = iscsi_session_chkready(cls_session); in iscsi_queuecommand()
1818 struct iscsi_cls_session *cls_session = starget_to_session(starget); in iscsi_target_alloc() local
1819 struct iscsi_session *session = cls_session->dd_data; in iscsi_target_alloc()
1989 struct iscsi_cls_session *cls_session; in iscsi_eh_cmd_timed_out() local
1994 cls_session = starget_to_session(scsi_target(sc->device)); in iscsi_eh_cmd_timed_out()
[all …]
Dlibiscsi_tcp.c1118 iscsi_tcp_conn_setup(struct iscsi_cls_session *cls_session, int dd_data_size, in iscsi_tcp_conn_setup() argument
1126 cls_conn = iscsi_conn_setup(cls_session, in iscsi_tcp_conn_setup()
/linux-5.19.10/drivers/infiniband/ulp/iser/
Discsi_iser.c421 iscsi_iser_conn_create(struct iscsi_cls_session *cls_session, in iscsi_iser_conn_create() argument
427 cls_conn = iscsi_conn_setup(cls_session, 0, conn_idx); in iscsi_iser_conn_create()
452 static int iscsi_iser_conn_bind(struct iscsi_cls_session *cls_session, in iscsi_iser_conn_bind() argument
461 error = iscsi_conn_bind(cls_session, cls_conn, is_leading); in iscsi_iser_conn_bind()
566 static void iscsi_iser_session_destroy(struct iscsi_cls_session *cls_session) in iscsi_iser_session_destroy() argument
568 struct Scsi_Host *shost = iscsi_session_to_shost(cls_session); in iscsi_iser_session_destroy()
570 iscsi_session_teardown(cls_session); in iscsi_iser_session_destroy()
608 struct iscsi_cls_session *cls_session; in iscsi_iser_session_create() local
678 cls_session = iscsi_session_setup(&iscsi_iser_transport, shost, in iscsi_iser_session_create()
682 if (!cls_session) in iscsi_iser_session_create()
[all …]
/linux-5.19.10/drivers/scsi/qedi/
Dqedi_iscsi.c243 struct iscsi_cls_session *cls_session; in qedi_session_create() local
259 cls_session = iscsi_session_setup(&qedi_iscsi_transport, shost, in qedi_session_create()
262 if (!cls_session) { in qedi_session_create()
268 if (qedi_setup_cmd_pool(qedi, cls_session->dd_data)) { in qedi_session_create()
274 return cls_session; in qedi_session_create()
277 iscsi_session_teardown(cls_session); in qedi_session_create()
281 static void qedi_session_destroy(struct iscsi_cls_session *cls_session) in qedi_session_destroy() argument
283 struct iscsi_session *session = cls_session->dd_data; in qedi_session_destroy()
284 struct Scsi_Host *shost = iscsi_session_to_shost(cls_session); in qedi_session_destroy()
288 iscsi_session_teardown(cls_session); in qedi_session_destroy()
[all …]
Dqedi_gbl.h57 void qedi_mark_device_missing(struct iscsi_cls_session *cls_session);
58 void qedi_mark_device_available(struct iscsi_cls_session *cls_session);
Dqedi_main.c1170 static void qedi_set_conn_recovery(struct iscsi_cls_session *cls_session) in qedi_set_conn_recovery() argument
1172 struct iscsi_session *session = cls_session->dd_data; in qedi_set_conn_recovery()
2812 static void qedi_mark_conn_recovery(struct iscsi_cls_session *cls_session) in qedi_mark_conn_recovery() argument
2814 struct iscsi_session *session = cls_session->dd_data; in qedi_mark_conn_recovery()
Dqedi_fw.c1972 struct Scsi_Host *shost = iscsi_session_to_shost(session->cls_session); in qedi_iscsi_send_ioreq()
/linux-5.19.10/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c592 void bnx2i_drop_session(struct iscsi_cls_session *cls_session) in bnx2i_drop_session() argument
594 iscsi_session_failure(cls_session->dd_data, ISCSI_ERR_CONN_FAILED); in bnx2i_drop_session()
1223 struct Scsi_Host *shost = iscsi_session_to_shost(session->cls_session); in bnx2i_task_xmit()
1289 struct iscsi_cls_session *cls_session; in bnx2i_session_create() local
1313 cls_session = iscsi_session_setup(&bnx2i_iscsi_transport, shost, in bnx2i_session_create()
1316 if (!cls_session) in bnx2i_session_create()
1319 if (bnx2i_setup_cmd_pool(hba, cls_session->dd_data)) in bnx2i_session_create()
1321 return cls_session; in bnx2i_session_create()
1324 iscsi_session_teardown(cls_session); in bnx2i_session_create()
1336 static void bnx2i_session_destroy(struct iscsi_cls_session *cls_session) in bnx2i_session_destroy() argument
[all …]
/linux-5.19.10/include/scsi/
Dlibiscsi.h280 struct iscsi_cls_session *cls_session; member
430 extern int iscsi_session_get_param(struct iscsi_cls_session *cls_session,
434 iscsi_cls_session_printk(prefix, _sess->cls_session, fmt, ##a)
Dlibiscsi_tcp.h116 iscsi_tcp_conn_setup(struct iscsi_cls_session *cls_session, int dd_data_size,
/linux-5.19.10/drivers/scsi/qla4xxx/
Dql4_glbl.h62 void qla4xxx_mark_device_missing(struct iscsi_cls_session *cls_session);
177 void qla4xxx_login_flash_ddb(struct iscsi_cls_session *cls_session);
178 int qla4xxx_unblock_ddb(struct iscsi_cls_session *cls_session);
179 int qla4xxx_unblock_flash_ddb(struct iscsi_cls_session *cls_session);
Dql4_os.c130 static int qla4xxx_conn_bind(struct iscsi_cls_session *cls_session,
142 static void qla4xxx_fail_session(struct iscsi_cls_session *cls_session);
832 struct iscsi_cls_session *cls_session; in __qla4xxx_is_chap_active() local
839 cls_session = iscsi_dev_to_session(dev); in __qla4xxx_is_chap_active()
840 sess = cls_session->dd_data; in __qla4xxx_is_chap_active()
843 if (iscsi_is_session_online(cls_session)) in __qla4xxx_is_chap_active()
3210 static int qla4xxx_conn_bind(struct iscsi_cls_session *cls_session, in qla4xxx_conn_bind() argument
3221 sess = cls_session->dd_data; in qla4xxx_conn_bind()
3226 cls_session->sid, cls_conn->cid)); in qla4xxx_conn_bind()
3228 if (iscsi_conn_bind(cls_session, cls_conn, is_leading)) in qla4xxx_conn_bind()
[all …]
Dql4_init.c1203 void qla4xxx_login_flash_ddb(struct iscsi_cls_session *cls_session) in qla4xxx_login_flash_ddb() argument
1213 sess = cls_session->dd_data; in qla4xxx_login_flash_ddb()
Dql4_def.h306 int (*unblock_sess)(struct iscsi_cls_session *cls_session);
/linux-5.19.10/drivers/scsi/cxgbi/
Dlibcxgbi.c2644 cxgbi_create_conn(struct iscsi_cls_session *cls_session, u32 cid) in cxgbi_create_conn() argument
2651 cls_conn = iscsi_tcp_conn_setup(cls_session, sizeof(*cconn), cid); in cxgbi_create_conn()
2662 cid, cid, cls_session, cls_conn, conn, tcp_conn, cconn); in cxgbi_create_conn()
2668 int cxgbi_bind_conn(struct iscsi_cls_session *cls_session, in cxgbi_bind_conn() argument
2695 err = iscsi_conn_bind(cls_session, cls_conn, is_leading); in cxgbi_bind_conn()
2716 cls_session, cls_conn, ep, cconn, csk); in cxgbi_bind_conn()
2733 struct iscsi_cls_session *cls_session; in cxgbi_create_session() local
2747 cls_session = iscsi_session_setup(chba->cdev->itp, shost, in cxgbi_create_session()
2752 if (!cls_session) in cxgbi_create_session()
2755 session = cls_session->dd_data; in cxgbi_create_session()
[all …]