Home
last modified time | relevance | path

Searched refs:tmp_bh (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/fs/jfs/
H A Dsuper.c738 struct buffer_head tmp_bh; in jfs_quota_read() local
750 tmp_bh.b_state = 0; in jfs_quota_read()
751 tmp_bh.b_size = i_blocksize(inode); in jfs_quota_read()
752 err = jfs_get_block(inode, blk, &tmp_bh, 0); in jfs_quota_read()
755 if (!buffer_mapped(&tmp_bh)) /* A hole? */ in jfs_quota_read()
758 bh = sb_bread(sb, tmp_bh.b_blocknr); in jfs_quota_read()
782 struct buffer_head tmp_bh; in jfs_quota_write() local
789 tmp_bh.b_state = 0; in jfs_quota_write()
790 tmp_bh.b_size = i_blocksize(inode); in jfs_quota_write()
795 bh = sb_bread(sb, tmp_bh.b_blocknr); in jfs_quota_write()
[all …]
/openbmc/linux/fs/affs/
H A Dfile.c472 struct buffer_head *bh, tmp_bh; in affs_bread_ino() local
475 tmp_bh.b_state = 0; in affs_bread_ino()
480 bh->b_state |= tmp_bh.b_state; in affs_bread_ino()
491 struct buffer_head *bh, tmp_bh; in affs_getzeroblk_ino() local
494 tmp_bh.b_state = 0; in affs_getzeroblk_ino()
495 err = affs_get_block(inode, block, &tmp_bh, 1); in affs_getzeroblk_ino()
499 bh->b_state |= tmp_bh.b_state; in affs_getzeroblk_ino()
510 struct buffer_head *bh, tmp_bh; in affs_getemptyblk_ino() local
513 tmp_bh.b_state = 0; in affs_getemptyblk_ino()
514 err = affs_get_block(inode, block, &tmp_bh, 1); in affs_getemptyblk_ino()
[all …]
/openbmc/linux/fs/ext2/
H A Dsuper.c1494 struct buffer_head tmp_bh; in ext2_quota_read() local
1506 tmp_bh.b_state = 0; in ext2_quota_read()
1507 tmp_bh.b_size = sb->s_blocksize; in ext2_quota_read()
1508 err = ext2_get_block(inode, blk, &tmp_bh, 0); in ext2_quota_read()
1511 if (!buffer_mapped(&tmp_bh)) /* A hole? */ in ext2_quota_read()
1514 bh = sb_bread(sb, tmp_bh.b_blocknr); in ext2_quota_read()
1538 struct buffer_head tmp_bh; in ext2_quota_write() local
1544 tmp_bh.b_state = 0; in ext2_quota_write()
1545 tmp_bh.b_size = sb->s_blocksize; in ext2_quota_write()
1550 bh = sb_bread(sb, tmp_bh.b_blocknr); in ext2_quota_write()
[all …]
/openbmc/linux/fs/reiserfs/
H A Dsuper.c2496 struct buffer_head tmp_bh, *bh; in reiserfs_quota_read() local
2506 tmp_bh.b_state = 0; in reiserfs_quota_read()
2512 err = reiserfs_get_block(inode, blk, &tmp_bh, 0); in reiserfs_quota_read()
2516 if (!buffer_mapped(&tmp_bh)) /* A hole? */ in reiserfs_quota_read()
2519 bh = sb_bread(sb, tmp_bh.b_blocknr); in reiserfs_quota_read()
2545 struct buffer_head tmp_bh, *bh; in reiserfs_quota_write() local
2554 tmp_bh.b_state = 0; in reiserfs_quota_write()
2556 err = reiserfs_get_block(inode, blk, &tmp_bh, GET_BLOCK_CREATE); in reiserfs_quota_write()
2561 bh = sb_bread(sb, tmp_bh.b_blocknr); in reiserfs_quota_write()
2563 bh = sb_getblk(sb, tmp_bh.b_blocknr); in reiserfs_quota_write()
H A Djournal.c1651 struct buffer_head *tmp_bh; in write_one_transaction() local
1657 tmp_bh = cn->bh; in write_one_transaction()
1658 get_bh(tmp_bh); in write_one_transaction()
1659 lock_buffer(tmp_bh); in write_one_transaction()
1668 unlock_buffer(tmp_bh); in write_one_transaction()
1670 put_bh(tmp_bh); in write_one_transaction()
4207 struct buffer_head *tmp_bh; in do_journal_end() local
4210 tmp_bh = in do_journal_end()
4216 set_buffer_uptodate(tmp_bh); in do_journal_end()
4219 memcpy(tmp_bh->b_data, in do_journal_end()
[all …]