Home
last modified time | relevance | path

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

/linux-4.19.296/fs/jfs/
Dsuper.c771 struct buffer_head tmp_bh; in jfs_quota_read() local
784 tmp_bh.b_state = 0; in jfs_quota_read()
785 tmp_bh.b_size = i_blocksize(inode); in jfs_quota_read()
786 err = jfs_get_block(inode, blk, &tmp_bh, 0); in jfs_quota_read()
789 if (!buffer_mapped(&tmp_bh)) /* A hole? */ in jfs_quota_read()
792 bh = sb_bread(sb, tmp_bh.b_blocknr); in jfs_quota_read()
816 struct buffer_head tmp_bh; in jfs_quota_write() local
824 tmp_bh.b_state = 0; in jfs_quota_write()
825 tmp_bh.b_size = i_blocksize(inode); in jfs_quota_write()
826 err = jfs_get_block(inode, blk, &tmp_bh, 1); in jfs_quota_write()
[all …]
/linux-4.19.296/fs/affs/
Dfile.c466 struct buffer_head *bh, tmp_bh; in affs_bread_ino() local
469 tmp_bh.b_state = 0; in affs_bread_ino()
470 err = affs_get_block(inode, block, &tmp_bh, create); in affs_bread_ino()
472 bh = affs_bread(inode->i_sb, tmp_bh.b_blocknr); in affs_bread_ino()
474 bh->b_state |= tmp_bh.b_state; in affs_bread_ino()
485 struct buffer_head *bh, tmp_bh; in affs_getzeroblk_ino() local
488 tmp_bh.b_state = 0; in affs_getzeroblk_ino()
489 err = affs_get_block(inode, block, &tmp_bh, 1); in affs_getzeroblk_ino()
491 bh = affs_getzeroblk(inode->i_sb, tmp_bh.b_blocknr); in affs_getzeroblk_ino()
493 bh->b_state |= tmp_bh.b_state; in affs_getzeroblk_ino()
[all …]
/linux-4.19.296/fs/ext2/
Dsuper.c1514 struct buffer_head tmp_bh; in ext2_quota_read() local
1527 tmp_bh.b_state = 0; in ext2_quota_read()
1528 tmp_bh.b_size = sb->s_blocksize; in ext2_quota_read()
1529 err = ext2_get_block(inode, blk, &tmp_bh, 0); in ext2_quota_read()
1532 if (!buffer_mapped(&tmp_bh)) /* A hole? */ in ext2_quota_read()
1535 bh = sb_bread(sb, tmp_bh.b_blocknr); in ext2_quota_read()
1559 struct buffer_head tmp_bh; in ext2_quota_write() local
1566 tmp_bh.b_state = 0; in ext2_quota_write()
1567 tmp_bh.b_size = sb->s_blocksize; in ext2_quota_write()
1568 err = ext2_get_block(inode, blk, &tmp_bh, 1); in ext2_quota_write()
[all …]
/linux-4.19.296/fs/reiserfs/
Dsuper.c2503 struct buffer_head tmp_bh, *bh; in reiserfs_quota_read() local
2515 tmp_bh.b_state = 0; in reiserfs_quota_read()
2521 err = reiserfs_get_block(inode, blk, &tmp_bh, 0); in reiserfs_quota_read()
2525 if (!buffer_mapped(&tmp_bh)) /* A hole? */ in reiserfs_quota_read()
2528 bh = sb_bread(sb, tmp_bh.b_blocknr); in reiserfs_quota_read()
2554 struct buffer_head tmp_bh, *bh; in reiserfs_quota_write() local
2564 tmp_bh.b_state = 0; in reiserfs_quota_write()
2566 err = reiserfs_get_block(inode, blk, &tmp_bh, GET_BLOCK_CREATE); in reiserfs_quota_write()
2571 bh = sb_bread(sb, tmp_bh.b_blocknr); in reiserfs_quota_write()
2573 bh = sb_getblk(sb, tmp_bh.b_blocknr); in reiserfs_quota_write()
Djournal.c1656 struct buffer_head *tmp_bh; in write_one_transaction() local
1662 tmp_bh = cn->bh; in write_one_transaction()
1663 get_bh(tmp_bh); in write_one_transaction()
1664 lock_buffer(tmp_bh); in write_one_transaction()
1665 if (cn->bh && can_dirty(cn) && buffer_dirty(tmp_bh)) { in write_one_transaction()
1666 if (!buffer_journal_dirty(tmp_bh) || in write_one_transaction()
1667 buffer_journal_prepared(tmp_bh)) in write_one_transaction()
1669 add_to_chunk(chunk, tmp_bh, NULL, write_chunk); in write_one_transaction()
1673 unlock_buffer(tmp_bh); in write_one_transaction()
1675 put_bh(tmp_bh); in write_one_transaction()
[all …]