Lines Matching refs:new_bh
395 struct buffer_head *new_bh; in journal_write_metadata_buffer() local
461 new_bh = get_unused_buffer_head(0); in journal_write_metadata_buffer()
462 if (!new_bh) { in journal_write_metadata_buffer()
468 } while (!new_bh); in journal_write_metadata_buffer()
470 new_bh->b_prev_free = 0; in journal_write_metadata_buffer()
471 new_bh->b_next_free = 0; in journal_write_metadata_buffer()
472 new_bh->b_state = 0; in journal_write_metadata_buffer()
473 init_buffer(new_bh, NULL, NULL); in journal_write_metadata_buffer()
474 atomic_set(&new_bh->b_count, 1); in journal_write_metadata_buffer()
475 new_jh = journal_add_journal_head(new_bh); in journal_write_metadata_buffer()
477 set_bh_page(new_bh, new_page, new_offset); in journal_write_metadata_buffer()
480 new_bh->b_size = jh2bh(jh_in)->b_size; in journal_write_metadata_buffer()
481 new_bh->b_dev = transaction->t_journal->j_dev; in journal_write_metadata_buffer()
482 new_bh->b_blocknr = blocknr; in journal_write_metadata_buffer()
483 new_bh->b_state |= (1 << BH_Mapped) | (1 << BH_Dirty); in journal_write_metadata_buffer()