Lines Matching refs:jh_in
339 struct journal_head *jh_in, in jbd2_journal_write_metadata_buffer() argument
350 struct buffer_head *bh_in = jh2bh(jh_in); in jbd2_journal_write_metadata_buffer()
369 spin_lock(&jh_in->b_state_lock); in jbd2_journal_write_metadata_buffer()
375 if (jh_in->b_frozen_data) { in jbd2_journal_write_metadata_buffer()
377 new_page = virt_to_page(jh_in->b_frozen_data); in jbd2_journal_write_metadata_buffer()
378 new_offset = offset_in_page(jh_in->b_frozen_data); in jbd2_journal_write_metadata_buffer()
380 new_page = jh2bh(jh_in)->b_page; in jbd2_journal_write_metadata_buffer()
381 new_offset = offset_in_page(jh2bh(jh_in)->b_data); in jbd2_journal_write_metadata_buffer()
392 jbd2_buffer_frozen_trigger(jh_in, mapped_data + new_offset, in jbd2_journal_write_metadata_buffer()
393 jh_in->b_triggers); in jbd2_journal_write_metadata_buffer()
411 spin_unlock(&jh_in->b_state_lock); in jbd2_journal_write_metadata_buffer()
417 spin_lock(&jh_in->b_state_lock); in jbd2_journal_write_metadata_buffer()
418 if (jh_in->b_frozen_data) { in jbd2_journal_write_metadata_buffer()
423 jh_in->b_frozen_data = tmp; in jbd2_journal_write_metadata_buffer()
437 jh_in->b_frozen_triggers = jh_in->b_triggers; in jbd2_journal_write_metadata_buffer()
465 JBUFFER_TRACE(jh_in, "file as BJ_Shadow"); in jbd2_journal_write_metadata_buffer()
467 __jbd2_journal_file_buffer(jh_in, transaction, BJ_Shadow); in jbd2_journal_write_metadata_buffer()
470 spin_unlock(&jh_in->b_state_lock); in jbd2_journal_write_metadata_buffer()