xref: /linux/fs/dlm/rcom.h (revision a1c613ae4c322ddd58d5a8539dbfba2a0380a8c0)
12522fe45SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */
2e7fd4179SDavid Teigland /******************************************************************************
3e7fd4179SDavid Teigland *******************************************************************************
4e7fd4179SDavid Teigland **
5e7fd4179SDavid Teigland **  Copyright (C) Sistina Software, Inc.  1997-2003  All rights reserved.
6c36258b5SDavid Teigland **  Copyright (C) 2005-2007 Red Hat, Inc.  All rights reserved.
7e7fd4179SDavid Teigland **
8e7fd4179SDavid Teigland **
9e7fd4179SDavid Teigland *******************************************************************************
10e7fd4179SDavid Teigland ******************************************************************************/
11e7fd4179SDavid Teigland 
12e7fd4179SDavid Teigland #ifndef __RCOM_DOT_H__
13e7fd4179SDavid Teigland #define __RCOM_DOT_H__
14e7fd4179SDavid Teigland 
15c4f4e135SAlexander Aring int dlm_rcom_status(struct dlm_ls *ls, int nodeid, uint32_t status_flags,
16c4f4e135SAlexander Aring 		    uint64_t seq);
17c4f4e135SAlexander Aring int dlm_rcom_names(struct dlm_ls *ls, int nodeid, char *last_name,
18c4f4e135SAlexander Aring 		   int last_len, uint64_t seq);
19c4f4e135SAlexander Aring int dlm_send_rcom_lookup(struct dlm_rsb *r, int dir_nodeid, uint64_t seq);
20c4f4e135SAlexander Aring int dlm_send_rcom_lock(struct dlm_rsb *r, struct dlm_lkb *lkb, uint64_t seq);
21*11519351SAlexander Aring void dlm_receive_rcom(struct dlm_ls *ls, const struct dlm_rcom *rc,
22*11519351SAlexander Aring 		      int nodeid);
23*11519351SAlexander Aring int dlm_send_ls_not_ready(int nodeid, const struct dlm_rcom *rc_in);
24e7fd4179SDavid Teigland 
25e7fd4179SDavid Teigland #endif
26e7fd4179SDavid Teigland 
27