Lines Matching refs:active_stack

49 static struct ocfs2_stack_plugin *active_stack;  variable
82 if (active_stack) { in ocfs2_stack_driver_request()
87 if (!strcmp(active_stack->sp_name, plugin_name)) in ocfs2_stack_driver_request()
100 active_stack = p; in ocfs2_stack_driver_request()
106 active_stack->sp_count++; in ocfs2_stack_driver_request()
161 BUG_ON(active_stack == NULL); in ocfs2_stack_driver_put()
162 BUG_ON(active_stack->sp_count == 0); in ocfs2_stack_driver_put()
164 active_stack->sp_count--; in ocfs2_stack_driver_put()
165 if (!active_stack->sp_count) { in ocfs2_stack_driver_put()
166 module_put(active_stack->sp_owner); in ocfs2_stack_driver_put()
167 active_stack = NULL; in ocfs2_stack_driver_put()
203 BUG_ON(plugin == active_stack); in ocfs2_stack_glue_unregister()
252 return active_stack->sp_ops->dlm_lock(conn, mode, lksb, flags, in ocfs2_dlm_lock()
263 return active_stack->sp_ops->dlm_unlock(conn, lksb, flags); in ocfs2_dlm_unlock()
269 return active_stack->sp_ops->lock_status(lksb); in ocfs2_dlm_lock_status()
275 return active_stack->sp_ops->lvb_valid(lksb); in ocfs2_dlm_lvb_valid()
281 return active_stack->sp_ops->lock_lvb(lksb); in ocfs2_dlm_lvb()
287 active_stack->sp_ops->dump_lksb(lksb); in ocfs2_dlm_dump_lksb()
293 return active_stack && active_stack->sp_ops->plock; in ocfs2_stack_supports_plocks()
304 WARN_ON_ONCE(active_stack->sp_ops->plock == NULL); in ocfs2_plock()
305 if (active_stack->sp_ops->plock) in ocfs2_plock()
306 return active_stack->sp_ops->plock(conn, ino, file, cmd, fl); in ocfs2_plock()
365 rc = active_stack->sp_ops->connect(new_conn); in ocfs2_cluster_connect()
409 ret = active_stack->sp_ops->disconnect(conn); in ocfs2_cluster_disconnect()
473 return active_stack->sp_ops->this_node(conn, node); in ocfs2_cluster_this_node()
537 if (active_stack) { in ocfs2_active_cluster_plugin_show()
539 active_stack->sp_name); in ocfs2_active_cluster_plugin_show()
582 if (active_stack) { in ocfs2_cluster_stack_store()