Lines Matching refs:new_conn
313 struct ocfs2_cluster_connection *new_conn; in ocfs2_cluster_connect() local
330 new_conn = kzalloc(sizeof(struct ocfs2_cluster_connection), in ocfs2_cluster_connect()
332 if (!new_conn) { in ocfs2_cluster_connect()
337 strscpy(new_conn->cc_name, group, GROUP_NAME_MAX + 1); in ocfs2_cluster_connect()
338 new_conn->cc_namelen = grouplen; in ocfs2_cluster_connect()
340 strscpy(new_conn->cc_cluster_name, cluster_name, in ocfs2_cluster_connect()
342 new_conn->cc_cluster_name_len = cluster_name_len; in ocfs2_cluster_connect()
343 new_conn->cc_recovery_handler = recovery_handler; in ocfs2_cluster_connect()
344 new_conn->cc_recovery_data = recovery_data; in ocfs2_cluster_connect()
346 new_conn->cc_proto = lproto; in ocfs2_cluster_connect()
348 new_conn->cc_version = lproto->lp_max_version; in ocfs2_cluster_connect()
355 rc = active_stack->sp_ops->connect(new_conn); in ocfs2_cluster_connect()
361 *conn = new_conn; in ocfs2_cluster_connect()
365 kfree(new_conn); in ocfs2_cluster_connect()