xref: /linux/fs/dlm/rcom.h (revision c4f4e135c27b503d325d414819831909023b113d)
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 
15*c4f4e135SAlexander Aring int dlm_rcom_status(struct dlm_ls *ls, int nodeid, uint32_t status_flags,
16*c4f4e135SAlexander Aring 		    uint64_t seq);
17*c4f4e135SAlexander Aring int dlm_rcom_names(struct dlm_ls *ls, int nodeid, char *last_name,
18*c4f4e135SAlexander Aring 		   int last_len, uint64_t seq);
19*c4f4e135SAlexander Aring int dlm_send_rcom_lookup(struct dlm_rsb *r, int dir_nodeid, uint64_t seq);
20*c4f4e135SAlexander Aring int dlm_send_rcom_lock(struct dlm_rsb *r, struct dlm_lkb *lkb, uint64_t seq);
21c36258b5SDavid Teigland void dlm_receive_rcom(struct dlm_ls *ls, struct dlm_rcom *rc, int nodeid);
22c36258b5SDavid Teigland int dlm_send_ls_not_ready(int nodeid, struct dlm_rcom *rc_in);
23e7fd4179SDavid Teigland 
24e7fd4179SDavid Teigland #endif
25e7fd4179SDavid Teigland 
26