Lines Matching refs:cls_conn
132 struct iscsi_cls_conn *cls_conn,
144 static void qla4xxx_conn_get_stats(struct iscsi_cls_conn *cls_conn,
1777 static void qla4xxx_conn_get_stats(struct iscsi_cls_conn *cls_conn, in qla4xxx_conn_get_stats() argument
1789 cls_sess = iscsi_conn_to_session(cls_conn); in qla4xxx_conn_get_stats()
2822 struct iscsi_cls_conn *cls_conn = ddb_entry->conn; in qla4xxx_session_get_param() local
2870 iscsi_set_param(cls_conn, ISCSI_PARAM_USERNAME, in qla4xxx_session_get_param()
2873 iscsi_set_param(cls_conn, ISCSI_PARAM_PASSWORD, in qla4xxx_session_get_param()
2886 static int qla4xxx_conn_get_param(struct iscsi_cls_conn *cls_conn, in qla4xxx_conn_get_param() argument
2893 conn = cls_conn->dd_data; in qla4xxx_conn_get_param()
2903 return iscsi_conn_get_param(cls_conn, param, buf); in qla4xxx_conn_get_param()
2981 struct iscsi_cls_conn *cls_conn) in qla4xxx_match_fwdb_session() argument
2984 struct iscsi_cls_session *cls_sess = iscsi_conn_to_session(cls_conn); in qla4xxx_match_fwdb_session()
2990 conn = cls_conn->dd_data; in qla4xxx_match_fwdb_session()
3162 struct iscsi_cls_conn *cls_conn; in qla4xxx_conn_create() local
3167 cls_conn = iscsi_conn_setup(cls_sess, sizeof(struct qla_conn), in qla4xxx_conn_create()
3169 if (!cls_conn) { in qla4xxx_conn_create()
3177 ddb_entry->conn = cls_conn; in qla4xxx_conn_create()
3182 return cls_conn; in qla4xxx_conn_create()
3186 struct iscsi_cls_conn *cls_conn, in qla4xxx_conn_bind() argument
3201 cls_session->sid, cls_conn->cid)); in qla4xxx_conn_bind()
3203 if (iscsi_conn_bind(cls_session, cls_conn, is_leading)) in qla4xxx_conn_bind()
3208 conn = cls_conn->dd_data; in qla4xxx_conn_bind()
3214 static int qla4xxx_conn_start(struct iscsi_cls_conn *cls_conn) in qla4xxx_conn_start() argument
3216 struct iscsi_cls_session *cls_sess = iscsi_conn_to_session(cls_conn); in qla4xxx_conn_start()
3230 cls_sess->sid, cls_conn->cid)); in qla4xxx_conn_start()
3236 ret = qla4xxx_match_fwdb_session(ha, cls_conn); in qla4xxx_conn_start()
3253 ret = qla4xxx_set_param_ddbentry(ha, ddb_entry, cls_conn, &mbx_sts); in qla4xxx_conn_start()
3296 static void qla4xxx_conn_destroy(struct iscsi_cls_conn *cls_conn) in qla4xxx_conn_destroy() argument
3298 struct iscsi_cls_session *cls_sess = iscsi_conn_to_session(cls_conn); in qla4xxx_conn_destroy()
3308 cls_conn->cid)); in qla4xxx_conn_destroy()
3802 iscsi_set_param(conn->cls_conn, ISCSI_PARAM_DISCOVERY_PARENT_TYPE, in qla4xxx_copy_to_sess_conn_params()
3805 iscsi_set_param(conn->cls_conn, ISCSI_PARAM_TARGET_ALIAS, in qla4xxx_copy_to_sess_conn_params()
3812 iscsi_set_param(conn->cls_conn, ISCSI_PARAM_LOCAL_IPADDR, in qla4xxx_copy_to_sess_conn_params()
3820 struct iscsi_cls_conn *cls_conn) in qla4xxx_copy_fwddb_param() argument
3832 conn = cls_conn->dd_data; in qla4xxx_copy_fwddb_param()
3845 iscsi_set_param(cls_conn, ISCSI_PARAM_PORTAL_TYPE, "ipv6", 4); in qla4xxx_copy_fwddb_param()
3850 iscsi_set_param(cls_conn, ISCSI_PARAM_PORTAL_TYPE, "ipv4", 4); in qla4xxx_copy_fwddb_param()
3854 iscsi_set_param(cls_conn, ISCSI_PARAM_PERSISTENT_ADDRESS, in qla4xxx_copy_fwddb_param()
3856 iscsi_set_param(cls_conn, ISCSI_PARAM_TARGET_NAME, in qla4xxx_copy_fwddb_param()
3858 iscsi_set_param(cls_conn, ISCSI_PARAM_INITIATOR_NAME, in qla4xxx_copy_fwddb_param()
3865 iscsi_set_param(cls_conn, ISCSI_PARAM_USERNAME, in qla4xxx_copy_fwddb_param()
3868 iscsi_set_param(cls_conn, ISCSI_PARAM_PASSWORD, in qla4xxx_copy_fwddb_param()
3879 struct iscsi_cls_conn *cls_conn; in qla4xxx_update_session_conn_fwddb_param() local
3904 cls_conn = ddb_entry->conn; in qla4xxx_update_session_conn_fwddb_param()
3907 qla4xxx_copy_fwddb_param(ha, fw_ddb_entry, cls_sess, cls_conn); in qla4xxx_update_session_conn_fwddb_param()
3919 struct iscsi_cls_conn *cls_conn; in qla4xxx_update_session_conn_param() local
3947 cls_conn = ddb_entry->conn; in qla4xxx_update_session_conn_param()
3948 conn = cls_conn->dd_data; in qla4xxx_update_session_conn_param()
6255 struct iscsi_cls_conn *cls_conn; in qla4xxx_get_param_ddb() local
6263 cls_conn = ddb_entry->conn; in qla4xxx_get_param_ddb()
6264 conn = cls_conn->dd_data; in qla4xxx_get_param_ddb()
6881 struct iscsi_cls_conn *cls_conn; in qla4xxx_sess_conn_setup() local
6917 cls_conn = iscsi_conn_setup(cls_sess, sizeof(struct qla_conn), conn_id); in qla4xxx_sess_conn_setup()
6919 if (!cls_conn) { in qla4xxx_sess_conn_setup()
6924 ddb_entry->conn = cls_conn; in qla4xxx_sess_conn_setup()
6929 ep->conn = cls_conn; in qla4xxx_sess_conn_setup()
6930 cls_conn->ep = ep; in qla4xxx_sess_conn_setup()
6938 qla4xxx_copy_fwddb_param(ha, fw_ddb_entry, cls_sess, cls_conn); in qla4xxx_sess_conn_setup()