bh2                72 drivers/staging/exfat/exfat_blkdev.c 	struct buffer_head *bh2;
bh2                96 drivers/staging/exfat/exfat_blkdev.c 		bh2 = __getblk(sb->s_bdev, secno, count);
bh2                97 drivers/staging/exfat/exfat_blkdev.c 		if (!bh2)
bh2               100 drivers/staging/exfat/exfat_blkdev.c 		lock_buffer(bh2);
bh2               101 drivers/staging/exfat/exfat_blkdev.c 		memcpy(bh2->b_data, bh->b_data, count);
bh2               102 drivers/staging/exfat/exfat_blkdev.c 		set_buffer_uptodate(bh2);
bh2               103 drivers/staging/exfat/exfat_blkdev.c 		mark_buffer_dirty(bh2);
bh2               104 drivers/staging/exfat/exfat_blkdev.c 		unlock_buffer(bh2);
bh2               105 drivers/staging/exfat/exfat_blkdev.c 		if (sync && (sync_dirty_buffer(bh2) != 0)) {
bh2               106 drivers/staging/exfat/exfat_blkdev.c 			__brelse(bh2);
bh2               109 drivers/staging/exfat/exfat_blkdev.c 		__brelse(bh2);
bh2              1448 drivers/usb/gadget/function/f_mass_storage.c 	struct fsg_buffhd	*bh, *bh2;
bh2              1457 drivers/usb/gadget/function/f_mass_storage.c 		bh2 = common->next_buffhd_to_fill;
bh2              1458 drivers/usb/gadget/function/f_mass_storage.c 		if (bh2->state == BUF_STATE_EMPTY &&
bh2              1467 drivers/usb/gadget/function/f_mass_storage.c 			set_bulk_out_req_length(common, bh2, amount);
bh2              1468 drivers/usb/gadget/function/f_mass_storage.c 			if (!start_out_transfer(common, bh2))
bh2              1471 drivers/usb/gadget/function/f_mass_storage.c 			common->next_buffhd_to_fill = bh2->next;
bh2               482 fs/ext2/balloc.c 	struct buffer_head * bh2;
bh2               521 fs/ext2/balloc.c 	desc = ext2_get_group_desc (sb, block_group, &bh2);
bh2               552 fs/ext2/balloc.c 	group_adjust_blocks(sb, block_group, desc, bh2, group_freed);
bh2               432 fs/ext2/ialloc.c 	struct buffer_head *bh2;
bh2               464 fs/ext2/ialloc.c 		gdp = ext2_get_group_desc(sb, group, &bh2);
bh2               547 fs/ext2/ialloc.c 	mark_buffer_dirty(bh2);
bh2               237 fs/ext4/ialloc.c 	struct buffer_head *bh2;
bh2               302 fs/ext4/ialloc.c 	gdp = ext4_get_group_desc(sb, block_group, &bh2);
bh2               304 fs/ext4/ialloc.c 		BUFFER_TRACE(bh2, "get_write_access");
bh2               305 fs/ext4/ialloc.c 		fatal = ext4_journal_get_write_access(handle, bh2);
bh2               336 fs/ext4/ialloc.c 	BUFFER_TRACE(bh2, "call ext4_handle_dirty_metadata");
bh2               337 fs/ext4/ialloc.c 	fatal = ext4_handle_dirty_metadata(handle, NULL, bh2);
bh2              1817 fs/ext4/namei.c 	struct buffer_head *bh2;
bh2              1830 fs/ext4/namei.c 	bh2 = ext4_append(handle, dir, &newblock);
bh2              1831 fs/ext4/namei.c 	if (IS_ERR(bh2)) {
bh2              1834 fs/ext4/namei.c 		return (struct ext4_dir_entry_2 *) bh2;
bh2              1847 fs/ext4/namei.c 	data2 = bh2->b_data;
bh2              1885 fs/ext4/namei.c 		ext4_initialize_dirent_tail(bh2, blocksize);
bh2              1895 fs/ext4/namei.c 		swap(*bh, bh2);
bh2              1899 fs/ext4/namei.c 	err = ext4_handle_dirty_dirblock(handle, dir, bh2);
bh2              1905 fs/ext4/namei.c 	brelse(bh2);
bh2              1911 fs/ext4/namei.c 	brelse(bh2);
bh2              2041 fs/ext4/namei.c 	struct buffer_head *bh2;
bh2              2080 fs/ext4/namei.c 	bh2 = ext4_append(handle, dir, &block);
bh2              2081 fs/ext4/namei.c 	if (IS_ERR(bh2)) {
bh2              2083 fs/ext4/namei.c 		return PTR_ERR(bh2);
bh2              2086 fs/ext4/namei.c 	data2 = bh2->b_data;
bh2              2097 fs/ext4/namei.c 		ext4_initialize_dirent_tail(bh2, blocksize);
bh2              2127 fs/ext4/namei.c 	retval = ext4_handle_dirty_dirblock(handle, dir, bh2);
bh2              2131 fs/ext4/namei.c 	de = do_split(handle,dir, &bh2, frame, &fname->hinfo);
bh2              2137 fs/ext4/namei.c 	retval = add_dirent_to_buf(handle, fname, dir, inode, de, bh2);
bh2              2147 fs/ext4/namei.c 	brelse(bh2);
bh2              2319 fs/ext4/namei.c 		struct buffer_head *bh2;
bh2              2345 fs/ext4/namei.c 		bh2 = ext4_append(handle, dir, &newblock);
bh2              2346 fs/ext4/namei.c 		if (IS_ERR(bh2)) {
bh2              2347 fs/ext4/namei.c 			err = PTR_ERR(bh2);
bh2              2350 fs/ext4/namei.c 		node2 = (struct dx_node *)(bh2->b_data);
bh2              2381 fs/ext4/namei.c 				swap(frame->bh, bh2);
bh2              2386 fs/ext4/namei.c 			       ((struct dx_node *) bh2->b_data)->entries));
bh2              2387 fs/ext4/namei.c 			err = ext4_handle_dirty_dx_node(handle, dir, bh2);
bh2              2390 fs/ext4/namei.c 			brelse (bh2);
bh2              2417 fs/ext4/namei.c 			err = ext4_handle_dirty_dx_node(handle, dir, bh2);
bh2              2418 fs/ext4/namei.c 			brelse(bh2);
bh2                68 fs/hpfs/anode.c 	struct buffer_head *bh, *bh1, *bh2;
bh2               145 fs/hpfs/anode.c 		} else if (!(ranode = hpfs_alloc_anode(s, /*a*/0, &ra, &bh2))) {
bh2               184 fs/hpfs/anode.c 			brelse(bh2);
bh2               229 fs/hpfs/anode.c 			brelse(bh2);
bh2               235 fs/hpfs/anode.c 			brelse(bh2);
bh2               264 fs/hpfs/anode.c 	mark_buffer_dirty(bh2);
bh2               265 fs/hpfs/anode.c 	brelse(bh2);
bh2               321 fs/hpfs/ea.c   					struct buffer_head *bh1, *bh2;
bh2               327 fs/hpfs/ea.c   					if (!(b2 = hpfs_get_sector(s, new_sec + i, &bh2))) {
bh2               334 fs/hpfs/ea.c   					mark_buffer_dirty(bh2);
bh2               335 fs/hpfs/ea.c   					brelse(bh2);
bh2               540 fs/hpfs/super.c 	struct buffer_head *bh0, *bh1, *bh2;
bh2               592 fs/hpfs/super.c 	if (!(spareblock = hpfs_map_sector(s, 17, &bh2, 0))) goto bail3;
bh2               667 fs/hpfs/super.c 		mark_buffer_dirty(bh2);
bh2               705 fs/hpfs/super.c 	brelse(bh2);
bh2               746 fs/hpfs/super.c bail4:	brelse(bh2);
bh2               354 fs/jbd2/revoke.c 		struct buffer_head *bh2;
bh2               358 fs/jbd2/revoke.c 		bh2 = __find_get_block(bdev, blocknr, journal->j_blocksize);
bh2               359 fs/jbd2/revoke.c 		if (bh2) {
bh2               361 fs/jbd2/revoke.c 			if (bh2 != bh && buffer_revokevalid(bh2))
bh2               368 fs/jbd2/revoke.c 				J_ASSERT_BH(bh2, buffer_revoked(bh2));
bh2               369 fs/jbd2/revoke.c 			put_bh(bh2);
bh2               462 fs/jbd2/revoke.c 		struct buffer_head *bh2;
bh2               463 fs/jbd2/revoke.c 		bh2 = __find_get_block(bh->b_bdev, bh->b_blocknr, bh->b_size);
bh2               464 fs/jbd2/revoke.c 		if (bh2) {
bh2               465 fs/jbd2/revoke.c 			if (bh2 != bh)
bh2               466 fs/jbd2/revoke.c 				clear_buffer_revoked(bh2);
bh2               467 fs/jbd2/revoke.c 			__brelse(bh2);
bh2                72 fs/jfs/resize.c 	struct buffer_head *bh, *bh2;
bh2               508 fs/jfs/resize.c 	bh2 = sb_bread(sb, SUPER2_OFF >> sb->s_blocksize_bits);
bh2               509 fs/jfs/resize.c 	if (bh2) {
bh2               510 fs/jfs/resize.c 		j_sb2 = (struct jfs_superblock *)bh2->b_data;
bh2               514 fs/jfs/resize.c 		sync_dirty_buffer(bh2);
bh2               515 fs/jfs/resize.c 		brelse(bh2);
bh2                89 fs/ocfs2/namei.c 			     struct buffer_head **bh2,
bh2              1105 fs/ocfs2/namei.c 			     struct buffer_head **bh2,
bh2              1119 fs/ocfs2/namei.c 	if (*bh2)
bh2              1120 fs/ocfs2/namei.c 		*bh2 = NULL;
bh2              1143 fs/ocfs2/namei.c 			swap(bh2, bh1);
bh2              1147 fs/ocfs2/namei.c 		status = ocfs2_inode_lock_nested(inode2, bh2, 1,
bh2              1166 fs/ocfs2/namei.c 			brelse(*bh2);
bh2              1167 fs/ocfs2/namei.c 			*bh2 = NULL;
bh2              4723 fs/ocfs2/refcounttree.c 	struct buffer_head *bh2 = NULL;
bh2              4768 fs/ocfs2/refcounttree.c 		status = ocfs2_inode_lock_nested(inode2, &bh2, 1,
bh2              4776 fs/ocfs2/refcounttree.c 		bh2 = bh1;
bh2              4784 fs/ocfs2/refcounttree.c 		swap(bh1, bh2);
bh2              4786 fs/ocfs2/refcounttree.c 	*bh_t = bh2;
bh2               120 fs/ocfs2/refcounttree.h 			      struct buffer_head **bh2);
bh2               163 fs/omfs/dir.c  	struct buffer_head *bh, *bh2;
bh2               177 fs/omfs/dir.c  	bh2 = omfs_scan_list(dir, block, name, namelen, &prev);
bh2               178 fs/omfs/dir.c  	if (IS_ERR(bh2)) {
bh2               179 fs/omfs/dir.c  		err = PTR_ERR(bh2);
bh2               183 fs/omfs/dir.c  	oi = (struct omfs_inode *) bh2->b_data;
bh2               185 fs/omfs/dir.c  	brelse(bh2);
bh2               106 fs/omfs/inode.c 	struct buffer_head *bh, *bh2;
bh2               152 fs/omfs/inode.c 		bh2 = omfs_bread(inode->i_sb, inode->i_ino + i);
bh2               153 fs/omfs/inode.c 		if (!bh2)
bh2               156 fs/omfs/inode.c 		memcpy(bh2->b_data, bh->b_data, bh->b_size);
bh2               157 fs/omfs/inode.c 		mark_buffer_dirty(bh2);
bh2               159 fs/omfs/inode.c 			sync_dirty_buffer(bh2);
bh2               160 fs/omfs/inode.c 			if (buffer_req(bh2) && !buffer_uptodate(bh2))
bh2               163 fs/omfs/inode.c 		brelse(bh2);
bh2               459 fs/omfs/inode.c 	struct buffer_head *bh, *bh2;
bh2               540 fs/omfs/inode.c 	bh2 = omfs_bread(sb, be64_to_cpu(omfs_sb->s_root_block));
bh2               541 fs/omfs/inode.c 	if (!bh2)
bh2               544 fs/omfs/inode.c 	omfs_rb = (struct omfs_root_block *)bh2->b_data;
bh2               593 fs/omfs/inode.c 	brelse(bh2);
bh2               300 fs/qnx6/inode.c 	struct buffer_head *bh1 = NULL, *bh2 = NULL;
bh2               384 fs/qnx6/inode.c 	bh2 = sb_bread(s, offset);
bh2               385 fs/qnx6/inode.c 	if (!bh2) {
bh2               389 fs/qnx6/inode.c 	sb2 = (struct qnx6_super_block *)bh2->b_data;
bh2               398 fs/qnx6/inode.c 				crc32_be(0, (char *)(bh2->b_data + 8), 504)) {
bh2               408 fs/qnx6/inode.c 		brelse(bh2);
bh2               412 fs/qnx6/inode.c 		sbi->sb_buf = bh2;
bh2               413 fs/qnx6/inode.c 		sbi->sb = (struct qnx6_super_block *)bh2->b_data;
bh2               477 fs/qnx6/inode.c 	if (bh2)
bh2               478 fs/qnx6/inode.c 		brelse(bh2);
bh2                38 fs/qnx6/super_mmi.c 	struct buffer_head *bh1, *bh2 = NULL;
bh2                84 fs/qnx6/super_mmi.c 	bh2 = sb_bread(s, offset);
bh2                85 fs/qnx6/super_mmi.c 	if (!bh2) {
bh2                89 fs/qnx6/super_mmi.c 	sb2 = (struct qnx6_mmi_super_block *)bh2->b_data;
bh2                98 fs/qnx6/super_mmi.c 			!= crc32_be(0, (char *)(bh2->b_data + 8), 504)) {
bh2               120 fs/qnx6/super_mmi.c 		brelse(bh2);
bh2               128 fs/qnx6/super_mmi.c 		memcpy(bh2->b_data, qsb, sizeof(struct qnx6_super_block));
bh2               130 fs/qnx6/super_mmi.c 		sbi->sb_buf = bh2;
bh2               131 fs/qnx6/super_mmi.c 		sbi->sb = (struct qnx6_super_block *)bh2->b_data;
bh2               146 fs/qnx6/super_mmi.c 	if (bh2 != NULL)
bh2               147 fs/qnx6/super_mmi.c 		brelse(bh2);
bh2                51 fs/sysv/super.c 	struct buffer_head *bh2 = sbi->s_bh2;
bh2                55 fs/sysv/super.c 	if (bh1 != bh2)
bh2                60 fs/sysv/super.c 		sbd2 = (struct xenix_super_block *) (bh2->b_data - 512);
bh2                83 fs/sysv/super.c 	struct buffer_head *bh2 = sbi->s_bh2;
bh2                85 fs/sysv/super.c 	if (bh1 == bh2)
bh2                88 fs/sysv/super.c 		sbd = (struct sysv4_super_block *) bh2->b_data;
bh2               111 fs/sysv/super.c 	struct buffer_head *bh2 = sbi->s_bh2;
bh2               113 fs/sysv/super.c 	if (bh1 == bh2)
bh2               116 fs/sysv/super.c 		sbd = (struct sysv2_super_block *) bh2->b_data;
bh2               160 fs/sysv/super.c 	struct buffer_head *bh2 = sbi->s_bh2;
bh2               161 fs/sysv/super.c 	struct v7_super_block *sbd = (struct v7_super_block *)bh2->b_data;
bh2               440 fs/sysv/super.c 	struct buffer_head *bh2;
bh2               454 fs/sysv/super.c 	bh2 = sb_bread(sb, 2);
bh2               455 fs/sysv/super.c 	if (bh2 == NULL)
bh2               458 fs/sysv/super.c 	v7i = (struct sysv_inode *)(bh2->b_data + 64);
bh2               464 fs/sysv/super.c 		brelse(bh2);
bh2               468 fs/sysv/super.c 	brelse(bh2);
bh2              1654 include/linux/jbd2.h #define BUFFER_TRACE2(bh, bh2, info)	do {} while (0)