Thomas Gleixner | 2522fe4 | 2019-05-28 09:57:20 -0700 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
David Teigland | e7fd417 | 2006-01-18 09:30:29 +0000 | [diff] [blame] | 2 | /****************************************************************************** |
| 3 | ******************************************************************************* |
| 4 | ** |
David Teigland | 60f98d1 | 2011-11-02 14:30:58 -0500 | [diff] [blame] | 5 | ** Copyright (C) 2005-2011 Red Hat, Inc. All rights reserved. |
David Teigland | e7fd417 | 2006-01-18 09:30:29 +0000 | [diff] [blame] | 6 | ** |
David Teigland | e7fd417 | 2006-01-18 09:30:29 +0000 | [diff] [blame] | 7 | ** |
| 8 | ******************************************************************************* |
| 9 | ******************************************************************************/ |
| 10 | |
| 11 | #ifndef __MEMBER_DOT_H__ |
| 12 | #define __MEMBER_DOT_H__ |
| 13 | |
| 14 | int dlm_ls_stop(struct dlm_ls *ls); |
| 15 | int dlm_ls_start(struct dlm_ls *ls); |
| 16 | void dlm_clear_members(struct dlm_ls *ls); |
| 17 | void dlm_clear_members_gone(struct dlm_ls *ls); |
| 18 | int dlm_recover_members(struct dlm_ls *ls, struct dlm_recover *rv,int *neg_out); |
| 19 | int dlm_is_removed(struct dlm_ls *ls, int nodeid); |
David Teigland | 46b43ee | 2008-01-08 16:24:00 -0600 | [diff] [blame] | 20 | int dlm_is_member(struct dlm_ls *ls, int nodeid); |
David Teigland | 757a427 | 2011-10-20 13:26:28 -0500 | [diff] [blame] | 21 | int dlm_slots_version(struct dlm_header *h); |
| 22 | void dlm_slot_save(struct dlm_ls *ls, struct dlm_rcom *rc, |
| 23 | struct dlm_member *memb); |
| 24 | void dlm_slots_copy_out(struct dlm_ls *ls, struct dlm_rcom *rc); |
| 25 | int dlm_slots_copy_in(struct dlm_ls *ls); |
| 26 | int dlm_slots_assign(struct dlm_ls *ls, int *num_slots, int *slots_size, |
| 27 | struct dlm_slot **slots_out, uint32_t *gen_out); |
David Teigland | 60f98d1 | 2011-11-02 14:30:58 -0500 | [diff] [blame] | 28 | void dlm_lsop_recover_done(struct dlm_ls *ls); |
David Teigland | e7fd417 | 2006-01-18 09:30:29 +0000 | [diff] [blame] | 29 | |
| 30 | #endif /* __MEMBER_DOT_H__ */ |
| 31 | |