Lines Matching refs:cls_session
130 static int qla4xxx_conn_bind(struct iscsi_cls_session *cls_session,
142 static void qla4xxx_fail_session(struct iscsi_cls_session *cls_session);
832 struct iscsi_cls_session *cls_session; in __qla4xxx_is_chap_active() local
839 cls_session = iscsi_dev_to_session(dev); in __qla4xxx_is_chap_active()
840 sess = cls_session->dd_data; in __qla4xxx_is_chap_active()
843 if (iscsi_is_session_online(cls_session)) in __qla4xxx_is_chap_active()
3210 static int qla4xxx_conn_bind(struct iscsi_cls_session *cls_session, in qla4xxx_conn_bind() argument
3221 sess = cls_session->dd_data; in qla4xxx_conn_bind()
3226 cls_session->sid, cls_conn->cid)); in qla4xxx_conn_bind()
3228 if (iscsi_conn_bind(cls_session, cls_conn, is_leading)) in qla4xxx_conn_bind()
4025 void qla4xxx_mark_device_missing(struct iscsi_cls_session *cls_session) in qla4xxx_mark_device_missing() argument
4027 iscsi_block_session(cls_session); in qla4xxx_mark_device_missing()
4823 static void qla4xxx_fail_session(struct iscsi_cls_session *cls_session) in qla4xxx_fail_session() argument
4828 sess = cls_session->dd_data; in qla4xxx_fail_session()
4835 iscsi_session_failure(cls_session->dd_data, in qla4xxx_fail_session()
5049 static void qla4xxx_relogin_devices(struct iscsi_cls_session *cls_session) in qla4xxx_relogin_devices() argument
5055 sess = cls_session->dd_data; in qla4xxx_relogin_devices()
5058 if (!iscsi_is_session_online(cls_session)) { in qla4xxx_relogin_devices()
5072 iscsi_session_failure(cls_session->dd_data, in qla4xxx_relogin_devices()
5078 int qla4xxx_unblock_flash_ddb(struct iscsi_cls_session *cls_session) in qla4xxx_unblock_flash_ddb() argument
5084 sess = cls_session->dd_data; in qla4xxx_unblock_flash_ddb()
5103 int qla4xxx_unblock_ddb(struct iscsi_cls_session *cls_session) in qla4xxx_unblock_ddb() argument
5110 sess = cls_session->dd_data; in qla4xxx_unblock_ddb()
5117 if (!iscsi_is_session_online(cls_session)) { in qla4xxx_unblock_ddb()
5125 cls_session->sid); in qla4xxx_unblock_ddb()