Home
last modified time | relevance | path

Searched refs:bh2 (Results 1 – 13 of 13) 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/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_write_io_error(bh2)) in __omfs_write_inode()
165 brelse(bh2); in __omfs_write_inode()
458 struct buffer_head *bh, *bh2; in omfs_fill_super() local
544 bh2 = omfs_bread(sb, be64_to_cpu(omfs_sb->s_root_block)); 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/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.c1761 struct buffer_head *bh2;
1774 bh2 = ext4_append(handle, dir, &newblock); in ext4_lookup()
1775 if (IS_ERR(bh2)) { in ext4_lookup()
1778 return ERR_CAST(bh2); in ext4_lookup()
1793 data2 = bh2->b_data; in ext4_lookup()
1853 ext4_initialize_dirent_tail(bh2, blocksize); in dx_move_dirents()
1863 swap(*bh, bh2); in dx_move_dirents()
1867 err = ext4_handle_dirty_dirblock(handle, dir, bh2); in dx_move_dirents()
1873 brelse(bh2);
1881 brelse(bh2); in dx_pack_dirents()
1912 struct buffer_head *bh2; do_split() local
2215 struct buffer_head *bh2; make_indexed_dir() local
2521 struct buffer_head *bh2; ext4_dx_add_entry() local
[all...]
H A Dialloc.c246 struct buffer_head *bh2; in ext4_free_inode()
316 gdp = ext4_get_group_desc(sb, block_group, &bh2); in ext4_free_inode()
318 BUFFER_TRACE(bh2, "get_write_access"); in ext4_free_inode()
319 fatal = ext4_journal_get_write_access(handle, sb, bh2, in ext4_free_inode()
352 BUFFER_TRACE(bh2, "call ext4_handle_dirty_metadata"); in ext4_free_inode()
353 fatal = ext4_handle_dirty_metadata(handle, NULL, bh2); in ext4_free_inode()
243 struct buffer_head *bh2; ext4_free_inode() local
/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()
[all...]
/linux/fs/ocfs2/
H A Drefcounttree.h118 struct buffer_head **bh2);
H A Dnamei.c89 struct buffer_head **bh2,
1121 struct buffer_head **bh2, in ocfs2_double_lock()
1135 if (*bh2) in ocfs2_double_lock()
1136 *bh2 = NULL; in ocfs2_double_lock()
1159 swap(bh2, bh1); in ocfs2_double_lock()
1163 status = ocfs2_inode_lock_nested(inode2, bh2, 1, in ocfs2_double_lock()
1182 brelse(*bh2); in ocfs2_double_lock()
1183 *bh2 = NULL; in ocfs2_double_lock()
1122 ocfs2_double_lock(struct ocfs2_super * osb,struct buffer_head ** bh1,struct inode * inode1,struct buffer_head ** bh2,struct inode * inode2,int rename) ocfs2_double_lock() argument
/linux/Documentation/scsi/
H A Dbnx2fc.rst49 [root@bh2 ~]# fcoeadm -i
/linux/drivers/usb/gadget/function/
H A Df_mass_storage.c1519 struct fsg_buffhd *bh, *bh2; in throw_away_data()
1528 bh2 = common->next_buffhd_to_fill; in throw_away_data()
1529 if (bh2->state == BUF_STATE_EMPTY && in throw_away_data()
1538 set_bulk_out_req_length(common, bh2, amount); in throw_away_data()
1539 if (!start_out_transfer(common, bh2)) in throw_away_data()
1542 common->next_buffhd_to_fill = bh2->next; in throw_away_data()
1514 struct fsg_buffhd *bh, *bh2; throw_away_data() local
/linux/include/linux/
H A Djbd2.h1836 #define BUFFER_TRACE2(bh, bh2, info) do {} while (0)
1835 BUFFER_TRACE2(bh,bh2,info) global() argument