Searched refs:tmp_bh (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/fs/jfs/ |
D | super.c | 738 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() 791 err = jfs_get_block(inode, blk, &tmp_bh, 1); in jfs_quota_write() [all …]
|
/linux-6.6.21/fs/affs/ |
D | file.c | 472 struct buffer_head *bh, tmp_bh; in affs_bread_ino() local 475 tmp_bh.b_state = 0; in affs_bread_ino() 476 err = affs_get_block(inode, block, &tmp_bh, create); in affs_bread_ino() 478 bh = affs_bread(inode->i_sb, tmp_bh.b_blocknr); 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() 497 bh = affs_getzeroblk(inode->i_sb, tmp_bh.b_blocknr); in affs_getzeroblk_ino() 499 bh->b_state |= tmp_bh.b_state; in affs_getzeroblk_ino() [all …]
|
/linux-6.6.21/fs/ext2/ |
D | super.c | 1494 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() 1546 err = ext2_get_block(inode, blk, &tmp_bh, 1); in ext2_quota_write() [all …]
|
/linux-6.6.21/fs/reiserfs/ |
D | super.c | 2496 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()
|
D | journal.c | 1651 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() 1660 if (cn->bh && can_dirty(cn) && buffer_dirty(tmp_bh)) { in write_one_transaction() 1661 if (!buffer_journal_dirty(tmp_bh) || in write_one_transaction() 1662 buffer_journal_prepared(tmp_bh)) in write_one_transaction() 1664 add_to_chunk(chunk, tmp_bh, NULL, write_chunk); in write_one_transaction() 1668 unlock_buffer(tmp_bh); in write_one_transaction() 1670 put_bh(tmp_bh); in write_one_transaction() [all …]
|