1 /* SPDX-License-Identifier: GPL-2.0-or-later */
7 * Copyright (C) 2002, 2004 Oracle. All rights reserved.
10 #ifndef OCFS2_HEARTBEAT_H
11 #define OCFS2_HEARTBEAT_H
13 void ocfs2_init_node_maps(struct ocfs2_super *osb);
15 void ocfs2_do_node_down(int node_num, void *data);
17 /* node map functions - used to keep track of mounted and in-recovery
19 void ocfs2_node_map_set_bit(struct ocfs2_super *osb,
20 struct ocfs2_node_map *map,
22 void ocfs2_node_map_clear_bit(struct ocfs2_super *osb,
23 struct ocfs2_node_map *map,
25 int ocfs2_node_map_test_bit(struct ocfs2_super *osb,
26 struct ocfs2_node_map *map,
29 #endif /* OCFS2_HEARTBEAT_H */