1 /* SPDX-License-Identifier: GPL-2.0-only */ << 2 /********************************************* 1 /****************************************************************************** 3 ********************************************** 2 ******************************************************************************* 4 ** 3 ** 5 ** Copyright (C) 2005-2011 Red Hat, Inc. All 4 ** Copyright (C) 2005-2011 Red Hat, Inc. All rights reserved. 6 ** 5 ** >> 6 ** This copyrighted material is made available to anyone wishing to use, >> 7 ** modify, copy, or redistribute it subject to the terms and conditions >> 8 ** of the GNU General Public License v.2. 7 ** 9 ** 8 ********************************************** 10 ******************************************************************************* 9 ********************************************** 11 ******************************************************************************/ 10 12 11 #ifndef __MEMBER_DOT_H__ 13 #ifndef __MEMBER_DOT_H__ 12 #define __MEMBER_DOT_H__ 14 #define __MEMBER_DOT_H__ 13 15 14 int dlm_ls_stop(struct dlm_ls *ls); 16 int dlm_ls_stop(struct dlm_ls *ls); 15 int dlm_ls_start(struct dlm_ls *ls); 17 int dlm_ls_start(struct dlm_ls *ls); 16 void dlm_clear_members(struct dlm_ls *ls); 18 void dlm_clear_members(struct dlm_ls *ls); 17 void dlm_clear_members_gone(struct dlm_ls *ls) 19 void dlm_clear_members_gone(struct dlm_ls *ls); 18 int dlm_recover_members(struct dlm_ls *ls, str 20 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 node 21 int dlm_is_removed(struct dlm_ls *ls, int nodeid); 20 int dlm_is_member(struct dlm_ls *ls, int nodei 22 int dlm_is_member(struct dlm_ls *ls, int nodeid); 21 int dlm_slots_version(const struct dlm_header !! 23 int dlm_slots_version(struct dlm_header *h); 22 void dlm_slot_save(struct dlm_ls *ls, struct d 24 void dlm_slot_save(struct dlm_ls *ls, struct dlm_rcom *rc, 23 struct dlm_member *memb); 25 struct dlm_member *memb); 24 void dlm_slots_copy_out(struct dlm_ls *ls, str 26 void dlm_slots_copy_out(struct dlm_ls *ls, struct dlm_rcom *rc); 25 int dlm_slots_copy_in(struct dlm_ls *ls); 27 int dlm_slots_copy_in(struct dlm_ls *ls); 26 int dlm_slots_assign(struct dlm_ls *ls, int *n 28 int dlm_slots_assign(struct dlm_ls *ls, int *num_slots, int *slots_size, 27 struct dlm_slot **slots_o 29 struct dlm_slot **slots_out, uint32_t *gen_out); 28 void dlm_lsop_recover_done(struct dlm_ls *ls); 30 void dlm_lsop_recover_done(struct dlm_ls *ls); 29 31 30 #endif /* __MEMBER_DO 32 #endif /* __MEMBER_DOT_H__ */ 31 33 32 34
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.