Home
last modified time | relevance | path

Searched refs:bh2 (Results 1 – 15 of 15) sorted by relevance

/linux/fs/qnx6/
H A Dsuper_mmi.c38 struct buffer_head *bh1, *bh2 = NULL; in qnx6_mmi_fill_super() local
84 bh2 = sb_bread(s, offset); in qnx6_mmi_fill_super()
85 if (!bh2) { in qnx6_mmi_fill_super()
89 sb2 = (struct qnx6_mmi_super_block *)bh2->b_data; in qnx6_mmi_fill_super()
98 != crc32_be(0, (char *)(bh2->b_data + 8), 504)) { in qnx6_mmi_fill_super()
120 brelse(bh2); in qnx6_mmi_fill_super()
128 memcpy(bh2->b_data, qsb, sizeof(struct qnx6_super_block)); in qnx6_mmi_fill_super()
130 sbi->sb_buf = bh2; in qnx6_mmi_fill_super()
131 sbi->sb = (struct qnx6_super_block *)bh2->b_data; in qnx6_mmi_fill_super()
146 if (bh2 != NULL) in qnx6_mmi_fill_super()
[all …]
H A Dinode.c293 struct buffer_head *bh1 = NULL, *bh2 = NULL; in qnx6_fill_super() local
375 bh2 = sb_bread(s, offset); in qnx6_fill_super()
376 if (!bh2) { in qnx6_fill_super()
380 sb2 = (struct qnx6_super_block *)bh2->b_data; in qnx6_fill_super()
389 crc32_be(0, (char *)(bh2->b_data + 8), 504)) { in qnx6_fill_super()
399 brelse(bh2); in qnx6_fill_super()
403 sbi->sb_buf = bh2; in qnx6_fill_super()
404 sbi->sb = (struct qnx6_super_block *)bh2->b_data; in qnx6_fill_super()
467 brelse(bh2); in qnx6_fill_super()
/linux/fs/jbd2/
H A Drevoke.c355 struct buffer_head *bh2; in jbd2_journal_revoke() local
359 bh2 = __find_get_block_nonatomic(bdev, blocknr, in jbd2_journal_revoke()
361 if (bh2) { in jbd2_journal_revoke()
363 if (bh2 != bh && buffer_revokevalid(bh2)) in jbd2_journal_revoke()
370 J_ASSERT_BH(bh2, buffer_revoked(bh2)); in jbd2_journal_revoke()
371 put_bh(bh2); in jbd2_journal_revoke()
468 struct buffer_head *bh2; in jbd2_journal_cancel_revoke() local
469 bh2 = __find_get_block_nonatomic(bh->b_bdev, bh->b_blocknr, in jbd2_journal_cancel_revoke()
471 if (bh2) { in jbd2_journal_cancel_revoke()
472 if (bh2 != bh) in jbd2_journal_cancel_revoke()
[all …]
/linux/fs/omfs/
H A Dinode.c108 struct buffer_head *bh, *bh2; in __omfs_write_inode() local
154 bh2 = omfs_bread(inode->i_sb, inode->i_ino + i); in __omfs_write_inode()
155 if (!bh2) in __omfs_write_inode()
158 memcpy(bh2->b_data, bh->b_data, bh->b_size); in __omfs_write_inode()
159 mark_buffer_dirty(bh2); in __omfs_write_inode()
161 sync_dirty_buffer(bh2); in __omfs_write_inode()
162 if (buffer_req(bh2) && !buffer_uptodate(bh2)) in __omfs_write_inode()
165 brelse(bh2); in __omfs_write_inode()
458 struct buffer_head *bh, *bh2; in omfs_fill_super() local
536 bh2 = omfs_bread(sb, be64_to_cpu(omfs_sb->s_root_block)); in omfs_fill_super()
[all …]
/linux/fs/jfs/
H A Dresize.c73 struct buffer_head *bh, *bh2; in jfs_extendfs() local
508 bh2 = sb_bread(sb, SUPER2_OFF >> sb->s_blocksize_bits); in jfs_extendfs()
509 if (bh2) { in jfs_extendfs()
510 j_sb2 = (struct jfs_superblock *)bh2->b_data; in jfs_extendfs()
514 sync_dirty_buffer(bh2); in jfs_extendfs()
515 brelse(bh2); in jfs_extendfs()
/linux/fs/hpfs/
H A Danode.c68 struct buffer_head *bh, *bh1, *bh2; in hpfs_add_sector_to_btree() local
146 } else if (!(ranode = hpfs_alloc_anode(s, /*a*/0, &ra, &bh2))) { in hpfs_add_sector_to_btree()
185 brelse(bh2); in hpfs_add_sector_to_btree()
230 brelse(bh2); in hpfs_add_sector_to_btree()
236 brelse(bh2); in hpfs_add_sector_to_btree()
265 mark_buffer_dirty(bh2); in hpfs_add_sector_to_btree()
266 brelse(bh2); in hpfs_add_sector_to_btree()
H A Dea.c321 struct buffer_head *bh1, *bh2; in hpfs_set_ea() local
327 if (!(b2 = hpfs_get_sector(s, new_sec + i, &bh2))) { in hpfs_set_ea()
334 mark_buffer_dirty(bh2); in hpfs_set_ea()
335 brelse(bh2); in hpfs_set_ea()
H A Dsuper.c504 struct buffer_head *bh0, *bh1, *bh2; in hpfs_fill_super() local
530 if (!(spareblock = hpfs_map_sector(s, 17, &bh2, 0))) goto bail3; in hpfs_fill_super()
605 mark_buffer_dirty(bh2); in hpfs_fill_super()
643 brelse(bh2); in hpfs_fill_super()
687 bail4: brelse(bh2); in hpfs_fill_super()
/linux/fs/ext2/
H A Dialloc.c424 struct buffer_head *bh2; in ext2_new_inode() local
456 gdp = ext2_get_group_desc(sb, group, &bh2); in ext2_new_inode()
539 mark_buffer_dirty(bh2); in ext2_new_inode()
H A Dballoc.c486 struct buffer_head * bh2; in ext2_free_blocks() local
525 desc = ext2_get_group_desc (sb, block_group, &bh2); in ext2_free_blocks()
556 group_adjust_blocks(sb, block_group, desc, bh2, group_freed); in ext2_free_blocks()
/linux/fs/ocfs2/
H A Drefcounttree.h118 struct buffer_head **bh2);
H A Dnamei.c89 struct buffer_head **bh2,
1118 struct buffer_head **bh2, in ocfs2_double_lock() argument
1132 if (*bh2) in ocfs2_double_lock()
1133 *bh2 = NULL; in ocfs2_double_lock()
1156 swap(bh2, bh1); in ocfs2_double_lock()
1160 status = ocfs2_inode_lock_nested(inode2, bh2, 1, in ocfs2_double_lock()
1179 brelse(*bh2); in ocfs2_double_lock()
1180 *bh2 = NULL; in ocfs2_double_lock()
H A Drefcounttree.c4709 struct buffer_head *bh2 = NULL; in ocfs2_reflink_inodes_lock() local
4754 status = ocfs2_inode_lock_nested(inode2, &bh2, 1, in ocfs2_reflink_inodes_lock()
4762 bh2 = bh1; in ocfs2_reflink_inodes_lock()
4770 swap(bh1, bh2); in ocfs2_reflink_inodes_lock()
4772 *bh_t = bh2; in ocfs2_reflink_inodes_lock()
/linux/Documentation/scsi/
H A Dbnx2fc.rst49 [root@bh2 ~]# fcoeadm -i
/linux/drivers/usb/gadget/function/
H A Df_mass_storage.c1514 struct fsg_buffhd *bh, *bh2; in throw_away_data() local
1523 bh2 = common->next_buffhd_to_fill; in throw_away_data()
1524 if (bh2->state == BUF_STATE_EMPTY && in throw_away_data()
1533 set_bulk_out_req_length(common, bh2, amount); in throw_away_data()
1534 if (!start_out_transfer(common, bh2)) in throw_away_data()
1537 common->next_buffhd_to_fill = bh2->next; in throw_away_data()