Lines Matching refs:d_bh
2015 struct buffer_head *d_bh, in journal_transaction_is_valid() argument
2024 if (!d_bh) in journal_transaction_is_valid()
2027 desc = (struct reiserfs_journal_desc *)d_bh->b_data; in journal_transaction_is_valid()
2029 && !memcmp(get_journal_desc_magic(d_bh), JOURNAL_DESC_MAGIC, 8)) { in journal_transaction_is_valid()
2057 offset = d_bh->b_blocknr - SB_ONDISK_JOURNAL_1st_BLOCK(sb); in journal_transaction_is_valid()
2095 d_bh->b_blocknr - in journal_transaction_is_valid()
2130 struct buffer_head *d_bh; in journal_read_transaction() local
2137 d_bh = journal_bread(sb, cur_dblock); in journal_read_transaction()
2138 if (!d_bh) in journal_read_transaction()
2140 desc = (struct reiserfs_journal_desc *)d_bh->b_data; in journal_read_transaction()
2141 trans_offset = d_bh->b_blocknr - SB_ONDISK_JOURNAL_1st_BLOCK(sb); in journal_read_transaction()
2144 d_bh->b_blocknr - SB_ONDISK_JOURNAL_1st_BLOCK(sb), in journal_read_transaction()
2151 brelse(d_bh); in journal_read_transaction()
2159 brelse(d_bh); in journal_read_transaction()
2166 brelse(d_bh); in journal_read_transaction()
2179 brelse(d_bh); in journal_read_transaction()
2187 brelse(d_bh); in journal_read_transaction()
2204 brelse(d_bh); in journal_read_transaction()
2246 brelse(d_bh); in journal_read_transaction()
2265 brelse(d_bh); in journal_read_transaction()
2289 brelse(d_bh); in journal_read_transaction()
2315 brelse(d_bh); in journal_read_transaction()
2390 struct buffer_head *d_bh; in journal_read() local
2434 d_bh = in journal_read()
2438 ret = journal_transaction_is_valid(sb, d_bh, NULL, NULL); in journal_read()
2442 brelse(d_bh); in journal_read()
2459 d_bh = in journal_read()
2465 journal_transaction_is_valid(sb, d_bh, in journal_read()
2469 desc = (struct reiserfs_journal_desc *)d_bh->b_data; in journal_read()
2472 oldest_start = d_bh->b_blocknr; in journal_read()
2483 oldest_start = d_bh->b_blocknr; in journal_read()
2502 brelse(d_bh); in journal_read()
4007 struct buffer_head *d_bh; /* desc bh */ in do_journal_end() local
4091 d_bh = in do_journal_end()
4095 set_buffer_uptodate(d_bh); in do_journal_end()
4096 desc = (struct reiserfs_journal_desc *)(d_bh)->b_data; in do_journal_end()
4097 memset(d_bh->b_data, 0, d_bh->b_size); in do_journal_end()
4098 memcpy(get_journal_desc_magic(d_bh), JOURNAL_DESC_MAGIC, 8); in do_journal_end()
4203 mark_buffer_dirty(d_bh); in do_journal_end()