1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /* -*- mode: c; c-basic-offset: 8; -*-
3 * vim: noexpandtab sw=8 ts=8 sts=0:
9 * Copyright (C) 2002, 2004 Oracle. All rights reserved.
12 #ifndef OCFS2_HEARTBEAT_H
13 #define OCFS2_HEARTBEAT_H
15 void ocfs2_init_node_maps(struct ocfs2_super
*osb
);
17 void ocfs2_do_node_down(int node_num
, void *data
);
19 /* node map functions - used to keep track of mounted and in-recovery
21 void ocfs2_node_map_set_bit(struct ocfs2_super
*osb
,
22 struct ocfs2_node_map
*map
,
24 void ocfs2_node_map_clear_bit(struct ocfs2_super
*osb
,
25 struct ocfs2_node_map
*map
,
27 int ocfs2_node_map_test_bit(struct ocfs2_super
*osb
,
28 struct ocfs2_node_map
*map
,
31 #endif /* OCFS2_HEARTBEAT_H */