Home
last modified time | relevance | path

Searched refs:bh1 (Results 1 – 9 of 9) sorted by relevance

/fs/qnx6/
A Dsuper_mmi.c38 struct buffer_head *bh1, *bh2 = NULL; in qnx6_mmi_fill_super() local
46 bh1 = sb_bread(s, 0); in qnx6_mmi_fill_super()
47 if (!bh1) { in qnx6_mmi_fill_super()
51 sb1 = (struct qnx6_mmi_super_block *)bh1->b_data; in qnx6_mmi_fill_super()
77 brelse(bh1); in qnx6_mmi_fill_super()
78 bh1 = sb_bread(s, 0); in qnx6_mmi_fill_super()
79 if (!bh1) in qnx6_mmi_fill_super()
118 sbi->sb_buf = bh1; in qnx6_mmi_fill_super()
132 brelse(bh1); in qnx6_mmi_fill_super()
144 if (bh1 != NULL) in qnx6_mmi_fill_super()
[all …]
A Dinode.c293 struct buffer_head *bh1 = NULL, *bh2 = NULL; in qnx6_fill_super() local
328 bh1 = qnx6_check_first_superblock(s, in qnx6_fill_super()
330 if (!bh1) { in qnx6_fill_super()
333 if (!bh1) { in qnx6_fill_super()
340 sb1 = (struct qnx6_super_block *)bh1->b_data; in qnx6_fill_super()
359 brelse(bh1); in qnx6_fill_super()
361 if (!bh1) in qnx6_fill_super()
363 sb1 = (struct qnx6_super_block *)bh1->b_data; in qnx6_fill_super()
397 sbi->sb_buf = bh1; in qnx6_fill_super()
405 brelse(bh1); in qnx6_fill_super()
[all …]
/fs/hpfs/
A Danode.c68 struct buffer_head *bh, *bh1, *bh2; in hpfs_add_sector_to_btree() local
126 if (!(anode = hpfs_alloc_anode(s, a, &na, &bh1))) { in hpfs_add_sector_to_btree()
147 brelse(bh1); in hpfs_add_sector_to_btree()
153 bh = bh1; in hpfs_add_sector_to_btree()
247 if ((unode = hpfs_map_anode(s, le32_to_cpu(ranode->u.internal[n].down), &bh1))) { in hpfs_add_sector_to_btree()
250 mark_buffer_dirty(bh1); in hpfs_add_sector_to_btree()
251 brelse(bh1); in hpfs_add_sector_to_btree()
A Dea.c321 struct buffer_head *bh1, *bh2; in hpfs_set_ea() local
323 if (!(b1 = hpfs_map_sector(s, le32_to_cpu(fnode->ea_secno) + i, &bh1, len - i - 1))) { in hpfs_set_ea()
328 brelse(bh1); in hpfs_set_ea()
333 brelse(bh1); in hpfs_set_ea()
A Dsuper.c507 struct buffer_head *bh0, *bh1, *bh2; in hpfs_fill_super() local
532 if (!(superblock = hpfs_map_sector(s, 16, &bh1, 1))) goto bail2; in hpfs_fill_super()
647 brelse(bh1); in hpfs_fill_super()
691 bail3: brelse(bh1); in hpfs_fill_super()
/fs/ocfs2/
A Drefcounttree.h116 struct buffer_head **bh1,
A Dnamei.c86 struct buffer_head **bh1,
1115 struct buffer_head **bh1, in ocfs2_double_lock() argument
1129 if (*bh1) in ocfs2_double_lock()
1130 *bh1 = NULL; in ocfs2_double_lock()
1155 swap(bh2, bh1); in ocfs2_double_lock()
1169 status = ocfs2_inode_lock_nested(inode1, bh1, 1, in ocfs2_double_lock()
A Drefcounttree.c4707 struct buffer_head *bh1 = NULL; in ocfs2_reflink_inodes_lock() local
4743 status = ocfs2_inode_lock_nested(inode1, &bh1, 1, in ocfs2_reflink_inodes_lock()
4761 bh2 = bh1; in ocfs2_reflink_inodes_lock()
4769 swap(bh1, bh2); in ocfs2_reflink_inodes_lock()
4770 *bh_s = bh1; in ocfs2_reflink_inodes_lock()
4781 brelse(bh1); in ocfs2_reflink_inodes_lock()
/fs/ntfs3/
A Dfsntfs.c866 struct buffer_head *bh1, *bh2; in ntfs_update_mftmirr() local
868 bh1 = sb_bread(sb, block1++); in ntfs_update_mftmirr()
869 if (!bh1) in ntfs_update_mftmirr()
874 put_bh(bh1); in ntfs_update_mftmirr()
882 memcpy(bh2->b_data, bh1->b_data, blocksize); in ntfs_update_mftmirr()
887 put_bh(bh1); in ntfs_update_mftmirr()
888 bh1 = NULL; in ntfs_update_mftmirr()

Completed in 756 milliseconds