Lines Matching refs:cls_session
42 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
121 iscsi_session_failure(cls_session->dd_data, ISCSI_ERR_CONN_FAILED); in beiscsi_session_fail()
131 beiscsi_conn_create(struct iscsi_cls_session *cls_session, u32 cid) in beiscsi_conn_create() argument
141 shost = iscsi_session_to_shost(cls_session); in beiscsi_conn_create()
148 cls_conn = iscsi_conn_setup(cls_session, sizeof(*beiscsi_conn), cid); in beiscsi_conn_create()
157 sess = cls_session->dd_data; in beiscsi_conn_create()
172 int beiscsi_conn_bind(struct iscsi_cls_session *cls_session, in beiscsi_conn_bind() argument
178 struct Scsi_Host *shost = iscsi_session_to_shost(cls_session); in beiscsi_conn_bind()
193 if (iscsi_conn_bind(cls_session, cls_conn, is_leading)) { in beiscsi_conn_bind()