1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * heartbeat.h 4 * 5 * Function prototypes 6 * 7 * Copyright (C) 2002, 2004 Oracle. All rights reserved. 8 */ 9 10#ifndef OCFS2_HEARTBEAT_H 11#define OCFS2_HEARTBEAT_H 12 13void ocfs2_init_node_maps(struct ocfs2_super *osb); 14 15void ocfs2_do_node_down(int node_num, void *data); 16 17/* node map functions - used to keep track of mounted and in-recovery 18 * nodes. */ 19void ocfs2_node_map_set_bit(struct ocfs2_super *osb, 20 struct ocfs2_node_map *map, 21 int bit); 22void ocfs2_node_map_clear_bit(struct ocfs2_super *osb, 23 struct ocfs2_node_map *map, 24 int bit); 25int ocfs2_node_map_test_bit(struct ocfs2_super *osb, 26 struct ocfs2_node_map *map, 27 int bit); 28 29#endif /* OCFS2_HEARTBEAT_H */ 30