Lines Matching refs:bit
30 int bit);
32 int bit);
71 int bit) in __ocfs2_node_map_set_bit() argument
73 set_bit(bit, map->map); in __ocfs2_node_map_set_bit()
78 int bit) in ocfs2_node_map_set_bit() argument
80 if (bit==-1) in ocfs2_node_map_set_bit()
82 BUG_ON(bit >= map->num_nodes); in ocfs2_node_map_set_bit()
84 __ocfs2_node_map_set_bit(map, bit); in ocfs2_node_map_set_bit()
89 int bit) in __ocfs2_node_map_clear_bit() argument
91 clear_bit(bit, map->map); in __ocfs2_node_map_clear_bit()
96 int bit) in ocfs2_node_map_clear_bit() argument
98 if (bit==-1) in ocfs2_node_map_clear_bit()
100 BUG_ON(bit >= map->num_nodes); in ocfs2_node_map_clear_bit()
102 __ocfs2_node_map_clear_bit(map, bit); in ocfs2_node_map_clear_bit()
108 int bit) in ocfs2_node_map_test_bit() argument
111 if (bit >= map->num_nodes) { in ocfs2_node_map_test_bit()
112 mlog(ML_ERROR, "bit=%d map->num_nodes=%d\n", bit, map->num_nodes); in ocfs2_node_map_test_bit()
116 ret = test_bit(bit, map->map); in ocfs2_node_map_test_bit()