Searched refs:tmp_bh (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.10/fs/jfs/ |
| D | super.c | 744 struct buffer_head tmp_bh; in jfs_quota_read() local 757 tmp_bh.b_state = 0; in jfs_quota_read() 758 tmp_bh.b_size = i_blocksize(inode); in jfs_quota_read() 759 err = jfs_get_block(inode, blk, &tmp_bh, 0); in jfs_quota_read() 762 if (!buffer_mapped(&tmp_bh)) /* A hole? */ in jfs_quota_read() 765 bh = sb_bread(sb, tmp_bh.b_blocknr); in jfs_quota_read() 789 struct buffer_head tmp_bh; in jfs_quota_write() local 797 tmp_bh.b_state = 0; in jfs_quota_write() 798 tmp_bh.b_size = i_blocksize(inode); in jfs_quota_write() 799 err = jfs_get_block(inode, blk, &tmp_bh, 1); in jfs_quota_write() [all …]
|
| /Linux-v5.10/fs/affs/ |
| D | file.c | 467 struct buffer_head *bh, tmp_bh; in affs_bread_ino() local 470 tmp_bh.b_state = 0; in affs_bread_ino() 471 err = affs_get_block(inode, block, &tmp_bh, create); in affs_bread_ino() 473 bh = affs_bread(inode->i_sb, tmp_bh.b_blocknr); in affs_bread_ino() 475 bh->b_state |= tmp_bh.b_state; in affs_bread_ino() 486 struct buffer_head *bh, tmp_bh; in affs_getzeroblk_ino() local 489 tmp_bh.b_state = 0; in affs_getzeroblk_ino() 490 err = affs_get_block(inode, block, &tmp_bh, 1); in affs_getzeroblk_ino() 492 bh = affs_getzeroblk(inode->i_sb, tmp_bh.b_blocknr); in affs_getzeroblk_ino() 494 bh->b_state |= tmp_bh.b_state; in affs_getzeroblk_ino() [all …]
|
| /Linux-v5.10/fs/ext2/ |
| D | super.c | 1484 struct buffer_head tmp_bh; in ext2_quota_read() local 1497 tmp_bh.b_state = 0; in ext2_quota_read() 1498 tmp_bh.b_size = sb->s_blocksize; in ext2_quota_read() 1499 err = ext2_get_block(inode, blk, &tmp_bh, 0); in ext2_quota_read() 1502 if (!buffer_mapped(&tmp_bh)) /* A hole? */ in ext2_quota_read() 1505 bh = sb_bread(sb, tmp_bh.b_blocknr); in ext2_quota_read() 1529 struct buffer_head tmp_bh; in ext2_quota_write() local 1536 tmp_bh.b_state = 0; in ext2_quota_write() 1537 tmp_bh.b_size = sb->s_blocksize; in ext2_quota_write() 1538 err = ext2_get_block(inode, blk, &tmp_bh, 1); in ext2_quota_write() [all …]
|
| /Linux-v5.10/fs/reiserfs/ |
| D | super.c | 2498 struct buffer_head tmp_bh, *bh; in reiserfs_quota_read() local 2510 tmp_bh.b_state = 0; in reiserfs_quota_read() 2516 err = reiserfs_get_block(inode, blk, &tmp_bh, 0); in reiserfs_quota_read() 2520 if (!buffer_mapped(&tmp_bh)) /* A hole? */ in reiserfs_quota_read() 2523 bh = sb_bread(sb, tmp_bh.b_blocknr); in reiserfs_quota_read() 2549 struct buffer_head tmp_bh, *bh; in reiserfs_quota_write() local 2559 tmp_bh.b_state = 0; in reiserfs_quota_write() 2561 err = reiserfs_get_block(inode, blk, &tmp_bh, GET_BLOCK_CREATE); in reiserfs_quota_write() 2566 bh = sb_bread(sb, tmp_bh.b_blocknr); in reiserfs_quota_write() 2568 bh = sb_getblk(sb, tmp_bh.b_blocknr); in reiserfs_quota_write()
|
| D | journal.c | 1650 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 …]
|