Home
last modified time | relevance | path

Searched refs:jh (Results 1 – 4 of 4) sorted by relevance

/linux/fs/jbd2/
H A Dtransaction.c33 static void __jbd2_journal_temp_unlink_buffer(struct journal_head *jh);
34 static void __jbd2_journal_unfile_buffer(struct journal_head *jh);
917 static void jbd2_freeze_jh_data(struct journal_head *jh) in jbd2_freeze_jh_data() argument
920 struct buffer_head *bh = jh2bh(jh); in jbd2_freeze_jh_data()
922 J_EXPECT_JH(jh, buffer_uptodate(bh), "Possible IO failure.\n"); in jbd2_freeze_jh_data()
925 jbd2_buffer_frozen_trigger(jh, source, jh->b_triggers); in jbd2_freeze_jh_data()
926 memcpy(jh->b_frozen_data, source, bh->b_size); in jbd2_freeze_jh_data()
933 jh->b_frozen_triggers = jh->b_triggers; in jbd2_freeze_jh_data()
947 do_get_write_access(handle_t *handle, struct journal_head *jh, in do_get_write_access() argument
959 jbd2_debug(5, "journal_head %p, force_copy %d\n", jh, force_copy); in do_get_write_access()
[all …]
H A Drevoke.c425 void jbd2_journal_cancel_revoke(handle_t *handle, struct journal_head *jh) in jbd2_journal_cancel_revoke() argument
430 struct buffer_head *bh = jh2bh(jh); in jbd2_journal_cancel_revoke()
432 jbd2_debug(4, "journal_head %p, cancelling revoke\n", jh); in jbd2_journal_cancel_revoke()
460 J_ASSERT_JH(jh, record == NULL); in jbd2_journal_cancel_revoke()
/linux/fs/ocfs2/
H A Dsuballoc.c1260 struct journal_head *jh; in ocfs2_test_bg_bit_allocatable() local
1266 jh = jbd2_journal_grab_journal_head(bg_bh); in ocfs2_test_bg_bit_allocatable()
1267 if (!jh) in ocfs2_test_bg_bit_allocatable()
1270 spin_lock(&jh->b_state_lock); in ocfs2_test_bg_bit_allocatable()
1271 bg = (struct ocfs2_group_desc *) jh->b_committed_data; in ocfs2_test_bg_bit_allocatable()
1276 spin_unlock(&jh->b_state_lock); in ocfs2_test_bg_bit_allocatable()
1277 jbd2_journal_put_journal_head(jh); in ocfs2_test_bg_bit_allocatable()
2487 struct journal_head *jh; in ocfs2_block_group_clear_bits() local
2506 jh = bh2jh(group_bh); in ocfs2_block_group_clear_bits()
2508 spin_lock(&jh->b_state_lock); in ocfs2_block_group_clear_bits()
[all …]
/linux/fs/ubifs/
H A Dreplay.c518 struct ubifs_jhead *jh = &c->jheads[bud->jhead]; in is_last_bud() local
523 if (list_is_last(&bud->list, &jh->buds_list)) in is_last_bud()
554 if (!list_is_last(&next->list, &jh->buds_list)) in is_last_bud()