linux/fs/dlm/ast.c

// SPDX-License-Identifier: GPL-2.0-only
/******************************************************************************
*******************************************************************************
**
**  Copyright (C) Sistina Software, Inc.  1997-2003  All rights reserved.
**  Copyright (C) 2004-2010 Red Hat, Inc.  All rights reserved.
**
**
*******************************************************************************
******************************************************************************/

#include <trace/events/dlm.h>

#include "dlm_internal.h"
#include "lvb_table.h"
#include "memory.h"
#include "lock.h"
#include "user.h"
#include "ast.h"

static void dlm_run_callback(uint32_t ls_id, uint32_t lkb_id, int8_t mode,
			     uint32_t flags, uint8_t sb_flags, int sb_status,
			     struct dlm_lksb *lksb,
			     void (*astfn)(void *astparam),
			     void (*bastfn)(void *astparam, int mode),
			     void *astparam, const char *res_name,
			     size_t res_length)
{}

static void dlm_do_callback(struct dlm_callback *cb)
{}

static void dlm_callback_work(struct work_struct *work)
{}

bool dlm_may_skip_callback(struct dlm_lkb *lkb, uint32_t flags, int mode,
			   int status, uint32_t sbflags, int *copy_lvb)
{}

int dlm_get_cb(struct dlm_lkb *lkb, uint32_t flags, int mode,
	       int status, uint32_t sbflags,
	       struct dlm_callback **cb)
{}

static int dlm_get_queue_cb(struct dlm_lkb *lkb, uint32_t flags, int mode,
			    int status, uint32_t sbflags,
			    struct dlm_callback **cb)
{}

void dlm_add_cb(struct dlm_lkb *lkb, uint32_t flags, int mode, int status,
		uint32_t sbflags)
{}

int dlm_callback_start(struct dlm_ls *ls)
{}

void dlm_callback_stop(struct dlm_ls *ls)
{}

void dlm_callback_suspend(struct dlm_ls *ls)
{}

#define MAX_CB_QUEUE

void dlm_callback_resume(struct dlm_ls *ls)
{}