Home
last modified time | relevance | path

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

/fs/qnx6/
Dsuper_mmi.c37 struct buffer_head *bh1, *bh2 = NULL; in qnx6_mmi_fill_super() local
45 bh1 = sb_bread(s, 0); in qnx6_mmi_fill_super()
46 if (!bh1) { in qnx6_mmi_fill_super()
50 sb1 = (struct qnx6_mmi_super_block *)bh1->b_data; in qnx6_mmi_fill_super()
62 crc32_be(0, (char *)(bh1->b_data + 8), 504)) { 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()
81 sb1 = (struct qnx6_mmi_super_block *)bh1->b_data; in qnx6_mmi_fill_super()
117 memcpy(bh1->b_data, qsb, sizeof(struct qnx6_super_block)); in qnx6_mmi_fill_super()
[all …]
Dinode.c314 struct buffer_head *bh1 = NULL, *bh2 = NULL; in qnx6_fill_super() local
351 bh1 = qnx6_check_first_superblock(s, in qnx6_fill_super()
353 if (!bh1) { in qnx6_fill_super()
355 bh1 = qnx6_check_first_superblock(s, 0, silent); in qnx6_fill_super()
356 if (!bh1) { in qnx6_fill_super()
363 sb1 = (struct qnx6_super_block *)bh1->b_data; in qnx6_fill_super()
371 crc32_be(0, (char *)(bh1->b_data + 8), 504)) { in qnx6_fill_super()
382 brelse(bh1); in qnx6_fill_super()
383 bh1 = sb_bread(s, bootblock_offset >> s->s_blocksize_bits); in qnx6_fill_super()
384 if (!bh1) in qnx6_fill_super()
[all …]
/fs/sysv/
Dsuper.c49 struct buffer_head *bh1 = sbi->s_bh1; in detected_xenix() local
54 if (bh1 != bh2) in detected_xenix()
55 sbd1 = sbd2 = (struct xenix_super_block *) bh1->b_data; in detected_xenix()
58 sbd1 = (struct xenix_super_block *) bh1->b_data; in detected_xenix()
81 struct buffer_head *bh1 = sbi->s_bh1; in detected_sysv4() local
84 if (bh1 == bh2) in detected_sysv4()
85 sbd = (struct sysv4_super_block *) (bh1->b_data + BLOCK_SIZE/2); in detected_sysv4()
109 struct buffer_head *bh1 = sbi->s_bh1; in detected_sysv2() local
112 if (bh1 == bh2) in detected_sysv2()
113 sbd = (struct sysv2_super_block *) (bh1->b_data + BLOCK_SIZE/2); in detected_sysv2()
[all …]
/fs/hpfs/
Danode.c67 struct buffer_head *bh, *bh1, *bh2; in hpfs_add_sector_to_btree() local
125 if (!(anode = hpfs_alloc_anode(s, a, &na, &bh1))) { in hpfs_add_sector_to_btree()
146 brelse(bh1); in hpfs_add_sector_to_btree()
152 bh = bh1; in hpfs_add_sector_to_btree()
241 if ((unode = hpfs_map_anode(s, le32_to_cpu(ranode->u.internal[n].down), &bh1))) { in hpfs_add_sector_to_btree()
244 mark_buffer_dirty(bh1); in hpfs_add_sector_to_btree()
245 brelse(bh1); in hpfs_add_sector_to_btree()
Dea.c320 struct buffer_head *bh1, *bh2; in hpfs_set_ea() local
322 if (!(b1 = hpfs_map_sector(s, le32_to_cpu(fnode->ea_secno) + i, &bh1, len - i - 1))) { in hpfs_set_ea()
327 brelse(bh1); in hpfs_set_ea()
332 brelse(bh1); in hpfs_set_ea()
Dsuper.c451 struct buffer_head *bh0, *bh1, *bh2; in hpfs_fill_super() local
507 if (!(superblock = hpfs_map_sector(s, 16, &bh1, 1))) goto bail2; in hpfs_fill_super()
625 brelse(bh1); in hpfs_fill_super()
666 bail3: brelse(bh1); in hpfs_fill_super()
/fs/gfs2/
Dlops.c650 struct buffer_head *bh1; in gfs2_write_blocks() local
679 bh1 = gfs2_log_get_buf(sdp); in gfs2_write_blocks()
681 memcpy(bh1->b_data, kaddr + bh_offset(bd->bd_bh), in gfs2_write_blocks()
682 bh1->b_size); in gfs2_write_blocks()
684 *(__be32 *)bh1->b_data = 0; in gfs2_write_blocks()
689 bh1 = gfs2_log_fake_buf(sdp, bd->bd_bh); in gfs2_write_blocks()
691 submit_bh(WRITE_SYNC, bh1); in gfs2_write_blocks()
/fs/ocfs2/
Dnamei.c961 struct buffer_head **bh1, in ocfs2_double_lock() argument
975 if (*bh1) in ocfs2_double_lock()
976 *bh1 = NULL; in ocfs2_double_lock()
985 bh2 = bh1; in ocfs2_double_lock()
986 bh1 = tmpbh; in ocfs2_double_lock()
1003 status = ocfs2_inode_lock_nested(inode1, bh1, 1, OI_LS_RENAME2); in ocfs2_double_lock()