Lines Matching refs:stack_name
57 static int ocfs2_stack_driver_request(const char *stack_name, in ocfs2_stack_driver_request() argument
69 if (strcmp(stack_name, cluster_stack_name)) { in ocfs2_stack_driver_request()
109 static int ocfs2_stack_driver_get(const char *stack_name) in ocfs2_stack_driver_get() argument
118 if (!stack_name || !*stack_name) in ocfs2_stack_driver_get()
119 stack_name = OCFS2_STACK_PLUGIN_O2CB; in ocfs2_stack_driver_get()
121 if (strlen(stack_name) != OCFS2_STACK_LABEL_LEN) { in ocfs2_stack_driver_get()
124 stack_name); in ocfs2_stack_driver_get()
129 if (strcmp(stack_name, OCFS2_STACK_PLUGIN_O2CB)) in ocfs2_stack_driver_get()
132 rc = ocfs2_stack_driver_request(stack_name, plugin_name); in ocfs2_stack_driver_get()
135 rc = ocfs2_stack_driver_request(stack_name, plugin_name); in ocfs2_stack_driver_get()
303 int ocfs2_cluster_connect(const char *stack_name, in ocfs2_cluster_connect() argument
353 rc = ocfs2_stack_driver_get(stack_name); in ocfs2_cluster_connect()
383 char *stack_name = NULL; in ocfs2_cluster_connect_agnostic() local
386 stack_name = cluster_stack_name; in ocfs2_cluster_connect_agnostic()
387 return ocfs2_cluster_connect(stack_name, NULL, 0, group, grouplen, in ocfs2_cluster_connect_agnostic()