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()
4026 void qla4xxx_mark_device_missing(struct iscsi_cls_session *cls_session) in qla4xxx_mark_device_missing() argument
4028 iscsi_block_session(cls_session); in qla4xxx_mark_device_missing()
4824 static void qla4xxx_fail_session(struct iscsi_cls_session *cls_session) in qla4xxx_fail_session() argument
4829 sess = cls_session->dd_data; in qla4xxx_fail_session()
4836 iscsi_session_failure(cls_session->dd_data, in qla4xxx_fail_session()
5050 static void qla4xxx_relogin_devices(struct iscsi_cls_session *cls_session) in qla4xxx_relogin_devices() argument
5056 sess = cls_session->dd_data; in qla4xxx_relogin_devices()
5059 if (!iscsi_is_session_online(cls_session)) { in qla4xxx_relogin_devices()
5073 iscsi_session_failure(cls_session->dd_data, in qla4xxx_relogin_devices()
5079 int qla4xxx_unblock_flash_ddb(struct iscsi_cls_session *cls_session) in qla4xxx_unblock_flash_ddb() argument
5085 sess = cls_session->dd_data; in qla4xxx_unblock_flash_ddb()
5104 int qla4xxx_unblock_ddb(struct iscsi_cls_session *cls_session) in qla4xxx_unblock_ddb() argument
5111 sess = cls_session->dd_data; in qla4xxx_unblock_ddb()
5118 if (!iscsi_is_session_online(cls_session)) { in qla4xxx_unblock_ddb()
5126 cls_session->sid); in qla4xxx_unblock_ddb()