Lines Matching refs:jh
1257 struct journal_head *jh; in ocfs2_test_bg_bit_allocatable() local
1263 jh = jbd2_journal_grab_journal_head(bg_bh); in ocfs2_test_bg_bit_allocatable()
1264 if (!jh) in ocfs2_test_bg_bit_allocatable()
1267 spin_lock(&jh->b_state_lock); in ocfs2_test_bg_bit_allocatable()
1268 bg = (struct ocfs2_group_desc *) jh->b_committed_data; in ocfs2_test_bg_bit_allocatable()
1273 spin_unlock(&jh->b_state_lock); in ocfs2_test_bg_bit_allocatable()
1274 jbd2_journal_put_journal_head(jh); in ocfs2_test_bg_bit_allocatable()
2450 struct journal_head *jh; in ocfs2_block_group_clear_bits() local
2469 jh = bh2jh(group_bh); in ocfs2_block_group_clear_bits()
2471 spin_lock(&jh->b_state_lock); in ocfs2_block_group_clear_bits()
2472 undo_bg = (struct ocfs2_group_desc *) jh->b_committed_data; in ocfs2_block_group_clear_bits()
2487 spin_unlock(&jh->b_state_lock); in ocfs2_block_group_clear_bits()
2510 spin_unlock(&jh->b_state_lock); in ocfs2_block_group_clear_bits()