/Linux-v5.4/fs/jfs/ |
D | super.c | 744 struct buffer_head tmp_bh; in jfs_quota_read() local 757 tmp_bh.b_state = 0; in jfs_quota_read() 758 tmp_bh.b_size = i_blocksize(inode); in jfs_quota_read() 759 err = jfs_get_block(inode, blk, &tmp_bh, 0); in jfs_quota_read() 762 if (!buffer_mapped(&tmp_bh)) /* A hole? */ in jfs_quota_read() 765 bh = sb_bread(sb, tmp_bh.b_blocknr); in jfs_quota_read() 789 struct buffer_head tmp_bh; in jfs_quota_write() local 797 tmp_bh.b_state = 0; in jfs_quota_write() 798 tmp_bh.b_size = i_blocksize(inode); in jfs_quota_write() 799 err = jfs_get_block(inode, blk, &tmp_bh, 1); in jfs_quota_write() [all …]
|
/Linux-v5.4/fs/affs/ |
D | file.c | 448 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-v5.4/fs/ext2/ |
D | super.c | 1501 struct buffer_head tmp_bh; in ext2_quota_read() local 1514 tmp_bh.b_state = 0; in ext2_quota_read() 1515 tmp_bh.b_size = sb->s_blocksize; in ext2_quota_read() 1516 err = ext2_get_block(inode, blk, &tmp_bh, 0); in ext2_quota_read() 1519 if (!buffer_mapped(&tmp_bh)) /* A hole? */ in ext2_quota_read() 1522 bh = sb_bread(sb, tmp_bh.b_blocknr); in ext2_quota_read() 1546 struct buffer_head tmp_bh; in ext2_quota_write() local 1553 tmp_bh.b_state = 0; in ext2_quota_write() 1554 tmp_bh.b_size = sb->s_blocksize; in ext2_quota_write() 1555 err = ext2_get_block(inode, blk, &tmp_bh, 1); in ext2_quota_write() [all …]
|
/Linux-v5.4/drivers/staging/exfat/ |
D | exfat_super.c | 350 struct buffer_head *tmp_bh = NULL; in ffsMountVol() local 374 if (sector_read(sb, 0, &tmp_bh, 1) != FFS_SUCCESS) { in ffsMountVol() 381 p_pbr = (struct pbr_sector_t *)tmp_bh->b_data; in ffsMountVol() 385 brelse(tmp_bh); in ffsMountVol() 411 brelse(tmp_bh); in ffsMountVol() 693 struct buffer_head *tmp_bh = NULL; in ffsReadFile() local 774 if (sector_read(sb, LogSector, &tmp_bh, 1) != in ffsReadFile() 778 (char *)tmp_bh->b_data, (s32)oneblkread); in ffsReadFile() 780 if (sector_read(sb, LogSector, &tmp_bh, 1) != in ffsReadFile() 784 (char *)tmp_bh->b_data + offset, in ffsReadFile() [all …]
|
D | exfat_core.c | 143 struct buffer_head *tmp_bh = NULL; in clear_cluster() local 156 ret = sector_read(sb, s, &tmp_bh, 0); in clear_cluster() 160 memset((char *)tmp_bh->b_data, 0x0, p_bd->sector_size); in clear_cluster() 161 ret = sector_write(sb, s, tmp_bh, 0); in clear_cluster() 166 brelse(tmp_bh); in clear_cluster() 705 struct buffer_head *tmp_bh = NULL; in __load_upcase_table() local 722 ret = sector_read(sb, sector, &tmp_bh, 1); in __load_upcase_table() 731 uni = GET16(((u8 *)tmp_bh->b_data) + i); in __load_upcase_table() 734 (checksum >> 1) + *(((u8 *)tmp_bh->b_data) + in __load_upcase_table() 737 (checksum >> 1) + *(((u8 *)tmp_bh->b_data) + in __load_upcase_table() [all …]
|
/Linux-v5.4/fs/reiserfs/ |
D | super.c | 2494 struct buffer_head tmp_bh, *bh; in reiserfs_quota_read() local 2506 tmp_bh.b_state = 0; in reiserfs_quota_read() 2512 err = reiserfs_get_block(inode, blk, &tmp_bh, 0); in reiserfs_quota_read() 2516 if (!buffer_mapped(&tmp_bh)) /* A hole? */ in reiserfs_quota_read() 2519 bh = sb_bread(sb, tmp_bh.b_blocknr); in reiserfs_quota_read() 2545 struct buffer_head tmp_bh, *bh; in reiserfs_quota_write() local 2555 tmp_bh.b_state = 0; in reiserfs_quota_write() 2557 err = reiserfs_get_block(inode, blk, &tmp_bh, GET_BLOCK_CREATE); in reiserfs_quota_write() 2562 bh = sb_bread(sb, tmp_bh.b_blocknr); in reiserfs_quota_write() 2564 bh = sb_getblk(sb, tmp_bh.b_blocknr); in reiserfs_quota_write()
|
D | journal.c | 1652 struct buffer_head *tmp_bh; in write_one_transaction() local 1658 tmp_bh = cn->bh; in write_one_transaction() 1659 get_bh(tmp_bh); in write_one_transaction() 1660 lock_buffer(tmp_bh); in write_one_transaction() 1661 if (cn->bh && can_dirty(cn) && buffer_dirty(tmp_bh)) { in write_one_transaction() 1662 if (!buffer_journal_dirty(tmp_bh) || in write_one_transaction() 1663 buffer_journal_prepared(tmp_bh)) in write_one_transaction() 1665 add_to_chunk(chunk, tmp_bh, NULL, write_chunk); in write_one_transaction() 1669 unlock_buffer(tmp_bh); in write_one_transaction() 1671 put_bh(tmp_bh); in write_one_transaction() [all …]
|