blob: 433b2fac9f4a7e50257d0592e9f3197fd5fad0cb [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 Teigland60f98d12011-11-02 14:30:58 -05005** Copyright (C) 2005-2011 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 __MEMBER_DOT_H__
12#define __MEMBER_DOT_H__
13
14int dlm_ls_stop(struct dlm_ls *ls);
15int dlm_ls_start(struct dlm_ls *ls);
16void dlm_clear_members(struct dlm_ls *ls);
17void dlm_clear_members_gone(struct dlm_ls *ls);
18int dlm_recover_members(struct dlm_ls *ls, struct dlm_recover *rv,int *neg_out);
19int dlm_is_removed(struct dlm_ls *ls, int nodeid);
David Teigland46b43ee2008-01-08 16:24:00 -060020int dlm_is_member(struct dlm_ls *ls, int nodeid);
David Teigland757a4272011-10-20 13:26:28 -050021int dlm_slots_version(struct dlm_header *h);
22void dlm_slot_save(struct dlm_ls *ls, struct dlm_rcom *rc,
23 struct dlm_member *memb);
24void dlm_slots_copy_out(struct dlm_ls *ls, struct dlm_rcom *rc);
25int dlm_slots_copy_in(struct dlm_ls *ls);
26int dlm_slots_assign(struct dlm_ls *ls, int *num_slots, int *slots_size,
27 struct dlm_slot **slots_out, uint32_t *gen_out);
David Teigland60f98d12011-11-02 14:30:58 -050028void dlm_lsop_recover_done(struct dlm_ls *ls);
David Teiglande7fd4172006-01-18 09:30:29 +000029
30#endif /* __MEMBER_DOT_H__ */
31