Searched refs:tmp_bh (Results 1 – 5 of 5) sorted by relevance
/linux-4.4.14/fs/jfs/ |
D | super.c | 747 struct buffer_head tmp_bh; in jfs_quota_read() local 760 tmp_bh.b_state = 0; in jfs_quota_read() 761 tmp_bh.b_size = 1 << inode->i_blkbits; in jfs_quota_read() 762 err = jfs_get_block(inode, blk, &tmp_bh, 0); in jfs_quota_read() 765 if (!buffer_mapped(&tmp_bh)) /* A hole? */ in jfs_quota_read() 768 bh = sb_bread(sb, tmp_bh.b_blocknr); in jfs_quota_read() 792 struct buffer_head tmp_bh; in jfs_quota_write() local 800 tmp_bh.b_state = 0; in jfs_quota_write() 801 tmp_bh.b_size = 1 << inode->i_blkbits; in jfs_quota_write() 802 err = jfs_get_block(inode, blk, &tmp_bh, 1); in jfs_quota_write() [all …]
|
/linux-4.4.14/fs/affs/ |
D | file.c | 446 struct buffer_head *bh, tmp_bh; in affs_bread_ino() local 449 tmp_bh.b_state = 0; in affs_bread_ino() 450 err = affs_get_block(inode, block, &tmp_bh, create); in affs_bread_ino() 452 bh = affs_bread(inode->i_sb, tmp_bh.b_blocknr); in affs_bread_ino() 454 bh->b_state |= tmp_bh.b_state; in affs_bread_ino() 465 struct buffer_head *bh, tmp_bh; in affs_getzeroblk_ino() local 468 tmp_bh.b_state = 0; in affs_getzeroblk_ino() 469 err = affs_get_block(inode, block, &tmp_bh, 1); in affs_getzeroblk_ino() 471 bh = affs_getzeroblk(inode->i_sb, tmp_bh.b_blocknr); in affs_getzeroblk_ino() 473 bh->b_state |= tmp_bh.b_state; in affs_getzeroblk_ino() [all …]
|
/linux-4.4.14/fs/ext2/ |
D | super.c | 1457 struct buffer_head tmp_bh; in ext2_quota_read() local 1470 tmp_bh.b_state = 0; in ext2_quota_read() 1471 tmp_bh.b_size = sb->s_blocksize; in ext2_quota_read() 1472 err = ext2_get_block(inode, blk, &tmp_bh, 0); in ext2_quota_read() 1475 if (!buffer_mapped(&tmp_bh)) /* A hole? */ in ext2_quota_read() 1478 bh = sb_bread(sb, tmp_bh.b_blocknr); in ext2_quota_read() 1502 struct buffer_head tmp_bh; in ext2_quota_write() local 1509 tmp_bh.b_state = 0; in ext2_quota_write() 1510 tmp_bh.b_size = sb->s_blocksize; in ext2_quota_write() 1511 err = ext2_get_block(inode, blk, &tmp_bh, 1); in ext2_quota_write() [all …]
|
/linux-4.4.14/fs/reiserfs/ |
D | super.c | 2410 struct buffer_head tmp_bh, *bh; in reiserfs_quota_read() local 2422 tmp_bh.b_state = 0; in reiserfs_quota_read() 2428 err = reiserfs_get_block(inode, blk, &tmp_bh, 0); in reiserfs_quota_read() 2432 if (!buffer_mapped(&tmp_bh)) /* A hole? */ in reiserfs_quota_read() 2435 bh = sb_bread(sb, tmp_bh.b_blocknr); in reiserfs_quota_read() 2461 struct buffer_head tmp_bh, *bh; in reiserfs_quota_write() local 2471 tmp_bh.b_state = 0; in reiserfs_quota_write() 2473 err = reiserfs_get_block(inode, blk, &tmp_bh, GET_BLOCK_CREATE); in reiserfs_quota_write() 2478 bh = sb_bread(sb, tmp_bh.b_blocknr); in reiserfs_quota_write() 2480 bh = sb_getblk(sb, tmp_bh.b_blocknr); in reiserfs_quota_write()
|
D | journal.c | 1654 struct buffer_head *tmp_bh; in write_one_transaction() local 1660 tmp_bh = cn->bh; in write_one_transaction() 1661 get_bh(tmp_bh); in write_one_transaction() 1662 lock_buffer(tmp_bh); in write_one_transaction() 1663 if (cn->bh && can_dirty(cn) && buffer_dirty(tmp_bh)) { in write_one_transaction() 1664 if (!buffer_journal_dirty(tmp_bh) || in write_one_transaction() 1665 buffer_journal_prepared(tmp_bh)) in write_one_transaction() 1667 add_to_chunk(chunk, tmp_bh, NULL, write_chunk); in write_one_transaction() 1671 unlock_buffer(tmp_bh); in write_one_transaction() 1673 put_bh(tmp_bh); in write_one_transaction() [all …]
|