xref: /openbmc/linux/fs/dlm/ast.h (revision 8304d6f24cc1221392b6d61fa9d16631cbd6beb7)
1e7fd4179SDavid Teigland /******************************************************************************
2e7fd4179SDavid Teigland *******************************************************************************
3e7fd4179SDavid Teigland **
47fe2b319SDavid Teigland **  Copyright (C) 2005-2010 Red Hat, Inc.  All rights reserved.
5e7fd4179SDavid Teigland **
6e7fd4179SDavid Teigland **  This copyrighted material is made available to anyone wishing to use,
7e7fd4179SDavid Teigland **  modify, copy, or redistribute it subject to the terms and conditions
8e7fd4179SDavid Teigland **  of the GNU General Public License v.2.
9e7fd4179SDavid Teigland **
10e7fd4179SDavid Teigland *******************************************************************************
11e7fd4179SDavid Teigland ******************************************************************************/
12e7fd4179SDavid Teigland 
13e7fd4179SDavid Teigland #ifndef __ASTD_DOT_H__
14e7fd4179SDavid Teigland #define __ASTD_DOT_H__
15e7fd4179SDavid Teigland 
16e7fd4179SDavid Teigland void dlm_del_ast(struct dlm_lkb *lkb);
17*8304d6f2SDavid Teigland int dlm_add_lkb_callback(struct dlm_lkb *lkb, uint32_t flags, int mode,
18*8304d6f2SDavid Teigland                          int status, uint32_t sbflags, uint64_t seq);
19*8304d6f2SDavid Teigland int dlm_rem_lkb_callback(struct dlm_ls *ls, struct dlm_lkb *lkb,
20*8304d6f2SDavid Teigland                          struct dlm_callback *cb, int *resid);
21*8304d6f2SDavid Teigland void dlm_add_ast(struct dlm_lkb *lkb, uint32_t flags, int mode, int status,
22*8304d6f2SDavid Teigland 		 uint32_t sbflags);
23e7fd4179SDavid Teigland 
24e7fd4179SDavid Teigland void dlm_astd_wake(void);
25e7fd4179SDavid Teigland int dlm_astd_start(void);
26e7fd4179SDavid Teigland void dlm_astd_stop(void);
27e7fd4179SDavid Teigland void dlm_astd_suspend(void);
28e7fd4179SDavid Teigland void dlm_astd_resume(void);
29e7fd4179SDavid Teigland 
30e7fd4179SDavid Teigland #endif
31e7fd4179SDavid Teigland 
32