Home
last modified time | relevance | path

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

/linux-6.15/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-6.15/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
471 if (bh2) { in jbd2_journal_cancel_revoke()
472 if (bh2 != bh) in jbd2_journal_cancel_revoke()
473 clear_buffer_revoked(bh2); in jbd2_journal_cancel_revoke()
[all …]
/linux-6.15/fs/omfs/
H A Dinode.c106 struct buffer_head *bh, *bh2; in __omfs_write_inode() local
152 bh2 = omfs_bread(inode->i_sb, inode->i_ino + i); in __omfs_write_inode()
153 if (!bh2) in __omfs_write_inode()
156 memcpy(bh2->b_data, bh->b_data, bh->b_size); in __omfs_write_inode()
157 mark_buffer_dirty(bh2); in __omfs_write_inode()
159 sync_dirty_buffer(bh2); in __omfs_write_inode()
160 if (buffer_req(bh2) && !buffer_uptodate(bh2)) in __omfs_write_inode()
163 brelse(bh2); in __omfs_write_inode()
454 struct buffer_head *bh, *bh2; in omfs_fill_super() local
536 if (!bh2) in omfs_fill_super()
[all …]
H A Ddir.c163 struct buffer_head *bh, *bh2; in omfs_delete_entry() local
177 bh2 = omfs_scan_list(dir, block, name, namelen, &prev); in omfs_delete_entry()
178 if (IS_ERR(bh2)) { in omfs_delete_entry()
179 err = PTR_ERR(bh2); in omfs_delete_entry()
183 oi = (struct omfs_inode *) bh2->b_data; in omfs_delete_entry()
185 brelse(bh2); in omfs_delete_entry()
/linux-6.15/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-6.15/fs/ext4/
H A Dnamei.c2026 brelse(bh2); in do_split()
2034 brelse(bh2); in do_split()
2272 brelse(bh2); in make_indexed_dir()
2312 brelse(bh2); in make_indexed_dir()
2346 brelse(bh2); in make_indexed_dir()
2556 brelse(bh2); in ext4_dx_add_entry()
2570 brelse(bh2); in ext4_dx_add_entry()
2592 brelse(bh2); in ext4_dx_add_entry()
2595 brelse (bh2); in ext4_dx_add_entry()
2620 brelse(bh2); in ext4_dx_add_entry()
[all …]
H A Dialloc.c241 struct buffer_head *bh2; in ext4_free_inode() local
309 gdp = ext4_get_group_desc(sb, block_group, &bh2); in ext4_free_inode()
311 BUFFER_TRACE(bh2, "get_write_access"); in ext4_free_inode()
312 fatal = ext4_journal_get_write_access(handle, sb, bh2, in ext4_free_inode()
345 BUFFER_TRACE(bh2, "call ext4_handle_dirty_metadata"); in ext4_free_inode()
346 fatal = ext4_handle_dirty_metadata(handle, NULL, bh2); in ext4_free_inode()
/linux-6.15/fs/hpfs/
H A Danode.c68 struct buffer_head *bh, *bh1, *bh2; in hpfs_add_sector_to_btree() local
145 } else if (!(ranode = hpfs_alloc_anode(s, /*a*/0, &ra, &bh2))) { in hpfs_add_sector_to_btree()
184 brelse(bh2); in hpfs_add_sector_to_btree()
229 brelse(bh2); in hpfs_add_sector_to_btree()
235 brelse(bh2); in hpfs_add_sector_to_btree()
264 mark_buffer_dirty(bh2); in hpfs_add_sector_to_btree()
265 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.c507 struct buffer_head *bh0, *bh1, *bh2; in hpfs_fill_super() local
533 if (!(spareblock = hpfs_map_sector(s, 17, &bh2, 0))) goto bail3; in hpfs_fill_super()
608 mark_buffer_dirty(bh2); in hpfs_fill_super()
646 brelse(bh2); in hpfs_fill_super()
690 bail4: brelse(bh2); in hpfs_fill_super()
/linux-6.15/fs/ntfs3/
H A Dfsntfs.c866 struct buffer_head *bh1, *bh2; in ntfs_update_mftmirr() local
872 bh2 = sb_getblk(sb, block2++); in ntfs_update_mftmirr()
873 if (!bh2) { in ntfs_update_mftmirr()
878 if (buffer_locked(bh2)) in ntfs_update_mftmirr()
879 __wait_on_buffer(bh2); in ntfs_update_mftmirr()
881 lock_buffer(bh2); in ntfs_update_mftmirr()
883 set_buffer_uptodate(bh2); in ntfs_update_mftmirr()
884 mark_buffer_dirty(bh2); in ntfs_update_mftmirr()
885 unlock_buffer(bh2); in ntfs_update_mftmirr()
890 err = wait ? sync_dirty_buffer(bh2) : 0; in ntfs_update_mftmirr()
[all …]
/linux-6.15/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-6.15/fs/ocfs2/
H A Drefcounttree.h118 struct buffer_head **bh2);
H A Dnamei.c88 struct buffer_head **bh2,
1114 struct buffer_head **bh2, in ocfs2_double_lock() argument
1128 if (*bh2) in ocfs2_double_lock()
1129 *bh2 = NULL; in ocfs2_double_lock()
1152 swap(bh2, bh1); in ocfs2_double_lock()
1156 status = ocfs2_inode_lock_nested(inode2, bh2, 1, in ocfs2_double_lock()
1175 brelse(*bh2); in ocfs2_double_lock()
1176 *bh2 = NULL; in ocfs2_double_lock()
H A Drefcounttree.c4708 struct buffer_head *bh2 = NULL; in ocfs2_reflink_inodes_lock() local
4753 status = ocfs2_inode_lock_nested(inode2, &bh2, 1, in ocfs2_reflink_inodes_lock()
4761 bh2 = bh1; in ocfs2_reflink_inodes_lock()
4769 swap(bh1, bh2); in ocfs2_reflink_inodes_lock()
4771 *bh_t = bh2; in ocfs2_reflink_inodes_lock()
/linux-6.15/Documentation/scsi/
H A Dbnx2fc.rst49 [root@bh2 ~]# fcoeadm -i
/linux-6.15/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()
/linux-6.15/include/linux/
H A Djbd2.h1808 #define BUFFER_TRACE2(bh, bh2, info) do {} while (0) argument