Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/be2iscsi/
Dbe_iscsi.h46 void beiscsi_session_destroy(struct iscsi_cls_session *cls_session);
48 void beiscsi_session_fail(struct iscsi_cls_session *cls_session);
51 *cls_session, uint32_t cid);
53 int beiscsi_conn_bind(struct iscsi_cls_session *cls_session,
Dbe_iscsi.c45 struct iscsi_cls_session *cls_session; in beiscsi_session_create() local
79 cls_session = iscsi_session_setup(&beiscsi_iscsi_transport, in beiscsi_session_create()
84 if (!cls_session) in beiscsi_session_create()
86 sess = cls_session->dd_data; in beiscsi_session_create()
95 return cls_session; in beiscsi_session_create()
97 iscsi_session_teardown(cls_session); in beiscsi_session_create()
108 void beiscsi_session_destroy(struct iscsi_cls_session *cls_session) in beiscsi_session_destroy() argument
110 struct iscsi_session *sess = cls_session->dd_data; in beiscsi_session_destroy()
115 iscsi_session_teardown(cls_session); in beiscsi_session_destroy()
122 void beiscsi_session_fail(struct iscsi_cls_session *cls_session) in beiscsi_session_fail() argument
[all …]
Dbe_main.c226 struct iscsi_cls_session *cls_session; in beiscsi_eh_abort() local
235 cls_session = starget_to_session(scsi_target(sc->device)); in beiscsi_eh_abort()
236 session = cls_session->dd_data; in beiscsi_eh_abort()
280 struct iscsi_cls_session *cls_session; in beiscsi_eh_device_reset() local
290 cls_session = starget_to_session(scsi_target(sc->device)); in beiscsi_eh_device_reset()
291 session = cls_session->dd_data; in beiscsi_eh_device_reset()
/Linux-v4.19/drivers/scsi/
Discsi_tcp.c541 iscsi_sw_tcp_conn_create(struct iscsi_cls_session *cls_session, in iscsi_sw_tcp_conn_create() argument
550 cls_conn = iscsi_tcp_conn_setup(cls_session, sizeof(*tcp_sw_conn), in iscsi_sw_tcp_conn_create()
654 iscsi_sw_tcp_conn_bind(struct iscsi_cls_session *cls_session, in iscsi_sw_tcp_conn_bind() argument
658 struct iscsi_session *session = cls_session->dd_data; in iscsi_sw_tcp_conn_bind()
674 err = iscsi_conn_bind(cls_session, cls_conn, is_leading); in iscsi_sw_tcp_conn_bind()
834 struct iscsi_cls_session *cls_session; in iscsi_sw_tcp_session_create() local
858 cls_session = iscsi_session_setup(&iscsi_sw_tcp_transport, shost, in iscsi_sw_tcp_session_create()
863 if (!cls_session) in iscsi_sw_tcp_session_create()
865 session = cls_session->dd_data; in iscsi_sw_tcp_session_create()
872 return cls_session; in iscsi_sw_tcp_session_create()
[all …]
Dlibiscsi.c1668 struct iscsi_cls_session *cls_session; in iscsi_queuecommand() local
1680 cls_session = starget_to_session(scsi_target(sc->device)); in iscsi_queuecommand()
1681 session = cls_session->dd_data; in iscsi_queuecommand()
1684 reason = iscsi_session_chkready(cls_session); in iscsi_queuecommand()
1810 struct iscsi_cls_session *cls_session = starget_to_session(starget); in iscsi_target_alloc() local
1811 struct iscsi_session *session = cls_session->dd_data; in iscsi_target_alloc()
1970 struct iscsi_cls_session *cls_session; in iscsi_eh_cmd_timed_out() local
1975 cls_session = starget_to_session(scsi_target(sc->device)); in iscsi_eh_cmd_timed_out()
1976 session = cls_session->dd_data; in iscsi_eh_cmd_timed_out()
2172 struct iscsi_cls_session *cls_session; in iscsi_eh_abort() local
[all …]
Dlibiscsi_tcp.c1092 iscsi_tcp_conn_setup(struct iscsi_cls_session *cls_session, int dd_data_size, in iscsi_tcp_conn_setup() argument
1100 cls_conn = iscsi_conn_setup(cls_session, in iscsi_tcp_conn_setup()
/Linux-v4.19/drivers/infiniband/ulp/iser/
Discsi_iser.c427 iscsi_iser_conn_create(struct iscsi_cls_session *cls_session, in iscsi_iser_conn_create() argument
433 cls_conn = iscsi_conn_setup(cls_session, 0, conn_idx); in iscsi_iser_conn_create()
459 iscsi_iser_conn_bind(struct iscsi_cls_session *cls_session, in iscsi_iser_conn_bind() argument
469 error = iscsi_conn_bind(cls_session, cls_conn, is_leading); in iscsi_iser_conn_bind()
576 iscsi_iser_session_destroy(struct iscsi_cls_session *cls_session) in iscsi_iser_session_destroy() argument
578 struct Scsi_Host *shost = iscsi_session_to_shost(cls_session); in iscsi_iser_session_destroy()
580 iscsi_session_teardown(cls_session); in iscsi_iser_session_destroy()
612 struct iscsi_cls_session *cls_session; in iscsi_iser_session_create() local
677 cls_session = iscsi_session_setup(&iscsi_iser_transport, shost, in iscsi_iser_session_create()
681 if (!cls_session) in iscsi_iser_session_create()
[all …]
/Linux-v4.19/drivers/scsi/qedi/
Dqedi_iscsi.c246 struct iscsi_cls_session *cls_session; in qedi_session_create() local
262 cls_session = iscsi_session_setup(&qedi_iscsi_transport, shost, in qedi_session_create()
265 if (!cls_session) { in qedi_session_create()
271 if (qedi_setup_cmd_pool(qedi, cls_session->dd_data)) { in qedi_session_create()
277 return cls_session; in qedi_session_create()
280 iscsi_session_teardown(cls_session); in qedi_session_create()
284 static void qedi_session_destroy(struct iscsi_cls_session *cls_session) in qedi_session_destroy() argument
286 struct iscsi_session *session = cls_session->dd_data; in qedi_session_destroy()
287 struct Scsi_Host *shost = iscsi_session_to_shost(cls_session); in qedi_session_destroy()
291 iscsi_session_teardown(cls_session); in qedi_session_destroy()
[all …]
Dqedi_gbl.h61 void qedi_mark_device_missing(struct iscsi_cls_session *cls_session);
62 void qedi_mark_device_available(struct iscsi_cls_session *cls_session);
Dqedi_fw.c165 iscsi_block_session(session->cls_session); in qedi_tmf_resp_work()
169 iscsi_unblock_session(session->cls_session); in qedi_tmf_resp_work()
173 iscsi_unblock_session(session->cls_session); in qedi_tmf_resp_work()
2047 struct Scsi_Host *shost = iscsi_session_to_shost(session->cls_session); in qedi_iscsi_send_ioreq()
/Linux-v4.19/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c594 void bnx2i_drop_session(struct iscsi_cls_session *cls_session) in bnx2i_drop_session() argument
596 iscsi_session_failure(cls_session->dd_data, ISCSI_ERR_CONN_FAILED); in bnx2i_drop_session()
1227 struct Scsi_Host *shost = iscsi_session_to_shost(session->cls_session); in bnx2i_task_xmit()
1292 struct iscsi_cls_session *cls_session; in bnx2i_session_create() local
1316 cls_session = iscsi_session_setup(&bnx2i_iscsi_transport, shost, in bnx2i_session_create()
1319 if (!cls_session) in bnx2i_session_create()
1322 if (bnx2i_setup_cmd_pool(hba, cls_session->dd_data)) in bnx2i_session_create()
1324 return cls_session; in bnx2i_session_create()
1327 iscsi_session_teardown(cls_session); in bnx2i_session_create()
1339 static void bnx2i_session_destroy(struct iscsi_cls_session *cls_session) in bnx2i_session_destroy() argument
[all …]
/Linux-v4.19/include/scsi/
Dlibiscsi.h276 struct iscsi_cls_session *cls_session; member
419 extern int iscsi_session_get_param(struct iscsi_cls_session *cls_session,
423 iscsi_cls_session_printk(prefix, _sess->cls_session, fmt, ##a)
Dlibiscsi_tcp.h127 iscsi_tcp_conn_setup(struct iscsi_cls_session *cls_session, int dd_data_size,
/Linux-v4.19/drivers/scsi/qla4xxx/
Dql4_glbl.h63 void qla4xxx_mark_device_missing(struct iscsi_cls_session *cls_session);
179 void qla4xxx_login_flash_ddb(struct iscsi_cls_session *cls_session);
180 int qla4xxx_unblock_ddb(struct iscsi_cls_session *cls_session);
181 int qla4xxx_unblock_flash_ddb(struct iscsi_cls_session *cls_session);
Dql4_os.c131 static int qla4xxx_conn_bind(struct iscsi_cls_session *cls_session,
143 static void qla4xxx_fail_session(struct iscsi_cls_session *cls_session);
804 struct iscsi_cls_session *cls_session; in __qla4xxx_is_chap_active() local
811 cls_session = iscsi_dev_to_session(dev); in __qla4xxx_is_chap_active()
812 sess = cls_session->dd_data; in __qla4xxx_is_chap_active()
815 if (iscsi_session_chkready(cls_session)) in __qla4xxx_is_chap_active()
3186 static int qla4xxx_conn_bind(struct iscsi_cls_session *cls_session, in qla4xxx_conn_bind() argument
3197 sess = cls_session->dd_data; in qla4xxx_conn_bind()
3202 cls_session->sid, cls_conn->cid)); in qla4xxx_conn_bind()
3204 if (iscsi_conn_bind(cls_session, cls_conn, is_leading)) in qla4xxx_conn_bind()
[all …]
Dql4_init.c1204 void qla4xxx_login_flash_ddb(struct iscsi_cls_session *cls_session) in qla4xxx_login_flash_ddb() argument
1214 sess = cls_session->dd_data; in qla4xxx_login_flash_ddb()
Dql4_def.h297 int (*unblock_sess)(struct iscsi_cls_session *cls_session);
/Linux-v4.19/drivers/scsi/cxgbi/
Dlibcxgbi.c2341 cxgbi_create_conn(struct iscsi_cls_session *cls_session, u32 cid) in cxgbi_create_conn() argument
2348 cls_conn = iscsi_tcp_conn_setup(cls_session, sizeof(*cconn), cid); in cxgbi_create_conn()
2359 cid, cid, cls_session, cls_conn, conn, tcp_conn, cconn); in cxgbi_create_conn()
2365 int cxgbi_bind_conn(struct iscsi_cls_session *cls_session, in cxgbi_bind_conn() argument
2392 err = iscsi_conn_bind(cls_session, cls_conn, is_leading); in cxgbi_bind_conn()
2411 cls_session, cls_conn, ep, cconn, csk); in cxgbi_bind_conn()
2426 struct iscsi_cls_session *cls_session; in cxgbi_create_session() local
2440 cls_session = iscsi_session_setup(chba->cdev->itp, shost, in cxgbi_create_session()
2445 if (!cls_session) in cxgbi_create_session()
2448 session = cls_session->dd_data; in cxgbi_create_session()
[all …]