Home | History | Annotate | Download | only in e2fsck

Lines Matching refs:bh

274  * parameter, but does _not_ forget the buffer_head if the bh was only
287 struct buffer_head *bh = NULL;
302 bh = bh_in;
304 if (!bh) {
305 bh = get_hash_table(dev, blocknr, journal->j_blocksize);
306 if (bh)
307 BUFFER_TRACE(bh, "found on hash");
318 if ((bh2 != bh) &&
336 if (bh) {
337 J_ASSERT_BH(bh, !test_bit(BH_Revoked, &bh->b_state));
338 set_bit(BH_Revoked, &bh->b_state);
339 set_bit(BH_RevokeValid, &bh->b_state);
344 BUFFER_TRACE(bh, "call brelse");
345 __brelse(bh);
381 struct buffer_head *bh = jh2bh(jh);
389 if (test_and_set_bit(BH_RevokeValid, &bh->b_state))
390 need_cancel = (test_and_clear_bit(BH_Revoked, &bh->b_state));
393 clear_bit(BH_Revoked, &bh->b_state);
397 record = find_revoke_record(journal, bh->b_blocknr);
400 "blocknr %lu\n", bh->b_blocknr);
409 record = find_revoke_record(journal, bh->b_blocknr);
417 if (need_cancel && !bh->b_pprev) {
419 bh2 = get_hash_table(bh->b_dev, bh->b_blocknr, bh->b_size);
549 struct buffer_head *bh = jh2bh(descriptor);
550 BUFFER_TRACE(bh, "write");
551 ll_rw_block (WRITE, 1, &bh);