Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0-or-later */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /* -*- mode: c; c-basic-offset: 8; -*-
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  * vim: noexpandtab sw=8 ts=8 sts=0:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  * heartbeat.h
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7)  * Function prototypes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9)  * Copyright (C) 2002, 2004 Oracle.  All rights reserved.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #ifndef OCFS2_HEARTBEAT_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #define OCFS2_HEARTBEAT_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) void ocfs2_init_node_maps(struct ocfs2_super *osb);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) void ocfs2_do_node_down(int node_num, void *data);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) /* node map functions - used to keep track of mounted and in-recovery
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)  * nodes. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) void ocfs2_node_map_set_bit(struct ocfs2_super *osb,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 			    struct ocfs2_node_map *map,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 			    int bit);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) void ocfs2_node_map_clear_bit(struct ocfs2_super *osb,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 			      struct ocfs2_node_map *map,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 			      int bit);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) int ocfs2_node_map_test_bit(struct ocfs2_super *osb,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 			    struct ocfs2_node_map *map,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 			    int bit);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) #endif /* OCFS2_HEARTBEAT_H */