Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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.c220 struct iscsi_cls_session *cls_session; in beiscsi_eh_abort() local
229 cls_session = starget_to_session(scsi_target(sc->device)); in beiscsi_eh_abort()
230 session = cls_session->dd_data; in beiscsi_eh_abort()
274 struct iscsi_cls_session *cls_session; in beiscsi_eh_device_reset() local
284 cls_session = starget_to_session(scsi_target(sc->device)); in beiscsi_eh_device_reset()
285 session = cls_session->dd_data; in beiscsi_eh_device_reset()
/kernel/linux/linux-5.10/drivers/scsi/
Dlibiscsi.c71 &(_session)->cls_session->dev, \
82 &(_session)->cls_session->dev, \
1676 struct iscsi_cls_session *cls_session; in iscsi_queuecommand() local
1688 cls_session = starget_to_session(scsi_target(sc->device)); in iscsi_queuecommand()
1689 session = cls_session->dd_data; in iscsi_queuecommand()
1692 reason = iscsi_session_chkready(cls_session); in iscsi_queuecommand()
1815 struct iscsi_cls_session *cls_session = starget_to_session(starget); in iscsi_target_alloc() local
1816 struct iscsi_session *session = cls_session->dd_data; in iscsi_target_alloc()
1986 struct iscsi_cls_session *cls_session; in iscsi_eh_cmd_timed_out() local
1991 cls_session = starget_to_session(scsi_target(sc->device)); in iscsi_eh_cmd_timed_out()
[all …]
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
682 err = iscsi_conn_bind(cls_session, cls_conn, is_leading); in iscsi_sw_tcp_conn_bind()
878 struct iscsi_cls_session *cls_session; in iscsi_sw_tcp_session_create() local
908 cls_session = iscsi_session_setup(&iscsi_sw_tcp_transport, shost, in iscsi_sw_tcp_session_create()
913 if (!cls_session) in iscsi_sw_tcp_session_create()
915 session = cls_session->dd_data; in iscsi_sw_tcp_session_create()
923 return cls_session; in iscsi_sw_tcp_session_create()
926 iscsi_session_teardown(cls_session); in iscsi_sw_tcp_session_create()
[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()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/iser/
Discsi_iser.c425 iscsi_iser_conn_create(struct iscsi_cls_session *cls_session, in iscsi_iser_conn_create() argument
431 cls_conn = iscsi_conn_setup(cls_session, 0, conn_idx); in iscsi_iser_conn_create()
457 iscsi_iser_conn_bind(struct iscsi_cls_session *cls_session, in iscsi_iser_conn_bind() argument
467 error = iscsi_conn_bind(cls_session, cls_conn, is_leading); in iscsi_iser_conn_bind()
575 iscsi_iser_session_destroy(struct iscsi_cls_session *cls_session) in iscsi_iser_session_destroy() argument
577 struct Scsi_Host *shost = iscsi_session_to_shost(cls_session); in iscsi_iser_session_destroy()
579 iscsi_session_teardown(cls_session); in iscsi_iser_session_destroy()
611 struct iscsi_cls_session *cls_session; in iscsi_iser_session_create() local
681 cls_session = iscsi_session_setup(&iscsi_iser_transport, shost, in iscsi_iser_session_create()
685 if (!cls_session) in iscsi_iser_session_create()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/qedi/
Dqedi_iscsi.c242 struct iscsi_cls_session *cls_session; in qedi_session_create() local
258 cls_session = iscsi_session_setup(&qedi_iscsi_transport, shost, in qedi_session_create()
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()
280 static void qedi_session_destroy(struct iscsi_cls_session *cls_session) in qedi_session_destroy() argument
282 struct iscsi_session *session = cls_session->dd_data; in qedi_session_destroy()
283 struct Scsi_Host *shost = iscsi_session_to_shost(cls_session); in qedi_session_destroy()
287 iscsi_session_teardown(cls_session); in qedi_session_destroy()
[all …]
Dqedi_gbl.h58 void qedi_mark_device_missing(struct iscsi_cls_session *cls_session);
59 void qedi_mark_device_available(struct iscsi_cls_session *cls_session);
Dqedi_main.c1171 static void qedi_set_conn_recovery(struct iscsi_cls_session *cls_session) in qedi_set_conn_recovery() argument
1173 struct iscsi_session *session = cls_session->dd_data; in qedi_set_conn_recovery()
2819 static void qedi_mark_conn_recovery(struct iscsi_cls_session *cls_session) in qedi_mark_conn_recovery() argument
2821 struct iscsi_session *session = cls_session->dd_data; in qedi_mark_conn_recovery()
Dqedi_fw.c2029 struct Scsi_Host *shost = iscsi_session_to_shost(session->cls_session); in qedi_iscsi_send_ioreq()
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.10/include/scsi/
Dlibiscsi.h260 struct iscsi_cls_session *cls_session; member
410 extern int iscsi_session_get_param(struct iscsi_cls_session *cls_session,
414 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,
/kernel/linux/linux-5.10/drivers/scsi/qla4xxx/
Dql4_glbl.h62 void qla4xxx_mark_device_missing(struct iscsi_cls_session *cls_session);
178 void qla4xxx_login_flash_ddb(struct iscsi_cls_session *cls_session);
179 int qla4xxx_unblock_ddb(struct iscsi_cls_session *cls_session);
180 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);
837 struct iscsi_cls_session *cls_session; in __qla4xxx_is_chap_active() local
844 cls_session = iscsi_dev_to_session(dev); in __qla4xxx_is_chap_active()
845 sess = cls_session->dd_data; in __qla4xxx_is_chap_active()
848 if (iscsi_session_chkready(cls_session)) in __qla4xxx_is_chap_active()
3215 static int qla4xxx_conn_bind(struct iscsi_cls_session *cls_session, in qla4xxx_conn_bind() argument
3226 sess = cls_session->dd_data; in qla4xxx_conn_bind()
3231 cls_session->sid, cls_conn->cid)); in qla4xxx_conn_bind()
3233 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.h296 int (*unblock_sess)(struct iscsi_cls_session *cls_session);
/kernel/linux/linux-5.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 …]