Home
last modified time | relevance | path

Searched refs:bh1 (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
46 bh1 = sb_bread(s, 0); in qnx6_mmi_fill_super()
47 if (!bh1) { in qnx6_mmi_fill_super()
51 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()
116 memcpy(bh1->b_data, qsb, sizeof(struct qnx6_super_block)); in qnx6_mmi_fill_super()
[all …]
H A Dinode.c296 struct buffer_head *bh1 = NULL, *bh2 = NULL; in qnx6_fill_super() local
331 bh1 = qnx6_check_first_superblock(s, in qnx6_fill_super()
333 if (!bh1) { in qnx6_fill_super()
335 bh1 = qnx6_check_first_superblock(s, 0, silent); in qnx6_fill_super()
336 if (!bh1) { in qnx6_fill_super()
343 sb1 = (struct qnx6_super_block *)bh1->b_data; in qnx6_fill_super()
351 crc32_be(0, (char *)(bh1->b_data + 8), 504)) { in qnx6_fill_super()
362 brelse(bh1); in qnx6_fill_super()
363 bh1 = sb_bread(s, bootblock_offset >> s->s_blocksize_bits); in qnx6_fill_super()
364 if (!bh1) in qnx6_fill_super()
[all …]
/linux/fs/sysv/
H A Dsuper.c50 struct buffer_head *bh1 = sbi->s_bh1; in detected_xenix() local
55 if (bh1 != bh2) in detected_xenix()
56 sbd1 = sbd2 = (struct xenix_super_block *) bh1->b_data; in detected_xenix()
59 sbd1 = (struct xenix_super_block *) bh1->b_data; in detected_xenix()
82 struct buffer_head *bh1 = sbi->s_bh1; in detected_sysv4() local
85 if (bh1 == bh2) in detected_sysv4()
86 sbd = (struct sysv4_super_block *) (bh1->b_data + BLOCK_SIZE/2); in detected_sysv4()
110 struct buffer_head *bh1 = sbi->s_bh1; in detected_sysv2() local
113 if (bh1 == bh2) in detected_sysv2()
114 sbd = (struct sysv2_super_block *) (bh1->b_data + BLOCK_SIZE/2); in detected_sysv2()
[all …]
/linux/fs/hpfs/
H A Danode.c68 struct buffer_head *bh, *bh1, *bh2; in hpfs_add_sector_to_btree() local
126 if (!(anode = hpfs_alloc_anode(s, a, &na, &bh1))) { in hpfs_add_sector_to_btree()
147 brelse(bh1); in hpfs_add_sector_to_btree()
153 bh = bh1; in hpfs_add_sector_to_btree()
247 if ((unode = hpfs_map_anode(s, le32_to_cpu(ranode->u.internal[n].down), &bh1))) { in hpfs_add_sector_to_btree()
250 mark_buffer_dirty(bh1); in hpfs_add_sector_to_btree()
251 brelse(bh1); in hpfs_add_sector_to_btree()
H A Dea.c321 struct buffer_head *bh1, *bh2; in hpfs_set_ea() local
323 if (!(b1 = hpfs_map_sector(s, le32_to_cpu(fnode->ea_secno) + i, &bh1, len - i - 1))) { in hpfs_set_ea()
328 brelse(bh1); in hpfs_set_ea()
333 brelse(bh1); in hpfs_set_ea()
H A Dsuper.c539 struct buffer_head *bh0, *bh1, *bh2; in hpfs_fill_super() local
590 if (!(superblock = hpfs_map_sector(s, 16, &bh1, 1))) goto bail2; in hpfs_fill_super()
705 brelse(bh1); in hpfs_fill_super()
749 bail3: brelse(bh1); in hpfs_fill_super()
/linux/tools/testing/selftests/net/
H A Dtoeplitz.c225 if (!(block->hdr.bh1.block_status & TP_STATUS_USER)) in recv_block()
229 frame += block->hdr.bh1.offset_to_first_pkt; in recv_block()
231 for (i = 0; i < block->hdr.bh1.num_pkts; i++) { in recv_block()
236 block->hdr.bh1.block_status = TP_STATUS_KERNEL; in recv_block()
/linux/fs/ocfs2/
H A Drefcounttree.h116 struct buffer_head **bh1,
H A Dnamei.c86 struct buffer_head **bh1,
1111 struct buffer_head **bh1, in ocfs2_double_lock() argument
1125 if (*bh1) in ocfs2_double_lock()
1126 *bh1 = NULL; in ocfs2_double_lock()
1151 swap(bh2, bh1); in ocfs2_double_lock()
1165 status = ocfs2_inode_lock_nested(inode1, bh1, 1, in ocfs2_double_lock()
H A Drefcounttree.c4710 struct buffer_head *bh1 = NULL; in ocfs2_reflink_inodes_lock() local
4746 status = ocfs2_inode_lock_nested(inode1, &bh1, 1, in ocfs2_reflink_inodes_lock()
4764 bh2 = bh1; in ocfs2_reflink_inodes_lock()
4772 swap(bh1, bh2); in ocfs2_reflink_inodes_lock()
4773 *bh_s = bh1; in ocfs2_reflink_inodes_lock()
4784 brelse(bh1); in ocfs2_reflink_inodes_lock()
/linux/include/uapi/linux/
H A Dif_packet.h243 struct tpacket_hdr_v1 bh1; member
/linux/fs/ntfs3/
H A Dfsntfs.c866 struct buffer_head *bh1, *bh2; in ntfs_update_mftmirr() local
868 bh1 = sb_bread(sb, block1++); in ntfs_update_mftmirr()
869 if (!bh1) in ntfs_update_mftmirr()
874 put_bh(bh1); in ntfs_update_mftmirr()
882 memcpy(bh2->b_data, bh1->b_data, blocksize); in ntfs_update_mftmirr()
887 put_bh(bh1); in ntfs_update_mftmirr()
888 bh1 = NULL; in ntfs_update_mftmirr()
/linux/net/packet/
H A Daf_packet.c183 #define BLOCK_STATUS(x) ((x)->hdr.bh1.block_status)
184 #define BLOCK_NUM_PKTS(x) ((x)->hdr.bh1.num_pkts)
185 #define BLOCK_O2FP(x) ((x)->hdr.bh1.offset_to_first_pkt)
186 #define BLOCK_LEN(x) ((x)->hdr.bh1.blk_len)
187 #define BLOCK_SNUM(x) ((x)->hdr.bh1.seq_num)
859 struct tpacket_hdr_v1 *h1 = &pbd1->hdr.bh1; in prb_close_block()
910 struct tpacket_hdr_v1 *h1 = &pbd1->hdr.bh1; in prb_open_block()