Lines Matching refs:cls_session

243 	struct iscsi_cls_session *cls_session;  in qedi_session_create()  local
259 cls_session = iscsi_session_setup(&qedi_iscsi_transport, shost, in qedi_session_create()
262 if (!cls_session) { in qedi_session_create()
268 if (qedi_setup_cmd_pool(qedi, cls_session->dd_data)) { in qedi_session_create()
274 return cls_session; in qedi_session_create()
277 iscsi_session_teardown(cls_session); in qedi_session_create()
281 static void qedi_session_destroy(struct iscsi_cls_session *cls_session) in qedi_session_destroy() argument
283 struct iscsi_session *session = cls_session->dd_data; in qedi_session_destroy()
284 struct Scsi_Host *shost = iscsi_session_to_shost(cls_session); in qedi_session_destroy()
288 iscsi_session_teardown(cls_session); in qedi_session_destroy()
292 qedi_conn_create(struct iscsi_cls_session *cls_session, uint32_t cid) in qedi_conn_create() argument
294 struct Scsi_Host *shost = iscsi_session_to_shost(cls_session); in qedi_conn_create()
300 cls_conn = iscsi_conn_setup(cls_session, sizeof(*qedi_conn), in qedi_conn_create()
305 cid, cls_session); in qedi_conn_create()
321 cid, cls_session); in qedi_conn_create()
332 void qedi_mark_device_missing(struct iscsi_cls_session *cls_session) in qedi_mark_device_missing() argument
334 struct iscsi_session *session = cls_session->dd_data; in qedi_mark_device_missing()
342 void qedi_mark_device_available(struct iscsi_cls_session *cls_session) in qedi_mark_device_available() argument
344 struct iscsi_session *session = cls_session->dd_data; in qedi_mark_device_available()
381 static int qedi_conn_bind(struct iscsi_cls_session *cls_session, in qedi_conn_bind() argument
387 struct Scsi_Host *shost = iscsi_session_to_shost(cls_session); in qedi_conn_bind()
404 if (iscsi_conn_bind(cls_session, cls_conn, is_leading)) { in qedi_conn_bind()