xref: /openbmc/linux/fs/dlm/ast.h (revision 6e63153d)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /******************************************************************************
3 *******************************************************************************
4 **
5 **  Copyright (C) 2005-2010 Red Hat, Inc.  All rights reserved.
6 **
7 **
8 *******************************************************************************
9 ******************************************************************************/
10 
11 #ifndef __ASTD_DOT_H__
12 #define __ASTD_DOT_H__
13 
14 int dlm_add_lkb_callback(struct dlm_lkb *lkb, uint32_t flags, int mode,
15                          int status, uint32_t sbflags, uint64_t seq);
16 int dlm_rem_lkb_callback(struct dlm_ls *ls, struct dlm_lkb *lkb,
17                          struct dlm_callback *cb, int *resid);
18 void dlm_add_cb(struct dlm_lkb *lkb, uint32_t flags, int mode, int status,
19                 uint32_t sbflags);
20 
21 void dlm_callback_work(struct work_struct *work);
22 int dlm_callback_start(struct dlm_ls *ls);
23 void dlm_callback_stop(struct dlm_ls *ls);
24 void dlm_callback_suspend(struct dlm_ls *ls);
25 void dlm_callback_resume(struct dlm_ls *ls);
26 
27 #endif
28 
29 
30