blob: 181ad7d20c4d3232e14ae7ef773b91ee22a075f9 [file] [log] [blame]
Thomas Gleixner2522fe42019-05-28 09:57:20 -07001/* SPDX-License-Identifier: GPL-2.0-only */
David Teiglande7fd4172006-01-18 09:30:29 +00002/******************************************************************************
3*******************************************************************************
4**
David Teigland7fe2b312010-02-24 11:08:18 -06005** Copyright (C) 2005-2010 Red Hat, Inc. All rights reserved.
David Teiglande7fd4172006-01-18 09:30:29 +00006**
David Teiglande7fd4172006-01-18 09:30:29 +00007**
8*******************************************************************************
9******************************************************************************/
10
11#ifndef __ASTD_DOT_H__
12#define __ASTD_DOT_H__
13
David Teiglande7fd4172006-01-18 09:30:29 +000014void dlm_del_ast(struct dlm_lkb *lkb);
David Teigland8304d6f2011-02-21 14:58:21 -060015int dlm_add_lkb_callback(struct dlm_lkb *lkb, uint32_t flags, int mode,
16 int status, uint32_t sbflags, uint64_t seq);
17int dlm_rem_lkb_callback(struct dlm_ls *ls, struct dlm_lkb *lkb,
18 struct dlm_callback *cb, int *resid);
David Teigland23e8e1a2011-04-05 13:16:24 -050019void dlm_add_cb(struct dlm_lkb *lkb, uint32_t flags, int mode, int status,
20 uint32_t sbflags);
David Teiglande7fd4172006-01-18 09:30:29 +000021
David Teigland23e8e1a2011-04-05 13:16:24 -050022void dlm_callback_work(struct work_struct *work);
23int dlm_callback_start(struct dlm_ls *ls);
24void dlm_callback_stop(struct dlm_ls *ls);
25void dlm_callback_suspend(struct dlm_ls *ls);
26void dlm_callback_resume(struct dlm_ls *ls);
David Teiglande7fd4172006-01-18 09:30:29 +000027
28#endif
29
David Teigland23e8e1a2011-04-05 13:16:24 -050030