Home
last modified time | relevance | path

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

/Linux-v4.19/fs/affs/
Dfile.c448 struct buffer_head *bh, tmp_bh; in affs_bread_ino() local
451 tmp_bh.b_state = 0; in affs_bread_ino()
452 err = affs_get_block(inode, block, &tmp_bh, create); in affs_bread_ino()
454 bh = affs_bread(inode->i_sb, tmp_bh.b_blocknr); in affs_bread_ino()
456 bh->b_state |= tmp_bh.b_state; in affs_bread_ino()
467 struct buffer_head *bh, tmp_bh; in affs_getzeroblk_ino() local
470 tmp_bh.b_state = 0; in affs_getzeroblk_ino()
471 err = affs_get_block(inode, block, &tmp_bh, 1); in affs_getzeroblk_ino()
473 bh = affs_getzeroblk(inode->i_sb, tmp_bh.b_blocknr); in affs_getzeroblk_ino()
475 bh->b_state |= tmp_bh.b_state; in affs_getzeroblk_ino()
[all …]
/Linux-v4.19/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-v4.19/fs/ext2/
Dsuper.c1498 struct buffer_head tmp_bh; in ext2_quota_read() local
1511 tmp_bh.b_state = 0; in ext2_quota_read()
1512 tmp_bh.b_size = sb->s_blocksize; in ext2_quota_read()
1513 err = ext2_get_block(inode, blk, &tmp_bh, 0); in ext2_quota_read()
1516 if (!buffer_mapped(&tmp_bh)) /* A hole? */ in ext2_quota_read()
1519 bh = sb_bread(sb, tmp_bh.b_blocknr); in ext2_quota_read()
1543 struct buffer_head tmp_bh; in ext2_quota_write() local
1550 tmp_bh.b_state = 0; in ext2_quota_write()
1551 tmp_bh.b_size = sb->s_blocksize; in ext2_quota_write()
1552 err = ext2_get_block(inode, blk, &tmp_bh, 1); in ext2_quota_write()
[all …]
/Linux-v4.19/fs/reiserfs/
Dsuper.c2497 struct buffer_head tmp_bh, *bh; in reiserfs_quota_read() local
2509 tmp_bh.b_state = 0; in reiserfs_quota_read()
2515 err = reiserfs_get_block(inode, blk, &tmp_bh, 0); in reiserfs_quota_read()
2519 if (!buffer_mapped(&tmp_bh)) /* A hole? */ in reiserfs_quota_read()
2522 bh = sb_bread(sb, tmp_bh.b_blocknr); in reiserfs_quota_read()
2548 struct buffer_head tmp_bh, *bh; in reiserfs_quota_write() local
2558 tmp_bh.b_state = 0; in reiserfs_quota_write()
2560 err = reiserfs_get_block(inode, blk, &tmp_bh, GET_BLOCK_CREATE); in reiserfs_quota_write()
2565 bh = sb_bread(sb, tmp_bh.b_blocknr); in reiserfs_quota_write()
2567 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 …]