Home
last modified time | relevance | path

Searched refs:bh2 (Results 1 – 10 of 10) 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 …]
/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/ext4/
H A Dnamei.c1912 struct buffer_head *bh2; in do_split() local
1925 bh2 = ext4_append(handle, dir, &newblock); in do_split()
1926 if (IS_ERR(bh2)) { in do_split()
1929 return ERR_CAST(bh2); in do_split()
1944 data2 = bh2->b_data; in do_split()
2004 ext4_initialize_dirent_tail(bh2, blocksize); in do_split()
2014 swap(*bh, bh2); in do_split()
2018 err = ext4_handle_dirty_dirblock(handle, dir, bh2); in do_split()
2024 brelse(bh2); in do_split()
2032 brelse(bh2); in do_split()
[all …]
H A Dialloc.c243 struct buffer_head *bh2; in ext4_free_inode() local
311 gdp = ext4_get_group_desc(sb, block_group, &bh2); in ext4_free_inode()
313 BUFFER_TRACE(bh2, "get_write_access"); in ext4_free_inode()
314 fatal = ext4_journal_get_write_access(handle, sb, bh2, in ext4_free_inode()
347 BUFFER_TRACE(bh2, "call ext4_handle_dirty_metadata"); in ext4_free_inode()
348 fatal = ext4_handle_dirty_metadata(handle, NULL, bh2); in ext4_free_inode()
/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()
/linux/fs/ntfs3/
H A Dfsntfs.c894 struct buffer_head *bh1, *bh2; in ntfs_update_mftmirr() local
900 bh2 = sb_getblk(sb, block2++); in ntfs_update_mftmirr()
901 if (!bh2) { in ntfs_update_mftmirr()
906 wait_on_buffer(bh2); in ntfs_update_mftmirr()
907 lock_buffer(bh2); in ntfs_update_mftmirr()
908 memcpy(bh2->b_data, bh1->b_data, blocksize); in ntfs_update_mftmirr()
909 set_buffer_uptodate(bh2); in ntfs_update_mftmirr()
910 mark_buffer_dirty(bh2); in ntfs_update_mftmirr()
911 unlock_buffer(bh2); in ntfs_update_mftmirr()
915 put_bh(bh2); in ntfs_update_mftmirr()
/linux/fs/ocfs2/
H A Drefcounttree.h118 struct buffer_head **bh2);
/linux/Documentation/scsi/
H A Dbnx2fc.rst49 [root@bh2 ~]# fcoeadm -i
/linux/drivers/usb/gadget/function/
H A Df_mass_storage.c1515 struct fsg_buffhd *bh, *bh2; in throw_away_data() local
1524 bh2 = common->next_buffhd_to_fill; in throw_away_data()
1525 if (bh2->state == BUF_STATE_EMPTY && in throw_away_data()
1534 set_bulk_out_req_length(common, bh2, amount); in throw_away_data()
1535 if (!start_out_transfer(common, bh2)) in throw_away_data()
1538 common->next_buffhd_to_fill = bh2->next; in throw_away_data()
/linux/include/linux/
H A Djbd2.h1835 #define BUFFER_TRACE2(bh, bh2, info) do {} while (0) argument