Home
last modified time | relevance | path

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

/Linux-v5.15/fs/jfs/
Dsuper.c743 struct buffer_head tmp_bh; in jfs_quota_read() local
756 tmp_bh.b_state = 0; in jfs_quota_read()
757 tmp_bh.b_size = i_blocksize(inode); in jfs_quota_read()
758 err = jfs_get_block(inode, blk, &tmp_bh, 0); in jfs_quota_read()
761 if (!buffer_mapped(&tmp_bh)) /* A hole? */ in jfs_quota_read()
764 bh = sb_bread(sb, tmp_bh.b_blocknr); in jfs_quota_read()
788 struct buffer_head tmp_bh; in jfs_quota_write() local
796 tmp_bh.b_state = 0; in jfs_quota_write()
797 tmp_bh.b_size = i_blocksize(inode); in jfs_quota_write()
798 err = jfs_get_block(inode, blk, &tmp_bh, 1); in jfs_quota_write()
[all …]
/Linux-v5.15/fs/affs/
Dfile.c468 struct buffer_head *bh, tmp_bh; in affs_bread_ino() local
471 tmp_bh.b_state = 0; in affs_bread_ino()
472 err = affs_get_block(inode, block, &tmp_bh, create); in affs_bread_ino()
474 bh = affs_bread(inode->i_sb, tmp_bh.b_blocknr); in affs_bread_ino()
476 bh->b_state |= tmp_bh.b_state; in affs_bread_ino()
487 struct buffer_head *bh, tmp_bh; in affs_getzeroblk_ino() local
490 tmp_bh.b_state = 0; in affs_getzeroblk_ino()
491 err = affs_get_block(inode, block, &tmp_bh, 1); in affs_getzeroblk_ino()
493 bh = affs_getzeroblk(inode->i_sb, tmp_bh.b_blocknr); in affs_getzeroblk_ino()
495 bh->b_state |= tmp_bh.b_state; in affs_getzeroblk_ino()
[all …]
/Linux-v5.15/fs/ext2/
Dsuper.c1479 struct buffer_head tmp_bh; in ext2_quota_read() local
1492 tmp_bh.b_state = 0; in ext2_quota_read()
1493 tmp_bh.b_size = sb->s_blocksize; in ext2_quota_read()
1494 err = ext2_get_block(inode, blk, &tmp_bh, 0); in ext2_quota_read()
1497 if (!buffer_mapped(&tmp_bh)) /* A hole? */ in ext2_quota_read()
1500 bh = sb_bread(sb, tmp_bh.b_blocknr); in ext2_quota_read()
1524 struct buffer_head tmp_bh; in ext2_quota_write() local
1531 tmp_bh.b_state = 0; in ext2_quota_write()
1532 tmp_bh.b_size = sb->s_blocksize; in ext2_quota_write()
1533 err = ext2_get_block(inode, blk, &tmp_bh, 1); in ext2_quota_write()
[all …]
/Linux-v5.15/fs/reiserfs/
Dsuper.c2506 struct buffer_head tmp_bh, *bh; in reiserfs_quota_read() local
2518 tmp_bh.b_state = 0; in reiserfs_quota_read()
2524 err = reiserfs_get_block(inode, blk, &tmp_bh, 0); in reiserfs_quota_read()
2528 if (!buffer_mapped(&tmp_bh)) /* A hole? */ in reiserfs_quota_read()
2531 bh = sb_bread(sb, tmp_bh.b_blocknr); in reiserfs_quota_read()
2557 struct buffer_head tmp_bh, *bh; in reiserfs_quota_write() local
2567 tmp_bh.b_state = 0; in reiserfs_quota_write()
2569 err = reiserfs_get_block(inode, blk, &tmp_bh, GET_BLOCK_CREATE); in reiserfs_quota_write()
2574 bh = sb_bread(sb, tmp_bh.b_blocknr); in reiserfs_quota_write()
2576 bh = sb_getblk(sb, tmp_bh.b_blocknr); in reiserfs_quota_write()
Djournal.c1648 struct buffer_head *tmp_bh; in write_one_transaction() local
1654 tmp_bh = cn->bh; in write_one_transaction()
1655 get_bh(tmp_bh); in write_one_transaction()
1656 lock_buffer(tmp_bh); in write_one_transaction()
1657 if (cn->bh && can_dirty(cn) && buffer_dirty(tmp_bh)) { in write_one_transaction()
1658 if (!buffer_journal_dirty(tmp_bh) || in write_one_transaction()
1659 buffer_journal_prepared(tmp_bh)) in write_one_transaction()
1661 add_to_chunk(chunk, tmp_bh, NULL, write_chunk); in write_one_transaction()
1665 unlock_buffer(tmp_bh); in write_one_transaction()
1667 put_bh(tmp_bh); in write_one_transaction()
[all …]