Lines Matching refs:active_stack
36 * The stack currently in use. If not null, active_stack->sp_count > 0,
39 static struct ocfs2_stack_plugin *active_stack;
72 if (active_stack) {
77 if (!strcmp(active_stack->sp_name, plugin_name))
90 active_stack = p;
96 active_stack->sp_count++;
151 BUG_ON(active_stack == NULL);
152 BUG_ON(active_stack->sp_count == 0);
154 active_stack->sp_count--;
155 if (!active_stack->sp_count) {
156 module_put(active_stack->sp_owner);
157 active_stack = NULL;
193 BUG_ON(plugin == active_stack);
242 return active_stack->sp_ops->dlm_lock(conn, mode, lksb, flags,
253 return active_stack->sp_ops->dlm_unlock(conn, lksb, flags);
259 return active_stack->sp_ops->lock_status(lksb);
265 return active_stack->sp_ops->lvb_valid(lksb);
271 return active_stack->sp_ops->lock_lvb(lksb);
277 active_stack->sp_ops->dump_lksb(lksb);
283 return active_stack && active_stack->sp_ops->plock;
294 WARN_ON_ONCE(active_stack->sp_ops->plock == NULL);
295 if (active_stack->sp_ops->plock)
296 return active_stack->sp_ops->plock(conn, ino, file, cmd, fl);
355 rc = active_stack->sp_ops->connect(new_conn);
399 ret = active_stack->sp_ops->disconnect(conn);
463 return active_stack->sp_ops->this_node(conn, node);
527 if (active_stack) {
529 active_stack->sp_name);
572 if (active_stack) {