Searched refs:tmp_bh (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/fs/jfs/ |
D | super.c | 738 struct buffer_head tmp_bh; in jfs_quota_read() local 751 tmp_bh.b_state = 0; in jfs_quota_read() 752 tmp_bh.b_size = i_blocksize(inode); in jfs_quota_read() 753 err = jfs_get_block(inode, blk, &tmp_bh, 0); in jfs_quota_read() 756 if (!buffer_mapped(&tmp_bh)) /* A hole? */ in jfs_quota_read() 759 bh = sb_bread(sb, tmp_bh.b_blocknr); in jfs_quota_read() 783 struct buffer_head tmp_bh; in jfs_quota_write() local 791 tmp_bh.b_state = 0; in jfs_quota_write() 792 tmp_bh.b_size = i_blocksize(inode); in jfs_quota_write() 793 err = jfs_get_block(inode, blk, &tmp_bh, 1); in jfs_quota_write() [all …]
|
/linux-6.1.9/fs/affs/ |
D | file.c | 469 struct buffer_head *bh, tmp_bh; in affs_bread_ino() local 472 tmp_bh.b_state = 0; in affs_bread_ino() 473 err = affs_get_block(inode, block, &tmp_bh, create); in affs_bread_ino() 475 bh = affs_bread(inode->i_sb, tmp_bh.b_blocknr); in affs_bread_ino() 477 bh->b_state |= tmp_bh.b_state; in affs_bread_ino() 488 struct buffer_head *bh, tmp_bh; in affs_getzeroblk_ino() local 491 tmp_bh.b_state = 0; in affs_getzeroblk_ino() 492 err = affs_get_block(inode, block, &tmp_bh, 1); in affs_getzeroblk_ino() 494 bh = affs_getzeroblk(inode->i_sb, tmp_bh.b_blocknr); in affs_getzeroblk_ino() 496 bh->b_state |= tmp_bh.b_state; in affs_getzeroblk_ino() [all …]
|
/linux-6.1.9/fs/ext2/ |
D | super.c | 1502 struct buffer_head tmp_bh; in ext2_quota_read() local 1514 tmp_bh.b_state = 0; in ext2_quota_read() 1515 tmp_bh.b_size = sb->s_blocksize; in ext2_quota_read() 1516 err = ext2_get_block(inode, blk, &tmp_bh, 0); in ext2_quota_read() 1519 if (!buffer_mapped(&tmp_bh)) /* A hole? */ in ext2_quota_read() 1522 bh = sb_bread(sb, tmp_bh.b_blocknr); in ext2_quota_read() 1546 struct buffer_head tmp_bh; in ext2_quota_write() local 1552 tmp_bh.b_state = 0; in ext2_quota_write() 1553 tmp_bh.b_size = sb->s_blocksize; in ext2_quota_write() 1554 err = ext2_get_block(inode, blk, &tmp_bh, 1); in ext2_quota_write() [all …]
|
/linux-6.1.9/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 …]
|