Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * heartbeat.h
0004  *
0005  * Function prototypes
0006  *
0007  * Copyright (C) 2002, 2004 Oracle.  All rights reserved.
0008  */
0009 
0010 #ifndef OCFS2_HEARTBEAT_H
0011 #define OCFS2_HEARTBEAT_H
0012 
0013 void ocfs2_init_node_maps(struct ocfs2_super *osb);
0014 
0015 void ocfs2_do_node_down(int node_num, void *data);
0016 
0017 /* node map functions - used to keep track of mounted and in-recovery
0018  * nodes. */
0019 void ocfs2_node_map_set_bit(struct ocfs2_super *osb,
0020                 struct ocfs2_node_map *map,
0021                 int bit);
0022 void ocfs2_node_map_clear_bit(struct ocfs2_super *osb,
0023                   struct ocfs2_node_map *map,
0024                   int bit);
0025 int ocfs2_node_map_test_bit(struct ocfs2_super *osb,
0026                 struct ocfs2_node_map *map,
0027                 int bit);
0028 
0029 #endif /* OCFS2_HEARTBEAT_H */