Lines Matching refs:new_bh
335 struct buffer_head *new_bh; in jbd2_journal_write_metadata_buffer() local
352 new_bh = alloc_buffer_head(GFP_NOFS|__GFP_NOFAIL); in jbd2_journal_write_metadata_buffer()
355 atomic_set(&new_bh->b_count, 1); in jbd2_journal_write_metadata_buffer()
401 brelse(new_bh); in jbd2_journal_write_metadata_buffer()
435 folio_set_bh(new_bh, new_folio, new_offset); in jbd2_journal_write_metadata_buffer()
436 new_bh->b_size = bh_in->b_size; in jbd2_journal_write_metadata_buffer()
437 new_bh->b_bdev = journal->j_dev; in jbd2_journal_write_metadata_buffer()
438 new_bh->b_blocknr = blocknr; in jbd2_journal_write_metadata_buffer()
439 new_bh->b_private = bh_in; in jbd2_journal_write_metadata_buffer()
440 set_buffer_mapped(new_bh); in jbd2_journal_write_metadata_buffer()
441 set_buffer_dirty(new_bh); in jbd2_journal_write_metadata_buffer()
443 *bh_out = new_bh; in jbd2_journal_write_metadata_buffer()