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