Searched refs:tmp_bh (Results 1 – 5 of 5) sorted by relevance
/linux-2.6.39/fs/jfs/ |
D | super.c | 658 struct buffer_head tmp_bh; in jfs_quota_read() local 671 tmp_bh.b_state = 0; in jfs_quota_read() 672 tmp_bh.b_size = 1 << inode->i_blkbits; in jfs_quota_read() 673 err = jfs_get_block(inode, blk, &tmp_bh, 0); in jfs_quota_read() 676 if (!buffer_mapped(&tmp_bh)) /* A hole? */ in jfs_quota_read() 679 bh = sb_bread(sb, tmp_bh.b_blocknr); in jfs_quota_read() 703 struct buffer_head tmp_bh; in jfs_quota_write() local 711 tmp_bh.b_state = 0; in jfs_quota_write() 712 tmp_bh.b_size = 1 << inode->i_blkbits; in jfs_quota_write() 713 err = jfs_get_block(inode, blk, &tmp_bh, 1); in jfs_quota_write() [all …]
|
/linux-2.6.39/fs/affs/ |
D | file.c | 440 struct buffer_head *bh, tmp_bh; in affs_bread_ino() local 443 tmp_bh.b_state = 0; in affs_bread_ino() 444 err = affs_get_block(inode, block, &tmp_bh, create); in affs_bread_ino() 446 bh = affs_bread(inode->i_sb, tmp_bh.b_blocknr); in affs_bread_ino() 448 bh->b_state |= tmp_bh.b_state; in affs_bread_ino() 459 struct buffer_head *bh, tmp_bh; in affs_getzeroblk_ino() local 462 tmp_bh.b_state = 0; in affs_getzeroblk_ino() 463 err = affs_get_block(inode, block, &tmp_bh, 1); in affs_getzeroblk_ino() 465 bh = affs_getzeroblk(inode->i_sb, tmp_bh.b_blocknr); in affs_getzeroblk_ino() 467 bh->b_state |= tmp_bh.b_state; in affs_getzeroblk_ino() [all …]
|
/linux-2.6.39/fs/ext2/ |
D | super.c | 1396 struct buffer_head tmp_bh; in ext2_quota_read() local 1409 tmp_bh.b_state = 0; in ext2_quota_read() 1410 tmp_bh.b_size = sb->s_blocksize; in ext2_quota_read() 1411 err = ext2_get_block(inode, blk, &tmp_bh, 0); in ext2_quota_read() 1414 if (!buffer_mapped(&tmp_bh)) /* A hole? */ in ext2_quota_read() 1417 bh = sb_bread(sb, tmp_bh.b_blocknr); in ext2_quota_read() 1441 struct buffer_head tmp_bh; in ext2_quota_write() local 1449 tmp_bh.b_state = 0; in ext2_quota_write() 1450 err = ext2_get_block(inode, blk, &tmp_bh, 1); in ext2_quota_write() 1454 bh = sb_bread(sb, tmp_bh.b_blocknr); in ext2_quota_write() [all …]
|
/linux-2.6.39/fs/reiserfs/ |
D | super.c | 2116 struct buffer_head tmp_bh, *bh; in reiserfs_quota_read() local 2128 tmp_bh.b_state = 0; in reiserfs_quota_read() 2131 err = reiserfs_get_block(inode, blk, &tmp_bh, 0); in reiserfs_quota_read() 2135 if (!buffer_mapped(&tmp_bh)) /* A hole? */ in reiserfs_quota_read() 2138 bh = sb_bread(sb, tmp_bh.b_blocknr); in reiserfs_quota_read() 2162 struct buffer_head tmp_bh, *bh; in reiserfs_quota_write() local 2174 tmp_bh.b_state = 0; in reiserfs_quota_write() 2175 err = reiserfs_get_block(inode, blk, &tmp_bh, GET_BLOCK_CREATE); in reiserfs_quota_write() 2179 bh = sb_bread(sb, tmp_bh.b_blocknr); in reiserfs_quota_write() 2181 bh = sb_getblk(sb, tmp_bh.b_blocknr); in reiserfs_quota_write()
|
D | journal.c | 1651 struct buffer_head *tmp_bh; in write_one_transaction() local 1656 tmp_bh = cn->bh; in write_one_transaction() 1657 get_bh(tmp_bh); in write_one_transaction() 1658 lock_buffer(tmp_bh); in write_one_transaction() 1659 if (cn->bh && can_dirty(cn) && buffer_dirty(tmp_bh)) { in write_one_transaction() 1660 if (!buffer_journal_dirty(tmp_bh) || in write_one_transaction() 1661 buffer_journal_prepared(tmp_bh)) in write_one_transaction() 1663 add_to_chunk(chunk, tmp_bh, NULL, write_chunk); in write_one_transaction() 1667 unlock_buffer(tmp_bh); in write_one_transaction() 1669 put_bh(tmp_bh); in write_one_transaction() [all …]
|