Searched refs:tmp_bh (Results 1 – 5 of 5) sorted by relevance
/fs/jfs/ |
D | super.c | 733 struct buffer_head tmp_bh; in jfs_quota_read() local 746 tmp_bh.b_state = 0; in jfs_quota_read() 747 tmp_bh.b_size = 1 << inode->i_blkbits; in jfs_quota_read() 748 err = jfs_get_block(inode, blk, &tmp_bh, 0); in jfs_quota_read() 751 if (!buffer_mapped(&tmp_bh)) /* A hole? */ in jfs_quota_read() 754 bh = sb_bread(sb, tmp_bh.b_blocknr); in jfs_quota_read() 778 struct buffer_head tmp_bh; in jfs_quota_write() local 786 tmp_bh.b_state = 0; in jfs_quota_write() 787 tmp_bh.b_size = 1 << inode->i_blkbits; in jfs_quota_write() 788 err = jfs_get_block(inode, blk, &tmp_bh, 1); in jfs_quota_write() [all …]
|
/fs/affs/ |
D | file.c | 446 struct buffer_head *bh, tmp_bh; in affs_bread_ino() local 449 tmp_bh.b_state = 0; in affs_bread_ino() 450 err = affs_get_block(inode, block, &tmp_bh, create); in affs_bread_ino() 452 bh = affs_bread(inode->i_sb, tmp_bh.b_blocknr); in affs_bread_ino() 454 bh->b_state |= tmp_bh.b_state; in affs_bread_ino() 465 struct buffer_head *bh, tmp_bh; in affs_getzeroblk_ino() local 468 tmp_bh.b_state = 0; in affs_getzeroblk_ino() 469 err = affs_get_block(inode, block, &tmp_bh, 1); in affs_getzeroblk_ino() 471 bh = affs_getzeroblk(inode->i_sb, tmp_bh.b_blocknr); in affs_getzeroblk_ino() 473 bh->b_state |= tmp_bh.b_state; in affs_getzeroblk_ino() [all …]
|
/fs/ext2/ |
D | super.c | 1444 struct buffer_head tmp_bh; in ext2_quota_read() local 1457 tmp_bh.b_state = 0; in ext2_quota_read() 1458 tmp_bh.b_size = sb->s_blocksize; in ext2_quota_read() 1459 err = ext2_get_block(inode, blk, &tmp_bh, 0); in ext2_quota_read() 1462 if (!buffer_mapped(&tmp_bh)) /* A hole? */ in ext2_quota_read() 1465 bh = sb_bread(sb, tmp_bh.b_blocknr); in ext2_quota_read() 1489 struct buffer_head tmp_bh; in ext2_quota_write() local 1496 tmp_bh.b_state = 0; in ext2_quota_write() 1497 err = ext2_get_block(inode, blk, &tmp_bh, 1); in ext2_quota_write() 1501 bh = sb_bread(sb, tmp_bh.b_blocknr); in ext2_quota_write() [all …]
|
/fs/reiserfs/ |
D | super.c | 2292 struct buffer_head tmp_bh, *bh; in reiserfs_quota_read() local 2304 tmp_bh.b_state = 0; in reiserfs_quota_read() 2307 err = reiserfs_get_block(inode, blk, &tmp_bh, 0); in reiserfs_quota_read() 2311 if (!buffer_mapped(&tmp_bh)) /* A hole? */ in reiserfs_quota_read() 2314 bh = sb_bread(sb, tmp_bh.b_blocknr); in reiserfs_quota_read() 2338 struct buffer_head tmp_bh, *bh; in reiserfs_quota_write() local 2349 tmp_bh.b_state = 0; in reiserfs_quota_write() 2351 err = reiserfs_get_block(inode, blk, &tmp_bh, GET_BLOCK_CREATE); in reiserfs_quota_write() 2356 bh = sb_bread(sb, tmp_bh.b_blocknr); in reiserfs_quota_write() 2358 bh = sb_getblk(sb, tmp_bh.b_blocknr); in reiserfs_quota_write()
|
D | journal.c | 1638 struct buffer_head *tmp_bh; in write_one_transaction() local 1643 tmp_bh = cn->bh; in write_one_transaction() 1644 get_bh(tmp_bh); in write_one_transaction() 1645 lock_buffer(tmp_bh); in write_one_transaction() 1646 if (cn->bh && can_dirty(cn) && buffer_dirty(tmp_bh)) { in write_one_transaction() 1647 if (!buffer_journal_dirty(tmp_bh) || in write_one_transaction() 1648 buffer_journal_prepared(tmp_bh)) in write_one_transaction() 1650 add_to_chunk(chunk, tmp_bh, NULL, write_chunk); in write_one_transaction() 1654 unlock_buffer(tmp_bh); in write_one_transaction() 1656 put_bh(tmp_bh); in write_one_transaction() [all …]
|