Lines Matching refs:cls_session
592 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
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()
1355 bnx2i_conn_create(struct iscsi_cls_session *cls_session, uint32_t cid) in bnx2i_conn_create() argument
1357 struct Scsi_Host *shost = iscsi_session_to_shost(cls_session); in bnx2i_conn_create()
1363 cls_conn = iscsi_conn_setup(cls_session, sizeof(*bnx2i_conn), in bnx2i_conn_create()
1404 static int bnx2i_conn_bind(struct iscsi_cls_session *cls_session, in bnx2i_conn_bind() argument
1410 struct Scsi_Host *shost = iscsi_session_to_shost(cls_session); in bnx2i_conn_bind()
1436 if (iscsi_conn_bind(cls_session, cls_conn, is_leading)) { in bnx2i_conn_bind()