Lines Matching refs:jh_in
336 struct journal_head *jh_in, in jbd2_journal_write_metadata_buffer() argument
347 struct buffer_head *bh_in = jh2bh(jh_in); in jbd2_journal_write_metadata_buffer()
366 spin_lock(&jh_in->b_state_lock); in jbd2_journal_write_metadata_buffer()
372 if (jh_in->b_frozen_data) { in jbd2_journal_write_metadata_buffer()
374 new_page = virt_to_page(jh_in->b_frozen_data); in jbd2_journal_write_metadata_buffer()
375 new_offset = offset_in_page(jh_in->b_frozen_data); in jbd2_journal_write_metadata_buffer()
377 new_page = jh2bh(jh_in)->b_page; in jbd2_journal_write_metadata_buffer()
378 new_offset = offset_in_page(jh2bh(jh_in)->b_data); in jbd2_journal_write_metadata_buffer()
389 jbd2_buffer_frozen_trigger(jh_in, mapped_data + new_offset, in jbd2_journal_write_metadata_buffer()
390 jh_in->b_triggers); in jbd2_journal_write_metadata_buffer()
408 spin_unlock(&jh_in->b_state_lock); in jbd2_journal_write_metadata_buffer()
414 spin_lock(&jh_in->b_state_lock); in jbd2_journal_write_metadata_buffer()
415 if (jh_in->b_frozen_data) { in jbd2_journal_write_metadata_buffer()
420 jh_in->b_frozen_data = tmp; in jbd2_journal_write_metadata_buffer()
434 jh_in->b_frozen_triggers = jh_in->b_triggers; in jbd2_journal_write_metadata_buffer()
462 JBUFFER_TRACE(jh_in, "file as BJ_Shadow"); in jbd2_journal_write_metadata_buffer()
464 __jbd2_journal_file_buffer(jh_in, transaction, BJ_Shadow); in jbd2_journal_write_metadata_buffer()
467 spin_unlock(&jh_in->b_state_lock); in jbd2_journal_write_metadata_buffer()