Lines Matching defs:active_stack
38 * The stack currently in use. If not null, active_stack->sp_count > 0,
41 static struct ocfs2_stack_plugin *active_stack;
74 if (active_stack) {
79 if (!strcmp(active_stack->sp_name, plugin_name))
92 active_stack = p;
98 active_stack->sp_count++;
153 BUG_ON(active_stack == NULL);
154 BUG_ON(active_stack->sp_count == 0);
156 active_stack->sp_count--;
157 if (!active_stack->sp_count) {
158 module_put(active_stack->sp_owner);
159 active_stack = NULL;
195 BUG_ON(plugin == active_stack);
244 return active_stack->sp_ops->dlm_lock(conn, mode, lksb, flags,
255 return active_stack->sp_ops->dlm_unlock(conn, lksb, flags);
261 return active_stack->sp_ops->lock_status(lksb);
267 return active_stack->sp_ops->lvb_valid(lksb);
273 return active_stack->sp_ops->lock_lvb(lksb);
279 active_stack->sp_ops->dump_lksb(lksb);
285 return active_stack && active_stack->sp_ops->plock;
296 WARN_ON_ONCE(active_stack->sp_ops->plock == NULL);
297 if (active_stack->sp_ops->plock)
298 return active_stack->sp_ops->plock(conn, ino, file, cmd, fl);
357 rc = active_stack->sp_ops->connect(new_conn);
401 ret = active_stack->sp_ops->disconnect(conn);
465 return active_stack->sp_ops->this_node(conn, node);
529 if (active_stack) {
531 active_stack->sp_name);
574 if (active_stack) {