Home
last modified time | relevance | path

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

/linux/drivers/scsi/be2iscsi/
A 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,
A 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()
107 struct iscsi_session *sess = cls_session->dd_data; in beiscsi_session_destroy()
112 iscsi_session_teardown(cls_session); in beiscsi_session_destroy()
141 shost = iscsi_session_to_shost(cls_session); in beiscsi_conn_create()
157 sess = cls_session->dd_data; in beiscsi_conn_create()
[all …]
A 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/drivers/scsi/
A Discsi_tcp.c663 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
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()
899 iscsi_session_teardown(cls_session); in iscsi_sw_tcp_session_create()
910 struct iscsi_session *session = cls_session->dd_data; in iscsi_sw_tcp_session_destroy()
915 iscsi_tcp_r2tpool_free(cls_session->dd_data); in iscsi_sw_tcp_session_destroy()
[all …]
A Dlibiscsi.c71 &(_session)->cls_session->dev, \
82 &(_session)->cls_session->dev, \
1691 session = cls_session->dd_data; in iscsi_queuecommand()
1994 session = cls_session->dd_data; in iscsi_eh_cmd_timed_out()
2253 session = cls_session->dd_data; in iscsi_eh_abort()
2409 session = cls_session->dd_data; in iscsi_eh_device_reset()
2501 session = cls_session->dd_data; in iscsi_eh_session_reset()
2571 session = cls_session->dd_data; in iscsi_eh_target_reset()
2931 if (!cls_session) in iscsi_session_setup()
2934 session->cls_session = cls_session; in iscsi_session_setup()
[all …]
A 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/drivers/infiniband/ulp/iser/
A Discsi_iser.c432 iscsi_iser_conn_create(struct iscsi_cls_session *cls_session, in iscsi_iser_conn_create() argument
438 cls_conn = iscsi_conn_setup(cls_session, 0, conn_idx); in iscsi_iser_conn_create()
464 iscsi_iser_conn_bind(struct iscsi_cls_session *cls_session, in iscsi_iser_conn_bind() argument
474 error = iscsi_conn_bind(cls_session, cls_conn, is_leading); in iscsi_iser_conn_bind()
582 iscsi_iser_session_destroy(struct iscsi_cls_session *cls_session) in iscsi_iser_session_destroy() argument
584 struct Scsi_Host *shost = iscsi_session_to_shost(cls_session); in iscsi_iser_session_destroy()
586 iscsi_session_teardown(cls_session); in iscsi_iser_session_destroy()
625 struct iscsi_cls_session *cls_session; in iscsi_iser_session_create() local
695 cls_session = iscsi_session_setup(&iscsi_iser_transport, shost, in iscsi_iser_session_create()
699 if (!cls_session) in iscsi_iser_session_create()
[all …]
/linux/drivers/scsi/qedi/
A Dqedi_iscsi.c242 struct iscsi_cls_session *cls_session; in qedi_session_create() local
261 if (!cls_session) { in qedi_session_create()
267 if (qedi_setup_cmd_pool(qedi, cls_session->dd_data)) { in qedi_session_create()
273 return cls_session; in qedi_session_create()
276 iscsi_session_teardown(cls_session); in qedi_session_create()
282 struct iscsi_session *session = cls_session->dd_data; in qedi_session_destroy()
287 iscsi_session_teardown(cls_session); in qedi_session_destroy()
304 cid, cls_session); in qedi_conn_create()
320 cid, cls_session); in qedi_conn_create()
333 struct iscsi_session *session = cls_session->dd_data; in qedi_mark_device_missing()
[all …]
A 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);
A 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()
2815 static void qedi_mark_conn_recovery(struct iscsi_cls_session *cls_session) in qedi_mark_conn_recovery() argument
2817 struct iscsi_session *session = cls_session->dd_data; in qedi_mark_conn_recovery()
A Dqedi_fw.c1974 struct Scsi_Host *shost = iscsi_session_to_shost(session->cls_session); in qedi_iscsi_send_ioreq()
/linux/drivers/scsi/bnx2i/
A Dbnx2i_iscsi.c592 void bnx2i_drop_session(struct iscsi_cls_session *cls_session) in bnx2i_drop_session() argument
1289 struct iscsi_cls_session *cls_session; in bnx2i_session_create() local
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()
1338 struct iscsi_session *session = cls_session->dd_data; in bnx2i_session_destroy()
1339 struct Scsi_Host *shost = iscsi_session_to_shost(cls_session); in bnx2i_session_destroy()
1343 iscsi_session_teardown(cls_session); in bnx2i_session_destroy()
1363 cls_conn = iscsi_conn_setup(cls_session, sizeof(*bnx2i_conn), in bnx2i_conn_create()
[all …]
/linux/include/scsi/
A Dlibiscsi.h267 struct iscsi_cls_session *cls_session; member
418 extern int iscsi_session_get_param(struct iscsi_cls_session *cls_session,
422 iscsi_cls_session_printk(prefix, _sess->cls_session, fmt, ##a)
A Dlibiscsi_tcp.h116 iscsi_tcp_conn_setup(struct iscsi_cls_session *cls_session, int dd_data_size,
/linux/drivers/scsi/qla4xxx/
A 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);
A Dql4_os.c832 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()
3221 sess = cls_session->dd_data; in qla4xxx_conn_bind()
3226 cls_session->sid, cls_conn->cid)); in qla4xxx_conn_bind()
4028 iscsi_block_session(cls_session); in qla4xxx_mark_device_missing()
4829 sess = cls_session->dd_data; in qla4xxx_fail_session()
5056 sess = cls_session->dd_data; in qla4xxx_relogin_devices()
5085 sess = cls_session->dd_data; in qla4xxx_unblock_flash_ddb()
5111 sess = cls_session->dd_data; in qla4xxx_unblock_ddb()
[all …]
A 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()
A Dql4_def.h296 int (*unblock_sess)(struct iscsi_cls_session *cls_session);
/linux/drivers/scsi/cxgbi/
A Dlibcxgbi.c2662 cid, cid, cls_session, cls_conn, conn, tcp_conn, cconn); in cxgbi_create_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
2752 if (!cls_session) in cxgbi_create_session()
2755 session = cls_session->dd_data; in cxgbi_create_session()
2760 "ep 0x%p, cls sess 0x%p.\n", ep, cls_session); in cxgbi_create_session()
2761 return cls_session; in cxgbi_create_session()
2764 iscsi_session_teardown(cls_session); in cxgbi_create_session()
2772 "cls sess 0x%p.\n", cls_session); in cxgbi_destroy_session()
2774 iscsi_tcp_r2tpool_free(cls_session->dd_data); in cxgbi_destroy_session()
[all …]

Completed in 93 milliseconds