Thomas Gleixner | 2522fe4 | 2019-05-28 09:57:20 -0700 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
David Teigland | e7fd417 | 2006-01-18 09:30:29 +0000 | [diff] [blame] | 2 | /****************************************************************************** |
| 3 | ******************************************************************************* |
| 4 | ** |
David Teigland | 7fe2b31 | 2010-02-24 11:08:18 -0600 | [diff] [blame] | 5 | ** Copyright (C) 2005-2010 Red Hat, Inc. All rights reserved. |
David Teigland | e7fd417 | 2006-01-18 09:30:29 +0000 | [diff] [blame] | 6 | ** |
David Teigland | e7fd417 | 2006-01-18 09:30:29 +0000 | [diff] [blame] | 7 | ** |
| 8 | ******************************************************************************* |
| 9 | ******************************************************************************/ |
| 10 | |
| 11 | #ifndef __ASTD_DOT_H__ |
| 12 | #define __ASTD_DOT_H__ |
| 13 | |
David Teigland | e7fd417 | 2006-01-18 09:30:29 +0000 | [diff] [blame] | 14 | void dlm_del_ast(struct dlm_lkb *lkb); |
David Teigland | 8304d6f | 2011-02-21 14:58:21 -0600 | [diff] [blame] | 15 | int dlm_add_lkb_callback(struct dlm_lkb *lkb, uint32_t flags, int mode, |
| 16 | int status, uint32_t sbflags, uint64_t seq); |
| 17 | int dlm_rem_lkb_callback(struct dlm_ls *ls, struct dlm_lkb *lkb, |
| 18 | struct dlm_callback *cb, int *resid); |
David Teigland | 23e8e1a | 2011-04-05 13:16:24 -0500 | [diff] [blame] | 19 | void dlm_add_cb(struct dlm_lkb *lkb, uint32_t flags, int mode, int status, |
| 20 | uint32_t sbflags); |
David Teigland | e7fd417 | 2006-01-18 09:30:29 +0000 | [diff] [blame] | 21 | |
David Teigland | 23e8e1a | 2011-04-05 13:16:24 -0500 | [diff] [blame] | 22 | void dlm_callback_work(struct work_struct *work); |
| 23 | int dlm_callback_start(struct dlm_ls *ls); |
| 24 | void dlm_callback_stop(struct dlm_ls *ls); |
| 25 | void dlm_callback_suspend(struct dlm_ls *ls); |
| 26 | void dlm_callback_resume(struct dlm_ls *ls); |
David Teigland | e7fd417 | 2006-01-18 09:30:29 +0000 | [diff] [blame] | 27 | |
| 28 | #endif |
| 29 | |
David Teigland | 23e8e1a | 2011-04-05 13:16:24 -0500 | [diff] [blame] | 30 | |