Lines Matching refs:cls_session
242 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()
291 qedi_conn_create(struct iscsi_cls_session *cls_session, uint32_t cid) in qedi_conn_create() argument
293 struct Scsi_Host *shost = iscsi_session_to_shost(cls_session); in qedi_conn_create()
299 cls_conn = iscsi_conn_setup(cls_session, sizeof(*qedi_conn), in qedi_conn_create()
304 cid, cls_session); in qedi_conn_create()
320 cid, cls_session); in qedi_conn_create()
331 void qedi_mark_device_missing(struct iscsi_cls_session *cls_session) in qedi_mark_device_missing() argument
333 struct iscsi_session *session = cls_session->dd_data; in qedi_mark_device_missing()
341 void qedi_mark_device_available(struct iscsi_cls_session *cls_session) in qedi_mark_device_available() argument
343 struct iscsi_session *session = cls_session->dd_data; in qedi_mark_device_available()
380 static int qedi_conn_bind(struct iscsi_cls_session *cls_session, in qedi_conn_bind() argument
386 struct Scsi_Host *shost = iscsi_session_to_shost(cls_session); in qedi_conn_bind()
403 if (iscsi_conn_bind(cls_session, cls_conn, is_leading)) { in qedi_conn_bind()