Lines Matching refs:osb
43 void ocfs2_init_node_maps(struct ocfs2_super *osb) in ocfs2_init_node_maps() argument
45 spin_lock_init(&osb->node_map_lock); in ocfs2_init_node_maps()
46 ocfs2_node_map_init(&osb->osb_recovering_orphan_dirs); in ocfs2_init_node_maps()
51 struct ocfs2_super *osb = data; in ocfs2_do_node_down() local
53 BUG_ON(osb->node_num == node_num); in ocfs2_do_node_down()
57 if (!osb->cconn) { in ocfs2_do_node_down()
67 ocfs2_recovery_thread(osb, node_num); in ocfs2_do_node_down()
76 void ocfs2_node_map_set_bit(struct ocfs2_super *osb, in ocfs2_node_map_set_bit() argument
83 spin_lock(&osb->node_map_lock); in ocfs2_node_map_set_bit()
85 spin_unlock(&osb->node_map_lock); in ocfs2_node_map_set_bit()
94 void ocfs2_node_map_clear_bit(struct ocfs2_super *osb, in ocfs2_node_map_clear_bit() argument
101 spin_lock(&osb->node_map_lock); in ocfs2_node_map_clear_bit()
103 spin_unlock(&osb->node_map_lock); in ocfs2_node_map_clear_bit()
106 int ocfs2_node_map_test_bit(struct ocfs2_super *osb, in ocfs2_node_map_test_bit() argument
115 spin_lock(&osb->node_map_lock); in ocfs2_node_map_test_bit()
117 spin_unlock(&osb->node_map_lock); in ocfs2_node_map_test_bit()