Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/jfs/
H A Dsuper.c745 struct buffer_head tmp_bh; in jfs_quota_read() local
758 tmp_bh.b_state = 0; in jfs_quota_read()
759 tmp_bh.b_size = i_blocksize(inode); in jfs_quota_read()
760 err = jfs_get_block(inode, blk, &tmp_bh, 0); in jfs_quota_read()
763 if (!buffer_mapped(&tmp_bh)) /* A hole? */ in jfs_quota_read()
766 bh = sb_bread(sb, tmp_bh.b_blocknr); in jfs_quota_read()
790 struct buffer_head tmp_bh; in jfs_quota_write() local
798 tmp_bh.b_state = 0; in jfs_quota_write()
799 tmp_bh.b_size = i_blocksize(inode); in jfs_quota_write()
800 err = jfs_get_block(inode, blk, &tmp_bh, 1); in jfs_quota_write()
[all …]
/OK3568_Linux_fs/kernel/fs/affs/
H A Dfile.c467 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 …]
/OK3568_Linux_fs/kernel/fs/ext2/
H A Dsuper.c1496 struct buffer_head tmp_bh; in ext2_quota_read() local
1509 tmp_bh.b_state = 0; in ext2_quota_read()
1510 tmp_bh.b_size = sb->s_blocksize; in ext2_quota_read()
1511 err = ext2_get_block(inode, blk, &tmp_bh, 0); in ext2_quota_read()
1514 if (!buffer_mapped(&tmp_bh)) /* A hole? */ in ext2_quota_read()
1517 bh = sb_bread(sb, tmp_bh.b_blocknr); in ext2_quota_read()
1541 struct buffer_head tmp_bh; in ext2_quota_write() local
1548 tmp_bh.b_state = 0; in ext2_quota_write()
1549 tmp_bh.b_size = sb->s_blocksize; in ext2_quota_write()
1550 err = ext2_get_block(inode, blk, &tmp_bh, 1); in ext2_quota_write()
[all …]
/OK3568_Linux_fs/kernel/fs/reiserfs/
H A 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()
H A Djournal.c1650 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 …]